wood burning stoves 2.0*
The moose likes GWT and the fly likes First GWT app, need advice on server side implementation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "First GWT app, need advice on server side implementation" Watch "First GWT app, need advice on server side implementation" New topic

First GWT app, need advice on server side implementation

tony ni

Joined: Sep 09, 2012
Posts: 1
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.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10167

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!

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 917

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.

My Website: [Salvin.in] Cool your mind:[Salvin.in/painting] My Sally:[Salvin.in/sally]
I agree. Here's the link: http://aspose.com/file-tools
subject: First GWT app, need advice on server side implementation
Similar Threads
Need to work with more windows.
Few questions regarding connecting several phones to a computer
help with a new project involving a server-based app
Not sure if JBoss is suitable for creating java mobile applications
running application in C on mobile phone with Android