This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Starting a new Java Project using Spring

 
allan peter
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34375
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
allan peter
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 471
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is STS ide ?

Have you got any links for it ?
 
H Paul
Ranch Hand
Posts: 471
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spring website.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34375
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34375
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic