aspose file tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Where can I find the Pet Store example? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Where can I find the Pet Store example?" Watch "Where can I find the Pet Store example?" New topic

Where can I find the Pet Store example?

Demetrio Carvalho

Joined: Oct 24, 2010
Posts: 18
Hello. Where can I find the Pet Store example?
I was looking for JEE Patterns examples because I am preparing for
the SCEA exam and I am interesting in JEE Patterns. When I was looking for
examples, I read about JEE Pattern but I can't find it. The links I tried were:
I found some aplication ( but it wasn't
what I am looking for because I search for Java example.
At the end, I subsribed myself and sent messages to mail list, but the message returned as an error.

Dem├ętrio Carvalho
Yegor Bugayenko
Ranch Hand

Joined: Feb 11, 2011
Posts: 78
What exactly are you looking for again? Pet Store assignment problem statement, which is supposed to be provided to you by Oracle? Or you want to find an example of how to solve this problem? If the later is true - you're going the wrong way. You should NOT try to find an example. Instead, you should apply your own skills/experience in order to create one.

SCEA, PMP, read my blog:
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32023

Pet Store is a reference application created by Sun to show "proper" use of JEE. A quick search led me to here. Is that what you are looking for?

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Demetrio Carvalho

Joined: Oct 24, 2010
Posts: 18
Yegor and Jeanne, first of all, thanks for your help.

Jeanne, I went to the link you posted (, clicked in Download, which moved myself to and finally, after I clicked in every links,, I got a message "NOT FOUND The page you were looking for doesn't exist" ( What I had in my mind, it's to find some zip file to downloud whith EAR ou WAR and, possibility, some explanations in UML or even in texts tell me where was applied each Pattern from Blue Print. Even when I am logged in Java.Net and clicked in Get Source Code the conclusion is the same message "NOT FOUND ...". What I am doing wrong to get the Pet Store source, or did I make a mistake when I tried to download Pet Store as an example?

Yegor, I agree with you about "you should apply your own skills/experience in order to create one", but something whith help me a lot with the Gnag of Four Patterns, it was the examples I read in Paul Allen and Joseph Bambara. Other source, but only in portuguese, come from a site called Devmedia in my country. Both help me a lot to understand and start to apply the GoF patterns. It's true that I have so much to learn, but the begin with simple example make the things clearer.

If there is some site or eletronic magazine where I can find examples of JEE Pattern, I will be glad if somebody let me know it.
Demetrio Carvalho

Joined: Oct 24, 2010
Posts: 18
Hello everyone. I am still interested to find some articles to help me understand and apply JEE Patterns. It's amazing how many articles I found about Ganf of Four, but there is almost nothing about JEE Patterns. I found some paragraphs telling where are apply someones (for example, Front Controler in MVC), but I didn't find nothing to help me. Everything I found are basiclly class diagram and two or three sentences tell me about the objective. About GoF, I found real cases and good exercises. Can someone help me to find something close in JEE Pattern?

Thanks in advance.
Claudiu Dumitrescu

Joined: Sep 09, 2008
Posts: 29
Have you been able to find the PetStore application? Because I wasn't. What it would interest me is the architecture documents. I found this for the Adventurer application ( but this is not using the EJB. Could someone point me to the right location for PetStore?
Michal Wegrzyn

Joined: Jun 21, 2011
Posts: 1

maybe this is the right location:
You can download the sources from SVN.

I agree. Here's the link:
subject: Where can I find the Pet Store example?