Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Design patterns & EJB

 
Vishakha Ahuja
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Can someone tell me where can I find matter on Design Patterns specifically in relation to EJB. I mean sample codes or examples of each pattern found in EJB.
 
Vivek Viswanathan
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
You can find some information at sun site (java.sun.com), search for "J2EE Design Patterns" you will get what you ar looking for
Vivek
 
Walter Vetrivel
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The instances in the pool are "flyweights" and abstract factory pattern is used for creating object refernces since the ejbobject implementation class is unknown to the client.
For ejbobject implementation both inheritance and delegation is used as mentioned on page37.
please correct me if Iam wrong
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!