• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • Carey Brown
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • fred rosenberger
  • salvin francis

spring' role in j2ee project

 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
     
    ranger
    Posts: 17346
    11
    Mac IntelliJ IDE Spring
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • 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
     
    You showed up just in time for the waffles! And this tiny ad:
    Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    reply
      Bookmark Topic Watch Topic
    • New Topic