Asleson, Ryan wrote:

Hello,

I'm an experienced Java developer but first time XDoclet user.

I'm using XDoclet to process a single session bean. I'm using the deploymentdescriptor subtask of the ejbdoclet task to generate the ejb-jar.xml file.
My session bean should only have the local and local home interfaces, so I use 
the localinterface and localhomeinterface subtasks to generate these before the 
deploymentdescriptor subtask is called.  However, the ejb-jar.xml file 
generated by XDoclet defines the local and local-home interfaces (as it should) 
but it also defines non-existent home and remote definitions, which it 
shouldn't, because I don't even have home and remote interfaces.

My question:  How do I tell XDoclet's deploymentdescriptor task to only define 
the local and local-home interface in the ejb-jar.xml file and not the home and 
remote interfaces?
I don't think you do. The deploymentdescrptor task will define what classes should be generated but it is the @ejb.bean view-type that will define how the beans are generated. Try adding view-type="local" and see how far you get.

Cheers



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to