Where would one put constants, related to an entity EJB?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Pavel_Tcholakov
Posted On:   Friday, August 16, 2002 08:21 AM

Hello,


When designing an EJB solution, where would you put all the constants associated with a certain entity EJB? The remote interface? In my case, that's generated using XDoclet. I know that I can ask XDoclet to make the generated interface implement an interface of my own, where I can put all these things, but the whole point of XDoclet is that you only maintain one single source file.


Any thoughts?


Thanks! Pavel

Re: Where would one put constants, related to an entity EJB?

Posted By:   Lasse_Koskela  
Posted On:   Friday, August 16, 2002 10:10 AM

How about a separate class dedicated for final static constants?
About | Sitemap | Contact