File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 17276

    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 - iOS Apps
    How to Ask Questions the Smart Way FAQ
    I agree. Here's the link:
    subject: spring' role in j2ee project
    It's not a secret anymore!