[jboss-user] [EJB 3.0] - Re: can any one help me - having a bad day with ejb3 server

wiggy do-not-reply at jboss.com
Mon May 28 05:55:16 EDT 2007


could you be more specific please, I am not sure which properties and one which side - 

do I have to do soemthing in the annotation on the 4.2 server side of my bean, or is it something i have to do on the embedded container side.

one thing though i've seen examples where they use a name atribute for the @Stateless(name=<...>) declaration on the bean - what relation does that have to the @Local or @Remote declariations on the business interfaces.

its just not clear what gets registered to JNDI by any of these (presumably all three i guess) as a call on a proxy with the business interface, has to get to the right bean implementation.

Why doesnt my simple DI example work in the embedded server.  I declare a bean, declare its interface as local and then try use it from the main routine.  I thought the injection would at least work locally in one application?

regards wiggy



  

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048992#4048992

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048992



More information about the jboss-user mailing list