• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Direction/Help needed on installing new Spring version 3.0.5.Release

 
Ranch Hand
Posts: 387
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have been googling since yesterday trying to find help in installing the Spring Framework 3.0.5.Release (latest) in Eclipse 3.6 Helios. I cannot find anything on the spring site that helps people get started except for some OLD pages that do not seem to be relevant anymore especially for this latest version of Spring (3.0.5.Release)
.
At any rate, I have a couple of questions in trying to follow a tutorial that I found:

1. This tutorial, written June 2010, assumes there is a dependencies.zip file that I should be able to download but I did not find a dependencies zip for this new version. Consequently I cannot follow, yet again, another tutorial on how to install Spring into Eclipse. There is no longer a spring.jar file and again there is no longer a dependencies file. Very confusing.

2. Is the STS IDE plugin required in Eclipse to work with Spring? I just wanted to use Eclipse's IDE and could not find an answer in the documentation to this question. I'm sure I overlooked it or something but I could not find any reference to it.

I posted this question on a Spring forum but never got a response. Unfortunately, there is no newbie forum for those of us trying to even install the framework. Surely it cannot be this difficult. I'm sure I just haven't found the right help.

Any help/direction would be greatly appreciated. Just need a starting point so that I can start actually learning about Spring.

Regards.
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. I never used any dependencies.zip. When you use Spring, you need a few libraires on which Spring depends (logging...). That zip might be a big fat archive containing all necessary dependencies. Just guessing.

2. You don't need to install the plugin if you just want to try using Spring in Eclipse. It offers some Spring oriented custom features, but you can do without it.

Using Spring in Eclipse is just a matter of including a few jars in your classpath. So it's rather a tutorial on Eclipse than a tutorial on Spring that you need. Do you know maven ? If yes, it should be the easiest way to get started, by including the Spring dependency in your pom file. If you don't use Maven, try this tutorial
 
Ranch Hand
Posts: 88
Spring Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I happen to done some pretty heavy development using spring and eclipse, here's what you need to know:

1. Use RoseIndia (http://www.roseindia.net/spring/) to get on with basics of spring + eclipse.

2. When you download spring archive and include all jars in your classpath (WEB-INF/lib) for the start.
These are present in archive in dist folder. Although I suspect that following jars may be enough for simple desktop based project.
org.springframework.core-3.0.5.RELEASE.jar, org.springframework.beans-3.0.5.RELEASE.jar, org.springframework.context-3.0.5.RELEASE.jar

3. Spring plugin for Eclipse is known as Spring IDE, to install it you have to paste url into software updates within eclipse.
Although, I never used spring IDE. And no Spring IDE (plugin) is not required for spring development.
Only thing it does is validate xmls and annotations of spring inside code.

 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Spring STS is just Eclipse with Spring Plugins pre-installed. It is also skinned with SPring's colors.

I highly recommend downloading STS instead of downloading Eclipse then installing the Spring plugins. It is a much quicker and easier install.

The benefits the plugins give make the experience of developing a Spring application in Eclipse a huge deal. Yes, you can code a Spring app without the plugins, because you will get CTRL-SPACE help in xml, validation, lots of ways to help speed up your development. Almost like I can code Java in Text editor, but why when IDEs make it so much easier.

Mark
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic