This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.
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
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.
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.