Title: [Xdoclet-user] @ejb.select not generating select methods in home interface.
Samuel,
 
ejbSelect methods will never ever appear in the LocalHome or Home interface. This privilege is reserved for finder methods.
 
ejbSelect methods of a bean are _never_ accessible to clients of that bean (they are defined this way by the specs). So it's very normal -and reassuring- that XDoclet does not generate the appropriate methods in the Home interfaces.
 
If you want to use the result of an ejbSelect method in a client class, just create an ejbHome-method for your entity bean. The implementation of the ejbHome-method has access to the ejbSelect, so it _can_ call the ejbSelect method and can return its result. Your ejbHome methods can also be accessed by client classes since they will appear on the Home interfaces.
 
Hope this helps,
 
Cheers,
 
Kim 


Van: [EMAIL PROTECTED] namens Samuel Richter
Verzonden: di 10/25/2005 17:44
Aan: xdoclet-user@lists.sourceforge.net
Onderwerp: [Xdoclet-user] @ejb.select not generating select methods in home interface.

Can anybody please tell me why XDoclet (version 1.2.3)
will not place the corresponding select method into
the home or local home interface?  I have looked
everywhere for an explanation.  This is truly
maddening.




       
               
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to