What is the difference between Spring Tool Suite 3 and 4? - spring-tool-suite

I want to study Spring. In the case of STS (Spring Tool Suite) 3, there is "Spring legacy Project". 4 has a "Spring Starter Project", is it the same?
When I asked the Internet, people say "just use version 3".
What is the difference between version 3 and version 4?
Is "Spring Starter Project" and "Spring Legacy Project" the same thing?

1.What is the difference between version 3 and version 4?
Version 4.0 is the latest major release of the Spring Framework and the first to fully support Java 8 and few new features.[more]
Is "Spring Starter Project" and "Spring Legacy Project" the same thing?
Technically both are same spring project's. But they have some difference in configuration and build areas.
Spring Starter Project- Helps to create the spring boot project.(Spring Boot is basically an extension of the Spring framework which eliminated the boilerplate configurations required for setting up a Spring application.)
Spring Legacy Project - Helps to create the spring maven project. In which all the required configuration like servlet context,web,.. need to be configured manually either by using xml file or java classes.
Take a look at this page to know more about the difference between spring vs spring boot
If you are going to start learning spring from beginning, my suggestion is use Spring Starter Project because in Spring boot project setup is so simple, you can start coding with zero manual configuration.

For a more detailed introduction of the Spring Tools 4, please take a look at the blog post from the initial GA release of the Spring Tools 4:
https://spring.io/blog/2018/09/25/spring-tools-4-ga-released
There is no direct relation between the version numbers of the Spring Framework itself and the Spring Tools. In general, the Spring Tools 4 as well as the older Spring Tool Suite 3 support various Spring versions, ranging from Spring Framework 3 up to Spring Framework 5.2 and beyond.
I would strongly recommend to start with learning Spring by starting with Spring Boot, not the Spring Legacy projects. This is the way modern Spring applications are being built nowadays... :-)

Related

Spring Tools Suit 4 and Spring roo

I cannot create Spring Roo project is Spring tools Suit 4. Do I need to install a plugin? I tried to install Spring Roo plugin from Eclipse market place but no user. Please Help.
The Spring Roo integration from Spring IDE is not part of the Spring Tools 4 for Eclipse distribution. It still comes as part of the Spring Tool Suite 3 for Eclipse, which can be downloaded from https://spring.io/tools3/sts/all, but it is not in active development anymore and receives minimal maintenance only.

What is the difference between Eclipse with Spring IDE plugin and Spring Tool Suite alone?

What's the difference between these
Eclipse with the Spring IDE plugin
Spring Tool Suite (STS) alone
I ask because STS says it's built on top of Eclipse, and I wonder what differences it has over simply using a plugin that adds similar functionality to "vanilla" Eclipse.
It's true, STS is built on top of Eclipse. The difference is only related to another products support from the STS installation, like Roo, Pivotal tc Server, Cloud Foundry and getting started guides, but you could also include this features in your Eclipse installation.
So STS gives a complete solution around Spring features and simplifies the developer environment install, that's the key difference.
As Martin Lippert explains in the forums:
"So you can end-up having the same features in STS and your existing
Eclipse installation after installing the STS features into it."
You could find more details on the Spring forums.
Details on features: STS features and Spring IDE plugin features.
Spring Tool suite has ready to go features specially designed to spring supported projects and cloud environment. And Eclipse is more generic where we've to add the plugins and extensions for our platform setup.
There is already an article about this in DZone Spring IDE and the Spring Tool Suite - Using Spring in Eclipse.
While the Spring IDE project provides a set of plugins for the Eclipse
IDE, the Spring Tool Suite comes as a ready-to-use distribution of the
latest Eclipse releases with the Spring IDE components pre-installed.
This includes the tc Server integration for Eclipse (another IDE
extension that is provided by Pivotal as an open-source project) and
various other additions to Eclipse that turn the pure Eclipse IDE into
a ready-to-use, best-of-breed environment for enterprise Spring
application development.

STS does not allow me to select framework version 4

Is it correct that STS does allow me to select spring framework version 4 when I create a new "Spring Framework" project ?
I have version 3.6.3.SR1 of the Spring Tool Suite.
Looks like some wizards are and may not allow to select the latest Spring Framework from the UI. You can still open pom.xml once the project is created and fix the Spring Framework version in it.
It is advised to use the new "Create Spring Starter Project" wizard available from the Dashboard as well as from the standard File -> New.

Spring MVC + Spring framework 3 + Hibernate 4 + maven 3 in STS of Eclipse 4.3

Hi developers and architects.
Our team is going to develop web application in next project,
with Spring MVC + Spring framework3 + Hibernate4 + Maven3 in STS of Eclipse4.3.
I am so ashamed of myself, but I am a beginner of Spring framework3 and we have not much time ...
Would you tell us NICE sample project or something like "foundation of project" containing these technologies ?
I wish we got happy with Spring in this winter !
best regards.
I'd completely agree with #NimChimpsky to go with Spring's examples.
However, if you want one I wrote a foundation project that uses Hibernate, Spring and jQuery with Maven. It collects data from the ESPN API and runs on Tomcat. Just did it for a simple introduction to Spring and Hibernate for fun one weekend, front end is done with Bootstrap and jQuery, you'll need a MySQL database and a API key from ESPN.
https://github.com/david99world/ESPNPlayerViewer

Spring MVC - GWT integration Using Spring STS

I have a spring mvc-based application using spring STS.
I want to integrate it with GWT , so I can build nice UI.
I saw this.
From this thread
But they weren't using spring sts, and the post is almost 5 years old.
My question is:
Should I stay in my spring mvc project, or should I open a GWT project?
In case I can stay with my spring mvc project, what are the steps I need to do, to perform a connection between my GWT client and my spring Service tier?
Any code example or tutorials will be great!
You can integrate GWT with Spring MVC using Spring MVC REST and GWT JavaScriptObjects.
Take a look at the following GitHub code.
For a more "complicated" example of using JavaScriptObject, look here.