Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Java, Mobile Client and forms

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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?

My, my, aren't you a big fella. Here, have a tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic