Curious on this part of that method:

        manager.addBean(WebBeansUtil.createNewBean(ejbBean));                
        manager.addBean(ejbBean);

Wondering why we need to essentially add the bean twice.  Running into an issue 
as the NewBean impl uses only class information to construct the unique ID of 
the bean.  This basically puts the restriction that you cannot use the same EJB 
class twice.  In EJB-land you can definitely do that.

What is the NewBean registration for?

-David

Reply via email to