Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

spring' role in j2ee project

 
Chrix Wu
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
     
    Mark Spritzler
    ranger
    Sheriff
    Posts: 17278
    6
    IntelliJ IDE Mac Spring
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    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.

    Mark
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic