File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets 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: 41052
    
  43
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
 
wood burning stoves
 
subject: Typical way of obtaining information from a database?
 
Similar Threads
Socket Server crashing after sometime
Architecture of FBN
how to use java to retrieve sth that is particular to a specific computer?
Why we choose java?
How to process the networking with a local database?