This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Design patterns & EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Design patterns & EJB" Watch "Design patterns & EJB" New topic

Design patterns & EJB

Vishakha Ahuja
Ranch Hand

Joined: Sep 13, 2000
Posts: 191
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

Joined: Mar 03, 2001
Posts: 350
You can find some information at sun site (, search for "J2EE Design Patterns" you will get what you ar looking for

Vivek Viswanathan SCJP 1.2, SCJP 1.6,SCJD,SCEA,SCWCD,IBM-484,IBM-486,IBM-141,Ms.NET C# 70-316,SCMAD, LPIC-I
Walter Vetrivel
Ranch Hand

Joined: Mar 01, 2001
Posts: 80
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
I agree. Here's the link:
subject: Design patterns & EJB