Hello,

Thanks for the suggestion.  I added view-type="local" to the ejb.bean attribute 
but still the same result.  There are definitions for the (non-existent) home 
and remote interfaces in the ejb-jar.xml file.

Any other ideas?

Thanks!!


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Clarance
Howatt
Sent: Friday, September 30, 2005 10:12 AM
To: [email protected]
Subject: Re: [Xdoclet-user] Deployment Descriptor


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
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

This e-mail message is being sent solely for use by the intended recipient(s) 
and may contain confidential information.  Any unauthorized review, use, 
disclosure or distribution is prohibited.  If you are not the intended 
recipient, please contact the sender by phone or reply by e-mail, delete the 
original message and destroy all copies. Thank you.


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to