File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes OO, Patterns, UML and Refactoring and the fly likes Doubt about PetStore ������� Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Doubt about PetStore �������" Watch "Doubt about PetStore �������" New topic

Doubt about PetStore �������

Jose Jim�nez
Ranch Hand

Joined: Jun 15, 2005
Posts: 101
In petstore application ShoppinClientController act how proxy and have a handleEvent method to process events, my doubt is that have a getCustomerEJB(), .... methods . This method return EJBObject to client. Don�t is this one bad practise ?? Will more correct that clients communicate with a CustomerFacade for example and this have methods (getCustomer(), getCreditCard(), getDirection() that return ValueObjects ??

Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
"JJ Captain",

please take a look at our [url=]Naming Policy] and change your display name accordingly. Thanks!

Regarding your question, I have to admit that I have trouble parsing it. Assuming that others have similar problems, you might want to elaborate to increase your chance of a good answer...

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I agree. Here's the link:
subject: Doubt about PetStore �������
It's not a secret anymore!