Spring Tool Suite doesn't have expected project options - spring-tool-suite

I'm trying to follow this tutorial: http://www.codejava.net/frameworks/spring/spring-mvc-beginner-tutorial-with-spring-tool-suite-ide#CreateSpringMVCProject, but STS does not have the same options.
Here's the options they say I should have:
And Here's the options I actually have:
What am I doing wrong here?

The Tutorial is based on Spring Tool Suite IDE 3.2.0, whereas the most recent version is 3.7.something. The option has been renamed to "Spring Legacy Project".

Related

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.

No option to create Roo project is Spring Tool Suite (STS version 3.6.1)

There seems to be no option in STS 3.6.1 to create a Roo app. While Googling I noticed this question for the same problem in version 3.5.0, and the sloution was to install Roo to STS manually as it is no longer included. Sweet, so I did that.
I installed it from the STS dashboard and after installation was complete and STS was re-started the dashboard shows this (so the installation was successful):
And lo and behold... still no option to creat a Spring Roo app!
So... how can I find the option to create a Spring Roo app from within Spring tool Suite?
You must install "Spring IDE - Roo Extension" too:
Then "Create Roo Project" will be ready:
Try to use Help -> Install new software And select SpringSorce Update Site to install Spring-Roo related features.
Anyway, you could run the Spring Roo shell on the systems shell to create the project (STS is great tool, but it isn't required to work with Roo).
Good luck!

Installing Spring ToolSuite in Eclipse

I am starting to develop WebApp using Spring Framework. For that I know I have to use Spring Tool Suite. I went to the Eclipse site for downloads but I am having trouble knowing wich of the four types of downloads suggested in the page below should I choose, sicnce none of them seem to have Spring in its features ?
http://spring.io/tools/eclipse
Any help ?
Just for your consideration I wrote the following tutorials about STS
Installing Spring Tool Suite
Configuring Apache Maven
Getting Started: IDE & Projects
Configuring The Java Working Set
Structuring The Workspace
Complete and more detailed tutorials, available here: Spring Tutorial
Spring Tool Suite is a different download. It can be found here: http://spring.io/tools/sts .
Unless you are using Java EE which btw stands for Enterprise Edition,
I'd recommend just going with
Eclipse Luna -> Eclipse IDE for Java Developers
In addition to the full distribution downloads on http://spring.io/tools/sts (they are ready-to-use Eclipse distributions with pre-installed Spring tooling) you can also use an Eclipse installation and go to the Eclipse Marketplace to install the Spring tooling into your Eclipse instance.

Use Tomcat server with Hibernate and Springsource Tool Suite?

I just installed Springsource Tool Suite as a plugin to eclipse kepler. I need to develop database-driven-web applications with it. I have thought I could do that using hibernate, but the eclipse STS plugin that I found for hibernate seems to only work with jboss server. I want to work with tomcat 7 server. Can someone suggest a good way to use hibernate with STS eclipse and tomcat? Or is there a better way besides eclipse to do database integration with STS eclipse and tomcat? Links to download tools, and to modern tutorials with the current versions of each tool, would be greatly appreciated. I just created a new Spring MVC project using the template in STS eclipse kepler. It would be nice to have tutorials and tools that work with that toolset. Even a fully working database-driven web application sample code to study.
Your requirements as listed below:
Spring Tools Suite : http://www.springsource.org/downloads/sts-ggts (Choose the appropriate version)
For Tomcat 7 to be used on STS , you will need to download it from this link: http://tomcat.apache.org/download-70.cgi
Update to JDK 7. Link: http://www.oracle.com/technetwork/java/javase/downloads/index.html
To setup tomcat 7 in Spring Tools Suite (essentially Eclipse configured for Spring) use this link : http://www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat-7-with-eclipse.html (Follow the same procedure for STS)
You will also need to install a DBMS. Try using MySQL . Download it from : http://dev.mysql.com/downloads/mysql/
Also if you decide to use Eclipse for Spring (I do.. :P ), use this : http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/keplerr
If you decide to use Kepler, you will need to install STS plugin for Kepler. Try: http://marketplace.eclipse.org/content/spring-tool-suite-sts-eclipse-kepler-43#.UhwuRNJkOSo
Try the following link for your first project: http://www.mkyong.com/spring/maven-spring-hibernate-mysql-example/
EDIT: As a developer it is very essential to know what is the standard way of implementing a Spring+ORM application. It's practice to to include Maven as a dependency management tool. Follow the links:
Download Maven: http://maven.apache.org/download.cgi
Setup maven in Eclipse : Setting up new Maven In eclipse
Link to website using maven : Just Google.. :P
As for the no Maven part, try understanding why actually is maven used. Follow the link: http://www.tutorialspoint.com/spring/spring_environment_setup.htm , to setup a spring envirnoment without maven. When you use Hibernate, just add the necessary jars to WEB-INF/lib folder. As simple as that.
Hope it helps. :)

Type of Eclipse project for sample Spring project

In a tutorial at http://static.springsource.org/docs/Spring-MVC-step-by-step/part1.html Spring guys didn't say which Eclipse project they choose to create this sample application. Project icon has S symbol over it, so this isn't a Java project (marked with J symbol).
However, it doesn't look like a Dynamic Web project either.
Could you please explain that S symbol and say which project type is it?
They are using the Spring Eclipse plugin (either that, or they are using the Springsource Tool Suite IDE, based on Eclipse)
With this plugin, a dynamic web project should get you the 'S' you are looking for.
The S just means that the Spring nature is active (and it's either Spring IDE or SpringSource Tool Suite). In Eclipse-speak, I guess you should generate a dynamic web project, but it would be better to generate a Maven Project and import that into Eclipse (then Eclipse will automatically set the correct project type).