• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

help: design model to entity ejb

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how do you take a design model to entity ejb? do you just group the related classes together and make each group an entity ejb?
 
Author
Posts: 234
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi nobu,
A good place to start is the Core J2EE Patterns. But I would recommend against the composite entity pattern (that your email suggests you might be thinking of). Instead I'd use CMP from EJB 2.x.
The general idea is to take each logical entity and turn it into an EJB Entity (local, cmr's etc) and then put Session Facade's over each 'logical grouping' of functionality, which might be more than one entity.
If however you are using an EJB1.1 container then you will be forced to use the composit entity pattern.
Good luck, and I hope this helps.
[ September 27, 2003: Message edited by: Bill Dudney ]
reply
    Bookmark Topic Watch Topic
  • New Topic