• 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 ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

First GWT app, need advice on server side implementation

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

I am trying to create a fairly simple web app (I believe) for data display purposes. I will preface this by stating I have not created a web app before, and i am not sure exactly what technology I should be using. I do want to use GWT for the front end, as I will need to use it for work at some point in the future. The idea is as follows.

I want to have a small collection of pages to allow multiple users to enter data, and a single page to display it. The users will enter numbers (points) from either a pc or a mobile phone, and the they will submit the values to the server. The server will aggregate the data, perform calculations and will update it the display page, which will be projected on some screen.

So I am intending to have a PC page, a mobile phone page and a PC display page.

I want to use GWT for the front end, but I don't know what to do for the back end. I want to stick with Java, as I will also need to use this for work in the future.

Could some one please explain what other components I need to use?

Thank you.
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch.

Have you checked out the GWT dev guide? You will notice, it's pure Java! The front end as well as back end which is nothing but a customized servlet!
 
Bartender
Posts: 2911
150
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Tony,

Let me add something to what maneesh said.

There are three parts here.
1. Server code
2. Client code
3. Shared code (Both server as well as client side code)

Client code will be based on the GWT framework and cannot use all java classes (eg. File class)
Similarly, Shared code cannot use all java classes.

Normally, your Shared code would be Pojos / Data transfer objects that you send between server and client and vice versa..
They can also contain validations that is needed to be verified at both server and client.

Server code can be in pure Java. You can use any framework here.
 
It is difficult to free fools from the chains they revere - Voltaire. tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic