Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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

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
Without deviation from the norm, progress is not possible - Zappa. Tiny ad:
java tutor first lesson for free
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!