Good catch Eric!

Actually we save all of local interfaces in EJB bean and bean is requested with 
one of those interfaces we supply proxy instance.

--Gurkan


________________________________
From: Eric Covener <cove...@gmail.com>
To: dev@openwebbeans.apache.org
Sent: Wed, July 28, 2010 2:05:29 AM
Subject: is usage of BaseEjbBean.iface safe?

If we have 1 EJB bean class, we only have 1 ENTERPRISE managed bean
and one BaseEjbBean.iface.

But if this EJB has two or more local interfaces, it can be injected
as under multiple interfaces.  It seems like the interface should only
be passsed around on the stack not actually associated with the
enterprise bean itself.

Does this sound right?

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


Reply via email to