Win a copy of Terraform in Action this week in the Cloud forum!

Dean Gibson

Greenhorn
+ Follow
since Aug 05, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dean Gibson

Hello,

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?

Thanks,
Dean.
10 years ago