Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Spring vs. I

  1. #11
    Join Date
    Feb 2005
    Location
    Cambridge, UK
    Posts
    37

    Default

    Quote Originally Posted by dejanp View Post
    Xml is more verbose then pure Java code, but I'd say if you would need 100Gb for Spring Xmls you would also need at least 75Gb for equivalent configuration with no Spring.
    And as well as just considering LOC arguments, you have to bear in mind that Spring configuration is not *code*. The Spring XML "language" is minimally complex and expressive, and very amenable to being processed by tools, unlike the equivalent Java. Even if the XML code were twice the bulk, you would have to consider that by taking particular definitions from a more expressive to a less expressive environment you have made a big gain.

    And actually I think all things considered, modern Spring auto-proxying stuff &c will on balance actually *reduce* the size of complex applications - this becomes a constant cost that does not scale with the model size.

    There is a fair "XML backlash" going on at the moment, with Javaites being panned for their lack of DSLs etc. by the declarative types. Bulky and unmanageable schemas such as BPEL, XMI etc. have also contributed to give XML configuration a bad name, but actually I believe Spring's use of XML is really pretty benign, even if it weren't helped along by increasingly great tools.

    In case anyone had missed it, I should point out that SpringIDE is now really pretty stable and capable - http://springide.org/ - just a taste of what is coming down the tool chain.

  2. #12
    Join Date
    Oct 2004
    Location
    Herndon, VA, US
    Posts
    648

    Default

    IMHO, there is also the learning curve aspect in this "is it worth it" discussion. Once you get past the initial curve, it becomes relatively straightforward to add another business service bean to your spring config file.
    --Jing Xue

  3. #13
    Join Date
    Sep 2004
    Posts
    1,086

    Default

    Quote Originally Posted by Bosmon View Post
    And actually I think all things considered, modern Spring auto-proxying stuff &c will on balance actually *reduce* the size of complex applications - this becomes a constant cost that does not scale with the model size.
    Absolutely. One of my applications lost some 20% on size, just by porting to Spring 1.1 (and Spring 1.1 xml was really verbose).

  4. #14
    Join Date
    Nov 2006
    Location
    NC USA
    Posts
    5

    Default

    Sure, I will have a learning curve in any third party framework or tool. I really don't care about that. If it is worth, yes, I will pay the price of the learning curve.

    The good thing that I hear about you is that everybody is happy using Spring and that talks very good about the framework.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •