[jboss-user] [EJB/JBoss] - Re: Probleme java/Jboss ?

jwenting do-not-reply at jboss.com
Sat Feb 17 15:33:48 EST 2007


Don't put that there. An array isn't a valid serializable object (and putting fields in an interface is an established Bad Thing (tm) according to Josh Bloch, though sometimes handy for cases like this).

Best change that array to 2 separate String fields (I assume they're allowed values for some parameter?).

P.S. there's no need to mark the field public static final in the interface, it's implicit (just as methods in interfaces are implicitly public).

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

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



More information about the jboss-user mailing list