File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Starting a new Java Project using Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Starting a new Java Project using Spring " Watch "Starting a new Java Project using Spring " New topic
Author

Starting a new Java Project using Spring

allan peter
Greenhorn

Joined: Apr 26, 2011
Posts: 6
I am going to start work on a new project which has to be done using spring MVC as the middle tire and front end as JSP .

Can any one advice me how to get start on this ?

To configure Spring what all i have to down load ?

To set a spring frame work what all the steps i have to take ?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30506
    
150

You didn't say what you know so far. If you haven't learned Spring yet, "Spring in Action" and the spring online reference are good places to start. You'll need to learn Core Spring before starting with Spring MVC.

If you have learned Spring already, can you ask a more specific question about getting started?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
allan peter
Greenhorn

Joined: Apr 26, 2011
Posts: 6
I have worked in spring before .

I need to develop a frame work using spring Tech.

1. How do I setup a development environment in Spring tech ?

2. What is folder structure I have to create for my project ?

3. Do i have to install spring or download any jar to set up my development environment ?

4. Do i setup my Dispatcher servlet ?

5. Do i have setup the view resolver ?

6.
H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 450
    
    4
What I did after reading here and there:

1. download STS ide from spring.
2. create a SRPING mvc template. The mvc app structure is done.
There you have the structure template.

3. Then armed with a little/lot of Spring MVC knowlegde, fill in the blank with code...
Then as usual, exceptions come up...
Then solve 1 question at a time.
allan peter
Greenhorn

Joined: Apr 26, 2011
Posts: 6
What is STS ide ?

Have you got any links for it ?
H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 450
    
    4
Spring website.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30506
    
150

allan peter wrote:What is STS ide ?

Have you got any links for it ?

Spring Source Tool Suite IDE is a number of plugins for Spring development pre-bundled into Eclipse. (It also comes with Grails plugins.) You don't need it for Spring development, but it makes things easier - like editing the Spring XML.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30506
    
150

allan peter wrote:1. How do I setup a development environment in Spring tech ?

You download the Spring jars or setup your Maven project and start. If you've worked in Spring before, you can craft a more specific problem that you are having.

allan peter wrote:2. What is folder structure I have to create for my project ?

If you are using Maven, the standard folder structure. Otherwise, whatever you want.

allan peter wrote:3. Do i have to install spring or download any jar to set up my development environment ?

Yes, you need the Spring jars.

Before we move on, have you read this page? It answers lots of questions (like the fact that you need a DispatcherServlet).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Starting a new Java Project using Spring