Re: svn commit: r985746 - in /openwebbeans/trunk: webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/component/ webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/util/ webbeans-openejb/

2010-08-16 Thread Gurkan Erdogdu
Hi Eric,

Actually OWB returns proxy to client that implements clients preference 
interface when using getReference of BeanManager. This proxy internally uses 
EJB 
proxy instance that implements all of local interfaces. 


Thanks,

--Gurkan



From: Eric Covener cove...@gmail.com
To: dev@openwebbeans.apache.org
Sent: Sun, August 15, 2010 11:43:39 PM
Subject: Re: svn commit: r985746 - in /openwebbeans/trunk: 
webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/component/ 
webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/util/ 
webbeans-openejb/src/main/java/org/apache/webbeans/ejb/ webbeans-op

On Sun, Aug 15, 2010 at 4:25 PM,  gerdo...@apache.org wrote:
 Author: gerdogdu
 Date: Sun Aug 15 20:25:31 2010
 New Revision: 985746

 URL: http://svn.apache.org/viewvc?rev=985746view=rev
 Log:
 [OWB-439]  EjbPlugin session bean proxy creation thread safe problem


I had a little difficulty following, especially as this went into the
OpenEJB API.  Does this basically make each ENTERPRISE bean return
instances with all of the local interfaces as types?




Re: svn commit: r985746 - in /openwebbeans/trunk: webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/component/ webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/util/ webbeans-openejb/

2010-08-16 Thread Gurkan Erdogdu
This proxy internally uses EJB 
proxy instance that implements all of  local interfaces. 
This may be internally handled by the OpenEJB.

Look org.apache.openejb.core.ivm.EjbHomeProxyHandler class in 
container/openejb-core project.





From: Gurkan Erdogdu gurkanerdo...@yahoo.com
To: dev@openwebbeans.apache.org
Sent: Mon, August 16, 2010 8:59:39 AM
Subject: Re: svn commit: r985746 - in /openwebbeans/trunk: 
webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/component/ 
webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/util/ 
webbeans-openejb/src/main/java/org/apache/webbeans/ejb/ webbeans-op

Hi Eric,

Actually OWB returns proxy to client that implements clients preference 
interface when using getReference of BeanManager. This proxy internally uses 
EJB 

proxy instance that implements all of local interfaces. 


Thanks,

--Gurkan



From: Eric Covener cove...@gmail.com
To: dev@openwebbeans.apache.org
Sent: Sun, August 15, 2010 11:43:39 PM
Subject: Re: svn commit: r985746 - in /openwebbeans/trunk: 
webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/component/ 
webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/util/ 
webbeans-openejb/src/main/java/org/apache/webbeans/ejb/ webbeans-op

On Sun, Aug 15, 2010 at 4:25 PM,  gerdo...@apache.org wrote:
 Author: gerdogdu
 Date: Sun Aug 15 20:25:31 2010
 New Revision: 985746

 URL: http://svn.apache.org/viewvc?rev=985746view=rev
 Log:
 [OWB-439]  EjbPlugin session bean proxy creation thread safe problem


I had a little difficulty following, especially as this went into the
OpenEJB API.  Does this basically make each ENTERPRISE bean return
instances with all of the local interfaces as types?



Re: svn commit: r985746 - in /openwebbeans/trunk: webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/component/ webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/util/ webbeans-openejb/

2010-08-16 Thread Eric Covener
On Mon, Aug 16, 2010 at 2:06 AM, Gurkan Erdogdu gurkanerdo...@yahoo.com wrote:
This proxy internally uses EJB
proxy instance that implements all of  local interfaces.
 This may be internally handled by the OpenEJB.

 Look org.apache.openejb.core.ivm.EjbHomeProxyHandler class in
 container/openejb-core project.

FYI I've confirmed that the container I'm working with really needs
the local interface when there's more than 1 local interface on the
EJB class, so I will try to introduce a safe mechanism to pass the
injected iface down.


Re: svn commit: r985746 - in /openwebbeans/trunk: webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/component/ webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/util/ webbeans-openejb/

2010-08-16 Thread Eric Covener
On Mon, Aug 16, 2010 at 11:20 AM, Eric Covener cove...@gmail.com wrote:
 On Mon, Aug 16, 2010 at 2:06 AM, Gurkan Erdogdu gurkanerdo...@yahoo.com 
 wrote:
This proxy internally uses EJB
proxy instance that implements all of  local interfaces.
 This may be internally handled by the OpenEJB.

 Look org.apache.openejb.core.ivm.EjbHomeProxyHandler class in
 container/openejb-core project.

 FYI I've confirmed that the container I'm working with really needs
 the local interface when there's more than 1 local interface on the
 EJB class, so I will try to introduce a safe mechanism to pass the
 injected iface down.


Realizing now that this is a bigger problem in actually retrieving the
ejb instances from the context -- they're not interchangeable in the
case that the container does not return EJBs capable of all local
interfaces.

-- 
Eric Covener
cove...@gmail.com