Trying to learn Spring Development, but with a lot of problems

I previously posted a spring based question. This is due to what IDE to use. Since then I downloaded STS.

I am trying to learn spring with this IDE and have tried using books and tutorials that I found on the Internet.

While I'm reading spring ROO COOKBOOK. But this does not show me how to start development in spring.

I am looking for something to try to show with the VERY first step, starting from the moment of installing STS, then start the spring project and make my first web application that will work successfully.

I apologize if what I say is vague and incomprehensible, but I am very confused and just need a clear tutorial that can show me how to start a spring project in STS and take me step by step while this is successfully deployed.

If someone can send me a direct link to something like this, I would really appreciate it.

Again my apologies if it seems vague, what I ask.

+4
source share
3 answers

I am a fan of Eclipse, but not a complete STS, because Eclipse does not hold your hand (and I already know eclipse without STS extensions).

Try:

  • Get Spring Framework 3.0.6 with documents.
  • Start reading the link (it is in the docs directory when unpacking). In chapter 3, they begin with the basics.
  • Create a java project using main ().
  • create the base spring -config.xml file, put it in your project at the top of the src tree. basic == 1 simple bean to start, add by reading the chapter.
  • Start testing with getBean () and System.out.println ().
  • Add to this project when you read the link.
+2
source

STS is one specific tool; You do not need to work with Spring. While this may be helpful, you should understand what happens without it.

All necessary documentation is on the Spring website. In addition, I found a sample application on the pages that were found here .

It’s not very difficult to run. You need to load jar (s), put them in your classpath, create your own configurations that reference the code you write (your components / beans), and do some general configuration, and you are set up. Look at the link that I posted, it looks at the main configurations and code.

If you have any problems, send a specific question about your problem.

0
source

First of all, I have to say that I love STS (I have to write it because of other answers :-))

I know two good Spring Understanding sources next to Reference :

  • Book: Spring In Action
  • If you are a little versed in Spring, you can also check out the tutorials contained in STS! yourself: Dashbord/Tutorials/ (@everybody who never saw this: feature, take a look at it, this is a great way to use Mylyn for tutorials!)

But believe that learning Spring in detail takes several years. Therefore, it is important to understand the basic concepts and learn to read the source code for Spring.

0
source

All Articles