Hi,

I'm new in EJB, and i'm looking for a way to define constant for entity.
I have a Client class. This client can be of various type, and i want to define 
constant for this definition.
Apparently, the use of static filed in EJB is not a good practice. SO my 
question is : "How to define this constant?"

Here is a sollution 
http://publib.boulder.ibm.com/infocenter/rtnlhelp/v6r0m0/topic/com.ibm.etools.ejb.assembly.doc/topics/tecrteev.html
 .
Is there an equivalente in JBOSS 4.0.5? 

In fact i'm not really satisfied by this sollution, so is there another way to 
do that?

Should I define my constant in each interface (ClientLocal and Client)?
Is there a simple solution with xdoclet?

Thank you for supporting begginer :-)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989368#3989368

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989368
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to