• 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

GWT Backend Advise

 
Greenhorn
Posts: 2
Google Web Toolkit Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

Im a noob here.

Well I have a big application in rails in the server and flex in the client side, the application use a lot of generated interactive charts and animations with drawing, images and forms geting the data from the server using xml-rpc, I was a big fan of Flash until the last notices from adobe about get rid of flash player on mobile and in general I think that the future of flash is very unstable, for that reason our company are evaluating the migration posibilities, for now Im refreshing my java knowledge (I didn't touch Java since late 90's). I choose Java over JavaScript because the strong type system and seems that GWT have all We need for the client side (The application must to work in the browser), but for the server side I'm not sure.

My question is GWT need something else to work on server side with a database ?.

I was looking in Google and the used solutions looks like a mix of frameworks but the Java information its overhelming (I admit its impresive, tons and tons of Java information sources), so far I found

For the data persistence We are going to use JPA with the Hibernate implementation (This seems to be a straight-forward).

For the server Jetty seems to be the best option but Im not sure. (Easy to use and lightweight)

For the framework:
- GWT Alone.
- Play Framework - looks good but this its confusing because the comunity its divided in two flavors of the framework and the Java side is the old release, the new releases are in Scala.
- Spring and all Its sons Spring MVC and Spring Roo - also looks good but its huge and have a sense of a very inclinated learning curve.
- J2EE with EJB ???
- GWT-Platform seems the best solution for me for now but we are still open to sugestions.


Can anyone with more Java experience could give us any advise or share experiences about these architectures and what is the best choice if any to use with GWT ?


Thanks in advance.

Jesus Boadas.
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
GWT has 3 "layers" client, shared and server.
On server side you can use what ever is suitable for Java and database.

If you want to use Hibernate you need to know that domain objects used by hibernate cant be serialized. One of the strategies to solve this problem is using TDO...

I think GWTP is best solution... On such way you will not use Spring but insted of it you will use Guice
 
Jesus Boadas
Greenhorn
Posts: 2
Google Web Toolkit Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also today I was looking Vaadin, Looks very good, have a lot of widgets based on GWT, now in version 6.8 its only server side but from version 7 its planed client side for offline applications. Any feedback on Vaadin ?
 
A wop bop a lu bop a womp bam boom! Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic