aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes how to create a common value object ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply locked New topic
Author

how to create a common value object ?

chris
Greenhorn

Joined: Mar 18, 2003
Posts: 14
Hi,
I'd like to create and use a common "value object" in my application.
actually I was told to use.. but I have no idea what it means
please help me..
What functionalities does it have to have?
It would be greatful if I can have a sample code.
thanks in advance.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
You can find the description for the Value Object pattern at http://java.sun.com/blueprints/patterns/TransferObject.html (Value Object was recently renamed to Transfer Object).


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Please do not cross post. You can continue the conversation here.
[ August 19, 2003: Message edited by: Cindy Glass ]

"JavaRanch, where the deer and the Certified play" - David O'Meara
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to create a common value object ?