Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GWT and Spring MVC, is it worth it?

Tags:

java

spring

gwt

Is there any reason to use Spring MVC (or other similar frameworks) as a server for GWT RPC? As far as I can tell, 99.9% features of Spring will not be used. Yet, lots of people are looking for best ways to use them together.

Could someone please explain, what are the benefits of using MVC frameworks (on server) with GWT, when all you need on server side is business logic?

like image 579
bezmax Avatar asked Aug 27 '09 10:08

bezmax


People also ask

Is Spring MVC still used?

You can use Spring MVC if you want to develop a web application with Spring. However, for the development of general Spring applications or beginning to learn Spring, it is recommended that you use Spring Boot as it is production-ready, mitigates the job, and is being quickly adopted.

Is Spring Framework still popular?

Today, Java Spring Framework is still among the highly demanded frameworks in the Information Technology world. In 2021, Java Spring Developers used the framework to develop and deploy cloud-based microservices, including data processing applications, web applications, and many more.

Is Spring or Spring Boot more popular?

Spring is the most popular application development framework in Java. However, over the past few years, Spring has become increasingly complex because of added functionalities. Starting a new project usually requires going through a lengthy process and takes a lot of time.


1 Answers

I don't see any generally good point in using Spring MVC or another enterprise Java MVC library (like Struts) together with a layer which - as you said - offers only business logic (and therefore can be kept as small and clean as possible).

But Spring itself is way more than just a web (MVC) framework layer and using the dependency injection or AOP features or the ORM API or the Scripting language Groovy (which works fine with Spring) can be a huge benefit for any application.

like image 63
Daff Avatar answered Sep 18 '22 15:09

Daff