Posted By:
Anthony_Ikeda
Posted On:
Monday, September 9, 2002 11:47 PM
I'm testing the webdoclet to generate my web descriptor file but I'm finding that for each servlet that has an ejb-ref to the same bean (say servlet 1 and servlet 2 both use ejb-ref to EJBeanA) the web descriptor has an instance for each servlet. For example: ServletA package test.servlets; /** * @web:ejb-ref name="ejb/MaxID" * type="entity" * home="test.ejb.MaxIDHome" * remote="test.ejb.MaxID" */ And ServletB also has the same entry because it also has refs to the ejb. My web descriptor comes out: ejb/MaxID Entity test.ejb.MaxIDHome test.ejb.MaxID ejb/MaxID
More>>
I'm testing the webdoclet to generate my web descriptor file but I'm finding that for each servlet that has an ejb-ref to the same bean (say servlet 1 and servlet 2 both use ejb-ref to EJBeanA) the web descriptor has an instance for each servlet.
For example:
ServletA
package test.servlets;
/**
* @web:ejb-ref name="ejb/MaxID"
* type="entity"
* home="test.ejb.MaxIDHome"
* remote="test.ejb.MaxID"
*/
And ServletB also has the same entry because it also has refs to the ejb. My web descriptor comes out:
ejb/MaxID
Entity
test.ejb.MaxIDHome
test.ejb.MaxID
ejb/MaxID
Entity
test.ejb.MaxIDHome
test.ejb.MaxID
I've tried using the merge files but I can't get them to work
What am I doing wrong?
Regards,
Anthony
<<Less