From: pego <do-...@jb...> - 2005-12-08 16:46:29
|
IMHO the load-level solution is the best: fast, effective and clean. I have a question, probably a little off-topic (however it's about ejb3 design)... :) Im approaching to design the server "session side" of an application. I've already done the "persistence side" using entity bean and it is quite complex (a lot of hierarchies and associations between entities). I thought that a good solution for the "session side" could be a sort of mapping between session and entity beans. Example Entities: Domain and Email (one Domain is associated to many Email) Session: DomainSession and EmailSession (EmailSession has a filed @EJB DomainSession to set/get the Domain associated to the Email) And what about hierarchies of entities? Is it possible to do hierarchies of Session Beans? Is it a good way? Thank for your help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911484#3911484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911484 |