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.