wood burning stoves 2.0*
The moose likes Spring and the fly likes  spring' role in j2ee project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark " spring Watch " spring New topic

spring' role in j2ee project

Chrix Wu
Ranch Hand

Joined: Nov 15, 2009
Posts: 121
can anybody please explain the role of spring in a j2ee project?

we are currently doing a project that uses JBOSS 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% **
    Mark Spritzler

    Joined: Feb 05, 2001
    Posts: 17249

    Unfortunately, that can be an extremely long answer to show you all the benefits that Spring gives you in any project, J2EE or not.

    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 - Tube Organizer
    How to Ask Questions the Smart Way FAQ
    I agree. Here's the link: http://aspose.com/file-tools
    subject: spring' role in j2ee project
    Similar Threads
    Can we use both EJB and Hibernate in the same project
    J2SE abd J2EE
    Shift Operator
    what is demon thread
    What is a "wrapper" class