[jboss-user] [JNDI and Naming] - Re: DayTrader3

Steven ONeill do-not-reply at jboss.com
Fri Aug 31 01:18:43 EDT 2012


Steven ONeill [https://community.jboss.org/people/soneill] created the discussion

"Re: DayTrader3"

To view the discussion, visit: https://community.jboss.org/message/757136#757136

--------------------------------------------------------------
in my QuoteDataBean.java, changing

@EJB

to

@EJB(mappedName="java:global/daytrader/QuoteDataBean)



There's probably a more nuetral way of doing it, but that worked for now.   I still don't understand why the mappedName attribute is required - I was hoping the code would just work out of the box.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/757136#757136]

Start a new discussion in JNDI and Naming at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120831/c58f91d7/attachment.html 


More information about the jboss-user mailing list