[jboss-user] [EJB 3.0] - Re: can any one help me - having a bad day with ejb3 server
alexg79
do-not-reply at jboss.com
Tue May 29 09:28:47 EDT 2007
@Local only works if the calling end is running within the same VM as the server. Therefore you need to use @Remote instead if you want your beans to work with application clients.
Why are you still trying to get dependency injection to work? Last I heard it doesn't work with JBoss at all -- and it's awful in Glassfish too. Just give it up and use JNDI lookups just like everyone else does.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049322#4049322
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049322
More information about the jboss-user
mailing list