This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring 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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Design patterns & EJB
It's not a secret anymore!