users@glassfish.java.net

Re: Integrating EJB into a framework

From: <glassfish_at_javadesktop.org>
Date: Wed, 23 Sep 2009 10:42:56 PDT

I don't understand why you don't simply use a Locator pattern of some kind, is that the problem you're having? Getting access to the EJBs?

MyBeanLocal myBean = BeanLocator.getMyBean();
MyOtherBeanLocal myOtherBean = BeanLocator.getMyOtherBean();

Is that the issue?

Getting access to EJBs is straightforward, you can wrap the JNDI lookup in just about anything.

What other issues are you having?
[Message sent by forum member 'whartung' (redrocks_at_sbcglobal.net)]

http://forums.java.net/jive/thread.jspa?messageID=365337