|
Hi,
If the web application and ejb are bundled together in an ear file as you mentioned earlier in your post, you may want to use ejb-local-ref tag instead. From Aaron’s book:
The ejb-local-ref element is used to connect to an EJB through its local home and local interfaces. The EJB is usually defined in the same EAR as the web application, though it may also be in an EJB JAR or application EAR which is defined as a parent of the current application.
If so, the web.xml in magicgball sample can be served as an example:
<ejb-local-ref> <ejb-ref-name>mGball</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <local-home>org.acme.MagicGBallLocalHome</local-home> <local>org.acme.MagicGBallLocal</local> <ejb-link>magicGball-ejb-1.0.jar#MagicGBall</ejb-link> </ejb-local-ref>
Thanks,
Lin -----Original Message-----
Hi
Kristian, On 3/8/06, Kristian Rink <[EMAIL PROTECTED]> wrote: Hi Vamsavardhana,
|
- Re: ejb NameNotFound exception? Kristian Rink
- Re: ejb NameNotFound exception? Vamsavardhana Reddy
- Re: ejb NameNotFound exception? Kristian Rink
- Re: ejb NameNotFound exception? Vamsavardhana Reddy
- Re: ejb NameNotFound exception? Kristian Rink
- Re: ejb NameNotFound exception? Vamsavardhana Reddy
- RE: ejb NameNotFound excepti... Lin Sun
- Re: ejb NameNotFound excepti... Aaron Mulder
