Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

help: design model to entity ejb  RSS feed

 
nobu taku
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • 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?
 
Bill Dudney
Author
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • 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 ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!