aspose file tools*
The moose likes Web Services and the fly likes java ee frontend for a REST backend Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "java ee frontend for a REST backend" Watch "java ee frontend for a REST backend" New topic
Author

java ee frontend for a REST backend

danilo fercho
Greenhorn

Joined: Dec 04, 2012
Posts: 4
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
Marshal

Joined: Mar 22, 2005
Posts: 39535
    
  27
From where do you intend to call that REST backend - from within the browser, or from the web frontend?


Ping & DNS - updated with new look and Ping home screen widget
danilo fercho
Greenhorn

Joined: Dec 04, 2012
Posts: 4
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
Marshal

Joined: Mar 22, 2005
Posts: 39535
    
  27
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

Joined: Dec 04, 2012
Posts: 4
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
Marshal

Joined: Mar 22, 2005
Posts: 39535
    
  27
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 :-)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java ee frontend for a REST backend
 
Similar Threads
What Should I DO now
Any feedback for SCDJWS Beta?
FREE CERTIFICATION BETA: SCDJWS 5
Design / implementation ideas needed regarding pulling data from external systems
My personal test review about SCDJWS 5 beta