[jboss-user] [Beginners Corner] - Re: EJB entity with static final field
PeterJ
do-not-reply at jboss.com
Wed Nov 29 10:30:19 EST 2006
I'm not sure what you are asking, so if the following doesn't answer your question, please rephrase it.
I typically have a class named Constant, and in the class I place a lot of static final fields. Then in my EJB code, I have statements like:
MyEjb ejb = (MyEjb)context.lookup(Constant.FOO);
Of course, I also often place the static final fields in the EJB itself.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989737#3989737
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989737
More information about the jboss-user
mailing list