Meaningless Drivel is fun!
The moose likes Spring and the fly likes Newbie to Spring - where do I start? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Newbie to Spring - where do I start?" Watch "Newbie to Spring - where do I start?" New topic

Newbie to Spring - where do I start?

Larry Olson
Ranch Hand

Joined: Feb 03, 2009
Posts: 142

I got my SCJP and I am very comfortable with Java. But that definitely ain't good enough in this fast moving world. When I see a job requirement, it starts with "Java developer" as the title and then digresses into the candidate requiring experience in different areas. One of those omnipresent (among several skills like Struts, JUnit, Hibernate, EJB, J2EE...etc.) is Spring.

I don't have much of an idea of what Spring is. I tried to Google it a few times, but got no satisfactory learning material on that that provides a simple working example I could understand for Spring. How far is Spring removed from Java? Besides POJ what are the other pre-requisites for learning Spring?

Where could I get started for a good learning material for Spring? It would be greate if there is a simple "Hello world" example that I could compile, execute etc. Are there any good books? I would love if there is a Head first book for Spring. Does anyone know?

Thanks a lot!
David Newton

Joined: Sep 29, 2008
Posts: 12617

There are countless tutorials, from beginning to advanced--just search.

The idea of a "hello, world" is a bit... misleading, because Spring has many modules--but you probably mean a simple dependency injection/inversion of control example, since that's what's at Spring's heart.

As far as books go, I think Spring in Action is pretty good, but have also used a couple of the Apress books. But at this stage, I'd imagine the Spring tutorials, even just running the examples that come with the distribution or following the Spring documentation, would be enough to get started.
Roman Mazur
Ranch Hand

Joined: Sep 02, 2008
Posts: 42

You can use NetBeans to crate the "Hello world" application.
The tutorials on will guide you haw to install the spring framework and run a sample application.


Elchin Asgarli
Ranch Hand

Joined: Mar 08, 2010
Posts: 222

Just found some free online courses from Spring, but I am not sure how useful they would be for a beginner :

Personal page, SCJP 6 with 91%, SCWCD 5 with 84%, OCMJD
Lanny Gilbert
Ranch Hand

Joined: Jun 11, 2002
Posts: 104
Hi. I noticed that someone posted that you could use NetBeans to create a small, sample app with Spring (and Hibernate)?

What about Eclipse users, such as myself? Is this "tutorial/sample app" available for Eclipse?
I agree. Here's the link:
subject: Newbie to Spring - where do I start?
It's not a secret anymore!