4 Replies Latest reply on Mar 27, 2006 9:32 AM by treespace

    Finding Java 5.0 Enum Types


      My entity beans have enum columns and EJB 3.0 handles the translation without any intervention on my part -- not even an annotation! Here's my problem: where can common classes like enums be placed in my EAR such that the entity bean jar can see them? I do not want to put them IN the jar containing my entity beans.

      I have a session bean jar, entity bean jar and war file. If the enum is in the session bean jar everybody sees it EXCEPT the entity bean jar. I really don't like making duplicate copies of classes, so where can classes go which are shared by all tiers in the EAR but not outside the EAR?