File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is each DTO reqire to implement Serializable ?

 
Santanu Guha
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

DTO must implements serializable?
 
balajik Kumar
Greenhorn
Posts: 4
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I *GUESS* it is not required if your application is deployed on a single server not configured with clustering.

It is required for clustered environment aswell as for distributed environment, it is because the DTO has to be shipped.
 
Santanu Guha
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Santanu Guha wrote:Hi ,

DTO must implements serializable?


No It's not mandatory to implement Serializable . If you are working in clustered environment / distributed architecture and your DTO is tranfered into another environment the it's mandatory to implement.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic