aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Why VO/DTO are Serializable during Remote Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Why VO/DTO are Serializable during Remote" Watch "Why VO/DTO are Serializable during Remote" New topic
Author

Why VO/DTO are Serializable during Remote

Seetesh Hindlekar
Ranch Hand

Joined: Feb 13, 2004
Posts: 244
Hello all,

Why VO objects are Serialized (implements java.io.Serializable) in an EJB application apart from the fact that they are used to passing values in a remote environment or to facilitate network communication with remote business objects.?

Rgds,

Seetesh
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Originally posted by Seetesh Hindlekar:
Hello all,

Why VO objects are Serialized (implements java.io.Serializable) in an EJB application apart from the fact that they are used to passing values in a remote environment or to facilitate network communication with remote business objects.?

Rgds,

Seetesh



Do you need another reason?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Seetesh Hindlekar
Ranch Hand

Joined: Feb 13, 2004
Posts: 244
Yes Paul if its apart from the ones mentioned in my earlier post
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

OK. Well, there are no other reasons.
ShivShankar
Greenhorn

Joined: Mar 18, 2005
Posts: 12
Hi Seetesh,
Its required that objects should be serializable to travel over the network.

Shivu


Shivu<br />(SCJP1.4,SCBCD(In Progress..)<br />We are what we think.
Seetesh Hindlekar
Ranch Hand

Joined: Feb 13, 2004
Posts: 244
Hello Shiv,

Does the same Serializable concept apply when a VO is used in a Local environment ie while designing a Local bean?

Rgds,

Seetesh
Annie Smith
Ranch Hand

Joined: Mar 05, 2005
Posts: 172
Originally posted by Seetesh Hindlekar:

Does the same Serializable concept apply when a VO is used in a Local environment ie while designing a Local bean?


NO. It wouldn't make any difference if they were Serializable, for a local environment.
[ March 23, 2005: Message edited by: Annie Smith ]

Cheers!<br /><b>Annie</b>
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Why VO/DTO are Serializable during Remote
 
Similar Threads
Where are Entity Beans?
EJB Design With Value Objects
Values in VO getting lost in Stub
arraylist assigned to VO object
virtual objects