Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Value Object

Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to use 3 layers: access control, services and data. I'd like to use VO's in my Struts Application, but I don't know where to find ValueObject.class.
Simple question: where can I get a .JAR file that include an implementation of this class?
Valeu galera!
Posts: 15639
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think there's one specific ValueObject class. The pattern formerly known as Value Object is now preferably called the Transfer Object pattern (a simplification of Martin Fowler's name for it, "Data Transfer Object"). The implementation will depend on what kind of data you want to transfer.
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Value Object is just a Sun Pattern to e.g. reduce network traffic when work with EJB's. In an environment without EJB's a value object makes no sense, cause it is a simple class which represents a data object. Check out the following resource
Transfer Object
That is a really big piece of pie for such a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic