I corrected this or at least got this removed by moving the "@ejb.bean...."
lines after my class declaration.

-----Original Message-----
From: John Shields [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 12:45 PM
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] static finals in home interface


Hey gang,

New to the list and the lovely virus has made the past few weeks almost
unreadable so please bear with me.

In attempting to create a stateless session bean, the home interface is
generated with these lines...

public static final String COMP_NAME="blah"
public static final String JNDI_NAME="blah"

when run against the j2eeRI(1.3.1) deploy tool verifier, it of course blows
up with...
Error: [ foohome ] is not defined as valid RMI-IIOP remote interface.  All
enterprise beans home interfaces must be defined as valid RMI-IIOP remote
interface. 
...
Comment out the statics and everything's dandy.  
1)How do I get rid of the static generation
2)Could some kind soul tell me why we generate something that doesn't verify
on the j2ee ri? There must be a valid reason, you guys are a heck of a lot
smarter than me.

Thanks for your time,
John 





-------------------------------------------------------
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
---------------------------------------------------------------------------
This email and any attachments constitute non-public information for use
only by intended recipient(s) and may contain confidential information.  If
you are not an intended recipient, please notify our Information Security
Officer immediately at (941) 906-5844 and permanently delete the original of
this email and any attachments, as well as any copies or printouts thereof.
The unauthorized use, dissemination, distribution or reproduction of this
email and any attachments is prohibited and may be unlawful.


-------------------------------------------------------
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