The best way to make EJB references available to JSPs is to create a merge file containing the EJB references. The files should be named "web-ejbrefs.xml" for remote references and "web-ejbrefs-local.xml" for local references.
Thank you, I needed this one. I'm pretty new to XDoclet and I couldn't find it in the docs.
Another thing to note is that EJB references are global to all servlets and JSPs in a web application. Therefore, you only need them to be declared once in web.xml. As such, if you already have a servlet tagged with @web.ejb-ref, then you don't need to do anything for your JSPs because the servlet tagging will make sure that the EJB reference ends up in web.xml.
I see but for now I don't know if I'll be writing any pure Servlets so I needed to know if there's an alternative way to do it. Or may be I should put a "fake" class tagged just for the descriptor generation.
-- Stanimir
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
