Hi All:

I am new to xdoclet - pretty excited to use this framework. To give you guys
some idea on what I am trying to achieve here, I have to generate a webservice
from a session bean, using JWSDP. Since there is no direct way of doing this in
JWSDP, this is what i have in mind:

1. Create a new xdoclet template to generate a business delegate class from the
SL session bean. The business delegate is a class that has the exact same
interface as the remote interface of the ejb, and inside the body of each
method, it delegates calls to the remote interface method. This business
delegate will have a constructor, inside which the handle to the remote
interface will be obtained by doing the jndi lookup...yada-yada...
2. Call "wscompile" of JWSDP on this business delegate to generate the server
side artifacts of a web service with the business delegate class as the service
end point.
3. Creat a war file, a ejb-jar file (of the SLSB), and package them inside a ear
file.
4. On the way, also create another xdoclet template that creates a
application.xml for this app.

from the little I know about xdoclet so far, i think all of this is possible. If
I am able to do this, then by using xdoclet and ANT, all i will need to do is
write my bean class (with the right annotations), and write my build script, and
then when the build script is invoked, i should get a deployable ear file with
the SLSB and the webservice.

Any one sees any holes in this? Any resources i should check out? Has something
similar been done already?

I will appreciate any replies on my queries.

Thanx for reading
Best Regards

Sanjeev Verma



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to