File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
spring' role in j2ee project
Joined: Nov 15, 2009
May 05, 2011 21:53:15
can anybody please explain the role of spring in a j2ee project?
we are currently doing a project that uses
DROOLS rule engine in the backend. and we are not using SPRING.
I just want to know:
what does spring do?
in what contextm spring is a must to use?
is there any alternative framework to spring? for example, in my project, why don't we use spring?
can anybody explain to me in a easy way? really appreciate that.
** SCJP 5.0 84% **
** SCWCD 1.5 76% **
Joined: Feb 05, 2001
May 06, 2011 11:07:31
Unfortunately, that can be an extremely long answer to show you all the benefits that Spring gives you in any project,
But in quick terms of J2EE, it simplifies your development to just writing Plain Java Objects in which all the enterprise services you need are set up through configuration, either xml or Annotations.
You really have to try Spring out and learn it to truly see all the great things that Spring saves you with.
For your #2, I never write an application without Spring anymore, unless it is just a small Groovy command line script I create.
for #3, there is another dependency injection container from Google called Guice.
Perfect World Programming, LLC
Two Laptop Bag
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: spring' role in j2ee project
Can we use both EJB and Hibernate in the same project
J2SE abd J2EE
what is demon thread
What is a "wrapper" class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014