sorry - wasn't sure if it depends also on seam - because I thought the "simple"
@EJB would work ...
by the way - I have been able to access the SessionBeen using standard lookup
facilities --> which means my services are working correctly - only I don't
know what's wrong with @EJB
here is the code:
| Context context;
| try {
| context = new InitialContext();
| CurrencyService service = (CurrencyService)
context.lookup("earfilename/CurrencyServiceSessionBean/local");
| } catch (NamingException e) {
| e.printStackTrace();
| }
|
I will also post this in ejb3 forum ...
thx
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929658#3929658
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929658
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user