aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Doubt about PetStore �������" Watch "Doubt about PetStore �������" New topic
Author

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 ??


SCEA<br />SCWCD<br />SCJP
Ilja Preuss
author
Sheriff

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

please take a look at our [url=http://www.javaranch.com/name.jsp]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: http://aspose.com/file-tools
 
subject: Doubt about PetStore �������