Spring 101: Does Spring require an application server?

Dear Experts,

I'm trying to understand the most basic stuff about Spring.  First, does it require an application server, like JBoss, to run in?  Or is it an application server itself?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

its based on the context...

you can use Spring in standlone application which doesn't need a server at all.

You can use Spring for a web application which needs a web server!

>>Or is it an application server itself?

No its not a server, its a contaainer which manages beans for you!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
take a look at this, would give an idea what is Spring & use!

BrianMc1958Author Commented:
Excuse me for being such a newbie, but does this mean that Spring could run inside an ordinary JRE, along with J2SE code?  I know Spring is J2EE, but I always thought that implied an application server.  No?
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

spring does not require an app server, it can be used standalone
If you want to use it inside an app server Can I suggest you follow the Spring MVC tutorial (MVC=Model View Controller - read this as good way to set your application out) - Link here http://www.springframework.org/docs/Spring-MVC-step-by-step/overview.html
NOTE: you don't need to do all the steps - The first couple get you started with a basic web-app
NOTE2: I used Tomcat as an application server and it was fine but if you want a nice GUI then try the Sun Application server 9 - all free

If you want an application then use this tutorial http://www.roseindia.net/spring/
NOTE it has a section on What is Spring!!
>>but does this mean that Spring could run inside an ordinary JRE, along with J2SE code?


>>I know Spring is J2EE, but I always thought that implied an application server.  No?

Not exactly, Spring is a framework for both normal and web applications..
BrianMc1958Author Commented:
Thanks very much, folks.  This helps a lot.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.