• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java ee frontend for a REST backend

 
danilo fercho
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I was not sure about where to put it, I hope here you can give me some lights

I have a Rest backend that exposes a set the model and logic services, the model is free of annotations so I can use it as a library on web client (in some future Android). Now I need to create a web frontend, I would like to do this in a java ee way, the problem is that I'm new in java ee, so I need some recomendations on it.

The web frontend should acomplish the next points:

-Rich web content

-Client validation (for forms specially)

-Run on mobile browsers

Note: It don't need to set up any JPA/JDBC or another kind of data configuration, because all the data will be retrieved and pushed by REST services from backend.

After some research I was thinking to evaluate Spring or GWT, however I'm not sure if they will allow me to acomplish form validation (like in symfony) generation/customization with a model that is not defined IN the framework. In the other hand, the learning curve should be small.

In this context, what frameworks, strategies, tools do you recommend to create the frontend?

Any suggestion is always wellcome.

Thanks
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From where do you intend to call that REST backend - from within the browser, or from the web frontend?
 
danilo fercho
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the web frontend, I mean, I will have to create a java ee application that will use a REST client to get/post/put/delete the data.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both GWT and Spring are big frameworks that have quite a learning curve, so I wouldn't think they'd be ideal candidates. my personal preference as a request/response-style web framework is Stripes; there's a good book available about it that'll help you come up to speed quickly. Other than that - I don't thick the requirements you posted point to anything in particular.
 
danilo fercho
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for the very objetive answer ,

I'm reading Stripes stuff, just a litle doubt, the Stripes site seems to be dead, is the project alive?

thanks very much!
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stripes does not evolve much any more, that's true. One could argue that it does everything a web framework needs to do, and doesn't attempt to branch out beyond that :-)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic