[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 654
  • Last Modified:

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?

Thanks!
BrianMc1958
0
BrianMc1958
Asked:
BrianMc1958
5 Solutions
 
ksivananthCommented:
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!
0
 
ksivananthCommented:
take a look at this, would give an idea what is Spring & use!

http://en.wikipedia.org/wiki/Spring_framework
0
 
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?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
objectsCommented:
spring does not require an app server, it can be used standalone
0
 
mailBoy2Commented:
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!!
0
 
ksivananthCommented:
>>but does this mean that Spring could run inside an ordinary JRE, along with J2SE code?

Yes!

>>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..
0
 
BrianMc1958Author Commented:
Thanks very much, folks.  This helps a lot.

--BrianMc1958
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now