• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
  • Tim Holloway
  • Carey Brown
  • salvin francis

First GWT app, need advice on server side implementation

Posts: 1
  • Mark post as helpful
  • send pies
  • 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.
Posts: 11445
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • 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!
Posts: 2348
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • 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.
Barry's not gonna like this. Barry's not gonna like this one bit. What is Barry's deal with tiny ads?
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!