• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Petstore 2.0

 
Muddu Krishna
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am working on part 2 assignment and so am first trying to understand the architecture of Petstore 2.0. It doesnot use any of the design patterns like DAO, Service Locator and the DTO which would otherwise would be normally expected to be seen in a JEE application.

The PetStore uses a CatalogFacade which is a POJO and stored in the ServletContext for all usecases to lookup. This Facade interacts with the JPA Entities. Thus the Entities are hidden from the servlets and JSF managed objects.

Is this architecture scalable and performant? Since my assignment does not require a Swing front end , I was thinking of modelling my assignment on the blueprint guidelines here for a web-only application
https://blueprints.dev.java.net/bpcatalog/ee5/persistence/webfacade.html
https://blueprints.dev.java.net/bpcatalog/ee5/persistence/webonlyapp.html.

I am also wondering about the utility of SFSB in a Shopping Cart. We can have a SLSB or a POJO facade as above injecting an EntityManager which can store the state of the cart in the database rather than as an instance variable which is persisted at the time of removal in a SFSB.

Please let me know your thoughts..
[ July 18, 2008: Message edited by: Muddu Krishna ]
 
Arvind Tiwari
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Muddu,

One quick question, I am also planning to start part II, Do I need to purchase the "CX-310-301A" from SUN site first or I can download the assignment for https://www.certmanager.net site and start?

Its confusing because in the above site I there was link to download the assignment.

Thanks,
Arvn
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65340
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Arvn", please check your private messages for an important administrative matter.
 
Muddu Krishna
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will have to purchase the voucher first. Only then you will get download rights.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic