PDA

View Full Version : Integrating GWT+GXT with Spring



venu
15 Jan 2009, 7:04 PM
Hi,
I want to use the following technologies in my project.

GWT & GXT for front end.
Spring & Hibernate in back end.
JSon as the data format.

Scenario: User will submit the login page, the request goes to spring, hibernate will check user against DB and then spring send data back to GWT in JSon format.

Does anyone has an example or can direct to any tutorial to achieve this kind of stuff.

Any help would be appreciated.

Thanks,
Venu

EagleEye666666
16 Jan 2009, 4:04 AM
Hi,
I want to use the following technologies in my project.

GWT & GXT for front end.
Spring & Hibernate in back end.
JSon as the data format.

Scenario: User will submit the login page, the request goes to spring, hibernate will check user against DB and then spring send data back to GWT in JSon format.

Does anyone has an example or can direct to any tutorial to achieve this kind of stuff.

Any help would be appreciated.

Thanks,
Venu

Are you going to use Spring Security as well?

html page for login... connected with spring securtiy

if login successful > redirect to GWT modul html >

in the GWT app:
Easiest way would be in the GWT Module load method ... asking server for the logged in user, cuz session is already registered with that user.. like this u will be userdata to the client..

just my thoughts, but i have no time to create some tutorial...