I'm developing a J2EE web application using Struts, and EJB's.
My question is that I have not included any ejb references in my web.xml file that any of my war classes are using, nor did I enter any references in my session ejb's xml file who reference various CMP beans. Am I losing anything by not doing this, as the application works fine omitting these references.
I'm using XDoclet tags and never bothered using the references. I don't know what the benefits are as of right now to me it seems adding them in just adds more maintenace work.
FYI in my dev environment I have an exploded war file and an ear file that contains all my ejb's and related classes.
In my test env, I have one ear file and all works fine.