• Post Reply Bookmark Topic Watch Topic
  • New Topic

Where EJB components are registered in EJB Project?  RSS feed

 
Mishaal Khan
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have gone through reading Enterprise Application Quickstart in MyEclipse help contents.

A JSP (trasaction.jsp) calls a servlet (TraderServlet),and its init method reads init-param from web.xml to accesss EJB home i.e

<init-param>
<param-name>trader.jndi.context</param-name>
<param-value>ejb/com/genuitec/trader/ejb/TraderHome</param-value>
</init-param>

but I didn't find EJB Home registered with this name in EJB project.

In ejb-jar.xml, EJBHome is defined as

com.genuitec.traderx.interfaces.TraderHome


So where else is this name 'ejb/com/genuitec/trader/ejb/TraderHome' (referred in web.xml) registered in EJB Project?


Would anyone please make this flow clear?

Thanks.
[ December 19, 2008: Message edited by: Mishaal Khan ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!