Hi everyone, I have a newbie question so please don't shoot me :)

I have a web application and an ejb application composed of CMP and Session
beans.

I noticed that I needed to reference all the homes of my EJBs within the
web.xml and I wanted to know if it was recommended/safe to create one
stateless session bean which has all the ejb-ref needed in its ejb-jar.xml
and only reference that stateless session bean from my web app.  This way my
web app only needs to know about one Session Bean and that bean's
responsibility is factoring other home.

Does anyone see any problem with this approach?

Thanks,

Christian


Reply via email to