>>>Good catch Eric! Not mean that current logic is wrong. Bean API types are local interfaces of the EJB bean . We check all injection fields at deployment time for validation. If there is no validation error, using of EJB local interfaces are correct.
What is the problem that you think about? --Gurkan ________________________________ From: Gurkan Erdogdu <gurkanerdo...@yahoo.com> To: dev@openwebbeans.apache.org Sent: Wed, July 28, 2010 8:27:42 AM Subject: Re: is usage of BaseEjbBean.iface safe? 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