• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2EE Patterns/Idioms - Antipatterns?

 
Roger Zacharias
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I would like to know which J2EE Patterns/Idioms (Core or Floyd) for the pre EJB2.0 era are now antipatterns.
See Interview with Floyd: http://www.theserverside.com/events/videos/FloydPatterns/text/txt09.html
Regards
Roger
 
Roger Zacharias
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any comments???
 
Bill Wang
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, local interfaces in EJB2.x do increase the performance of the communication so that we can use fine grained entity beans without worrying about network traffic. But if your j2ee app is designed for the distributed environment, local interfaces wouldn't help much. So I think in such case, composite entity will still be needed.
Just my two cents
 
Roger Zacharias
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bill,
if I understand you correctly, the session facades should talk to the Composite Entity remotely and the CE should talk to "its" Entity Beans locally (for distributed environments)? Is it correct, that with this ansatz in a clustered environment a session facade bean will talk with an CE bean on another server? Would that be practical?
Thanx
Roger
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic