I haven't tried this, but it seems it should work. Create an interface that extends javax.ejb.EJBHome and declares your constants. Then use the @ejb.home tag with the "extends" parameter to point to that interface. Your generated home should then have access to those constants, and other classes through the home interface.
David Harkness Sony Pictures Digital Networks (310) 482-4756 -----Original Message----- From: Langelage, Frank [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 12:11 PM To: [EMAIL PROTECTED] Subject: [Xdoclet-user] how to add constant values in Home-Remote intercae ? I want to add a field like public final static int LAYOUT = 1; to home-remote interface of a session bean. But there seems to be no way to do this ? Am I right ? In home.xdt I only found iterators on methods, not on fields. regards - Frank ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
