Setting up Intellij with Spring MVC framework - spring

I've been Googling and reading a lot but I simply cannot add spring framework to my application.
On the IntelliJ website it says simply click 'Add module' and then under technologies select Spring. The only technology I have available is Groovy?!
Can anyone please help me with this?

The Community Edition of IntelliJ doesn't have the same out-of-the-box support for Spring (and EE development in general) the Ultimate Edition does.
Features and edition comparison
You may still use Spring, but you won't get the same IDE integration.

I would suggest trying the offical spring website tutorial with one of these two Youtube videos:
Official Spring website about Intellij:
Serving Web Content with Spring MVC, Build with your IDE
Youtube video tutorials on setting up spring with Intellij:
Spring MVC with Intellij Full Java Config. No web.xml or Servlet.xml
or
Spring MVC application with Intellij Idea (with xml config)

Related

what is difference between spring framework and spring roo

Can anyone clarify what are the differences between Spring Framework, Spring ROO, and Spring MVC ? I am really puzzled by these similar terms and cannot mangage find an answer.
It's really easy:
Spring Roo is a DEVELOPMENT-TIME tool, similar to Eclipse, IntelliJ, etc.
Spring Framework is a RUN-TIME framework.
Applications generated with Spring Roo at development time use Spring Framework at run time.
Hope this helps.
I do not want to be rude, but also from SO tags we know:
spring
The Spring Framework is an open source framework for application development on the Java platform. At its core is rich support for component based architectures, and it currently has over a dozen highly integrated modules.
https://stackoverflow.com/tags/spring/info
spring-mvc
Based on the Model-View-Controller (MVC) pattern, Spring MVC helps you build web-based applications that are flexible and decoupled from the underlying view technologies.
https://stackoverflow.com/tags/spring-mvc/info
spring-roo
Spring Roo is a lightweight tool aimed at developer productivity. Via an intuitive command line interface it supports operations such as Java web project creation, persistence configuration and view scaffolding. Roo creates a Java web project that uses the Spring framework, and leverage some best ...
https://stackoverflow.com/tags/spring-roo/info
My own brief description would be: Spring framework is the framework providing some functionalities for example dependency injection. Spring MVC is for creating web projects as you mentioned already. Finally Spring Roo is a tool, that helps you increase productivity, I'd say that instead of manual configuration changes you are using this tool.
Hopefully, this was not too brief...

Stuck on Configuring Spring Webflow on Netbeans 7.0

am very new to java ee and am trying to develop an app with JSF. I tried to define my own flow definition "language" 'chuckles' when i realised there had to be an enterprise class plugin out there for the purpose. With the help of google, i then stumbled upon Spring Web Flow and the specs are exactly what i need. I am using NetBeans 7.0 and Glassfish 3.1. Now problem is i have spent two full days trying to figure out how configure the vrious components to work together. I downloaded spring-webflow-2.3.0.RELEASE. I am stuck on the next step. The netbeans 7 i have comes bundled with Spring Framework 3.0.2.RELEASE and Spring Web MVC 3.0.2.RELEASE.
If anyone knows of a good basic guideline on how to configure spring webflow to work with JSF in netbeans, please help me out. Hope i did not sound too stupid.
regards,

SpringSource Tool Suite and GWT without using ROO?

I would like to know if anyone has any experience in using STS to create a Spring-enabled GWT web application without using Spring ROO.
There are 2 scenarios that I have.
I have an existing GWT application (not Spring-enabled, built in Eclipse 3.7) that I want to convert to a Spring-enabled GWT application in STS. I want STS to pick up that this is now Spring-enabled so that I can use the built-in features of STS for Spring.
Create a new GWT web application that is Spring-enabled in STS, but without using Spring ROO.
I have as of yet found no tutorials on how to do either. All the examples that point to creating a Spring-enabled GWT web application in STS use ROO to scaffold it for them.
Sorry if it is a bit unclear what I mean. Feel free to comment and I will try to explain more.
Thanks!
One possibility is to start with a Roo project, enable GWT, and then perform a push-in refactoring. This will remove the Roo dependencies and what remains is a pure spring project that uses GWT.
gwt-spring-starter-app will help you create a maven project with spring & gwt integrated. You can then import it as a maven project into STS. That should get everything correctly setup.

can i use Spring framework for developing JSP application?

I have Eclipse-EE 3.6 IDE...I want to develop a Web Application using JSP and Servlet.
I plan to develop this application using Spring framework.
is it possible...can i use Spring framework for developing JSP application?
can you provide some Tutorials for JSP Application development using spring for beginners.
You can use Spring MVC. Try following tutorials:
http://static.springsource.org/docs/Spring-MVC-step-by-step/
http://www.vaannila.com/spring/spring-mvc-tutorial-1.html
http://maestric.com/doc/java/spring
Thanks.
Yes, you can. JSP is a standard view technology for spring-mvc. I'd recommend the official spring-mvc documentation
Yes, I would say, that this is one of the most done use case for Spring.
Anyway: I strongly recommend to use STS (SpringSource Tool Suite), it is free and based on Eclipse 3.6 Java EE, but provides additional Spring features. For example the some templates for Spring Projects (new Project/SpringSource Tool Suite/Spring Template Project).
And one very interesting Feature: Task Base Tutorials. They are great if you want to lern form an example: Dashbord/Tutorials/

Integrate reports (jasper, Jfreechart) to existing spring mvc project

Please, i need to integrate report (Jasper, JfreeChart, or birt) with an existing web Spring mvc project
This should get you started.
#user310810, I've written a set of tutorials for integrating Spring MVC 3 and Jasper. I've also provided a downloadable Maven build. The tutorials are very detailed. In addition, the application itself is well-commented. Just leave a comment if the tutorials help you :)
http://krams915.blogspot.com/p/tutorials.html

Resources