wood burning stoves 2.0*
The moose likes JDBC and the fly likes Typical way of obtaining information from a database? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Typical way of obtaining information from a database?" Watch "Typical way of obtaining information from a database?" New topic
Author

Typical way of obtaining information from a database?

ashley stewart
Greenhorn

Joined: May 21, 2010
Posts: 7
I have finished developing a small MySQL database for a company and have begun implementing the client-server program for reading and writing data from and to the database using RMI and Swing. The server java program is designed to handle all requests for data from the client and authenticate users etc, currently I am able to enter my login details into the client and have the database authenticate me (albeit insecurely). But I need to know what is the best format for passing data to and from the server program? For example in the form of text, or more complex objects?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42289
    
  64
JSON is a popular data exchange format between machines. Multiple libraries are available that make it easy to read and write.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Typical way of obtaining information from a database?