[jboss-user] [Beginners Corner] - Re: EJB entity with static final field

PeterJ do-not-reply at jboss.com
Tue Nov 28 10:59:50 EST 2006


You used the term "constant".  Do you mean something like this:

public static final String FOO = "something";
public static final int BAR = 123;

If so, feel free to use these in EJBs, as static finals (constants) of the basic data types and strings are perfectly acceptable.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989371



More information about the jboss-user mailing list