This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Journey To Enterprise Agility and have Daryl Kulak & Hong Li on-line!
See this thread for details.
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Define external lib classes as entities in a different module/project  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I hope this was not asked & answered before.

I am using NetBeans 6.9, Hibernate and glassfish 3.1, jdk 6

I have an ejb module/lib with few @entity POJO classes (with entity dependencies and inheritance) that I would like to export to external plain java library.
The architecture drive is to reuse the classes in other areas of the project as transport objects and eliminate the need to include annotation in the lib. For instance, I would like to create a generic API (interfaces) and some generic functionality (abstract) in a core lib which then get final j2ee touch once included in an ejb module where the j2ee resources are injected and the functionality becomes server managed.

How do I make a plain class from a lib become an entity class in another ejb module?


Many thanks in advance
G.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!