users@glassfish.java.net

2 ejb with the same local interface

From: <glassfish_at_javadesktop.org>
Date: Wed, 20 Jan 2010 01:10:56 PST

Hi,

I have a problem concerning EJB 3.
I want to create 2 stateless EJB which implement the same local interface. The j2ee container, which I used, is Glassfish version 2.1.
I searched in Internet but none of the found solutions works.

For example I used my EJB in this form:
@EJB(beanName="QuotationBusinessService1") - where beanName is the name of the EJB-bean class.

Is there any solution?
[Message sent by forum member 'mitroiasi' (mitroiasi_at_yahoo.com)]

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