This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Java in General and the fly likes Java, Mobile Client and forms Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java, Mobile Client and forms" Watch "Java, Mobile Client and forms" New topic

Java, Mobile Client and forms

Dean Gibson

Joined: Aug 05, 2011
Posts: 1

I have been using Java for a few years, nothing more than writing a few programs, UIs etc etc. I am now attempting to create a web site (locally) with HTML and Java. I have a range of data entry boxes (relating to attributes of database table), that can be either viewed in the browser client, or the mobile client.

My question is how would one go about communicating this page structure and data between the server and client. There are a variety of options out there, using HTTP GET and POST, or through socket communications. I was wondering if someone would point me to a path so I can start research on how to build up my server and clients. I am confused about the structure of how the data is sent. All socket examples I have seen are passing single byte streams, however I would require a multitude of byte streams and potentially media (such as images). Can either of these work?

I agree. Here's the link:
subject: Java, Mobile Client and forms
It's not a secret anymore!