• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Where EJB components are registered in EJB Project?

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
reply
    Bookmark Topic Watch Topic
  • New Topic