File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create a DTO out of query xml?

 
UdayK Bhaskar
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a query xml for which I have to write a DTO. The thing is I dont know anything about DTO( except that fact that it is an object for transportation of data to-fro from server to client) and rules to follow while creating it wrt a query.

I would be glad if someone can tell:

- Structure of a DTO.
- Components it should have
- Rules it should follow while defining it.

Thanks!
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33694
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A DTO (data transfer object) is just a JavaBeans - fields, getters and setters. Queries are typically in a DAO. Maybe you mean that?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic