• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Typical way of obtaining information from a database?

 
ashley stewart
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSON is a popular data exchange format between machines. Multiple libraries are available that make it easy to read and write.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic