jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion
"Re: Create stateless bean from stateful bean" To view the discussion, visit: http://community.jboss.org/message/578034#578034 -------------------------------------------------------------- WorkerRemote r = // how to obtain reference? Should I use JNDI as ClientPOJO or @EJB annotation? You can use @EJB injection since you are using it within another server side component (i.e. the @Stateful bean). However, that doesn't mean that you cannot use JNDI lookup. You can use JNDI lookup too, but @EJB injection is a convenient way of getting hold of the bean. -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/578034#578034] Start a new discussion in Beginner's Corner at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user