• Post Reply Bookmark Topic Watch Topic
  • New Topic

DTO must implements serializable?

 
Catherine Shan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when I create a data transfer object class in order to tranfer data between web tier and business tier,if I ensure they run in one physical server and in one application,and the business handler is a common class,not EJB.then could DTO do not implements serializable?
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the business and web tier run in the same server and there is no remote call involved the clases not implement serializable.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!