4 Replies Latest reply on Aug 23, 2002 7:04 AM by Péter Miklós

    Where to place constants?

    Pavel Cholakov Newbie

      Hello,

      Where is the appropriate place to put my constants, related to a CMP Entity EJB? I want to use symbolic names for the values for certain integer fields. I could put those in my remote interface as public static final fields, but my remote interface is autogenerated using XDoclet. It has got the option to make the generated remote interface extend another interface that I specify, but the whole point of using XDoclet is that I only maintain a single source file per bean.

      Any suggestions?

      Pavel