ziggy
ziggy

Reputation: 15876

Spring MVC with a rich client framework

I have several applications that are structured as follows

DataComponent

WebComponent
ThickClientComponent
WebServices

The DataComponent has all the functionality required to access the application's data so it contains the DAOs and the JPA entities. The other three modules are:

All three projets have the DataComponent as a dependeny in their Maven POM file.

I would like to use a rich client framework like RichFaces, icefaces or primefaces as i need to be able to use the rich components are available in rich client frameworks (i.e. trees, panel, drag and drop etc).

I have looked around and i cant seem to find an example where a Spring MVC application uses a rich client platform. Is it possible? Are the rich client platforms a framework meaning that i have to use either Spring MVC or the rich client platform but not both?

The DataComponent module is spring based.

Upvotes: 2

Views: 3034

Answers (4)

IturPablo
IturPablo

Reputation: 1611

Yess you can use Spring MVC with PrimeFaces but you have to use it with the spring JSF 2 implementation.

If you are thinking to use some faces framework definitely use PrimeFaces.

You could use SpringMVC with JSF but I also recommend to you not to use SpringMVC JSF implementation. Use insted the MyFaces JSF 2 implementation with Primefaces and then link the backing beans with spring.

From my experience this is the best.

But I guess any other options are fine too.

Upvotes: 1

Japan Trivedi
Japan Trivedi

Reputation: 4483

I suggest you to go for GWT. It is a very good rich client framework and it has a very huge set of components available including drag-and-drop. Also it provides the integration with Spring Framework. You can check out this and this links to know more about its integration.

I have also used smartGWT that is extension of GWT components in one of my project that has backend in Spring framework.

Hope this helps you. Cheers.

Upvotes: 1

Matt
Matt

Reputation: 11805

You can try ext-js for creating your client side interface. It's heavily java script / ajax based, but that would probably meet your needs. It doesn't really care what your backed tech is, since it works entire through javascript and ajax.

Upvotes: 1

duffymo
duffymo

Reputation: 308743

Maybe this module will sort you out:

http://static.springsource.org/spring-webflow/docs/2.0-m1/reference/spring-faces.html

Upvotes: 1

Related Questions