20.weeks.ago vs. java.util.Calendar Twinkle: Swing/OpenGL Photo Viewer
Dec 14

Spring 2.x: Two pain points solved

Java, Lightweight Containers, Tech Add comments

It has been great to hear about the new Spring 2.0 features. There are a few much needed ones, but I was particulay interested to see solutions to pain points that I currently have:

Scoping

I discussed cleaning up scoping with JSF and Spring. The ugliness of having a jsf:scope attribute added via schema, and generated files is no more.

Spring 2.0 supports richer scopes, including web based ones (http session, request, etc) ThreadLocal, webflow conversations, and others. Being able to set the scope to these high level abstractions is needed.

Injecting Domain Objects

I run into, and need to use custom code for this one all the time. I want to inject a lot of the objects that I work with. One of the issues is that you want Spring to be in charge of the objects that you with to inject.

A common area in which this isn’t the case is when you get objects from your persistence store (e.g. hibernate). Having to have routines takes these objects and inject them is a pain, as we want this code hidden.

This is where Spring 2.0 comes into play. It allows you, via AOP, to go into these domain objects and wire them up correctly.

Very, very, nice.

23 Responses to “Spring 2.x: Two pain points solved”

  1. Jason Zhicheng Li Says:

    I think the simplified XML configuration is also significant. It will noticeably increase the readability and manageability. The old syntax is verbose and the configuration file can become unwieldy when many beans are defined.

  2. Wolfgang Wopperer Says:

    (Shameless Plug)

    Looking forward to Spring 2, of course, for the time until its release I recommend to have a look at JSF-Spring (http://jsf-spring.sourceforge.net/) in its latest incarnation. It allows easy scoping of Spring-managed beans and some other wicked stuff.

  3. ativan Says:

    I think this topic is very different and should be more pages like this,Your
    comment says a lot of truth, it’s very actually, and I’d like to invited you
    to visit my page:10/325-
    Vicoprofen – Lortab- Tylenol
    #3- Ativan
    All Major Medications are available right here at: http://www.crdrx.com

  4. Efthimios Says:

    Keep up this great resource
    extra strength tylenol tylenol ingredient tylenol pain infant tylenol dosage
    [url=http://tylenol.exegma.info/tampering-tylenol.html] tampering tylenol [/url][url=http://tylenol.exegma.info/damage-liver-tylenol---.html] damage liver tylenol [/url][url=http://tylenol.exegma.info/codeine-dose.html] codeine dose [/url]

  5. diller Says:

    http://emeraldring.fora.pl/
    [URL=emerald cut wedding ring]http://emeraldring.fora.pl/[/URL]
    http://emeraldring.fora.pl/ – emerald cut wedding ring

  6. Andrew Says:

    Hi, nice very nice page..!
    [URL=allfunds.free-site-host.com/globe-fund/index.html]fund raising strategy[/URL]
    fund of hedge funds
    [URL=allfunds.free-site-host.com/church-fund-raising-idea/index.html]mutual fund company[/URL]
    fund of hedge funds
    [URL=allfunds.free-site-host.com/world-wildlife-fund/index.html]globe fund[/URL]

    Good luck !
    PS: do you listen Linkin Park ?

  7. Andrew Says:

    Hi, nice very nice page..!
    [URL=allfunds.free-site-host.com/globe-fund/index.html]fund raising strategy[/URL]
    fund of hedge funds
    [URL=allfunds.free-site-host.com/church-fund-raising-idea/index.html]mutual fund company[/URL]
    fund of hedge funds
    [URL=allfunds.free-site-host.com/world-wildlife-fund/index.html]globe fund[/URL]

    Good luck !
    PS: do you listen Linkin Park ?

  8. Demens Says:

    Hi, nice very nice page..!
    [URL=allfunds.free-site-host.com/mutual-fund-company/index.html]provident fund[/URL]
    [URL=allfunds.free-site-host.com/mutual-fund-company/index.html]fund of hedge funds[/URL]
    [URL=allfunds.free-site-host.com/high-school-fund-raiser/index.html]provident fund[/URL]
    fund raising strategy – allfunds.free-site-host.com/church-fund-raising-idea/index.html
    fund of hedge funds – allfunds.free-site-host.com/world-wildlife-fund/index.html

    Good luck !
    PS: do you listen Linkin Park ?

  9. Oppers Says:

    Hi, nice very nice page..!
    nonprofit fund raising
    [URL=allfunds.free-site-host.com/mutual-fund-company/index.html]globe fund[/URL]
    globe fund – allfunds.free-site-host.com/non-profit-fund-raising/index.html
    mutual fund company
    provident fund – allfunds.free-site-host.com/nonprofit-fund-raising/index.html

    Good luck !
    PS: do you listen Linkin Park ?

  10. Oppers Says:

    Hi, nice very nice page..!
    nonprofit fund raising
    [URL=allfunds.free-site-host.com/mutual-fund-company/index.html]globe fund[/URL]
    globe fund – allfunds.free-site-host.com/non-profit-fund-raising/index.html
    mutual fund company
    provident fund – allfunds.free-site-host.com/nonprofit-fund-raising/index.html

    Good luck !
    PS: do you listen Linkin Park ?

  11. Oppers Says:

    Hi, nice very nice page..!
    nonprofit fund raising
    [URL=allfunds.free-site-host.com/mutual-fund-company/index.html]globe fund[/URL]
    globe fund – allfunds.free-site-host.com/non-profit-fund-raising/index.html
    mutual fund company
    provident fund – allfunds.free-site-host.com/nonprofit-fund-raising/index.html

    Good luck !
    PS: do you listen Linkin Park ?

  12. assqq Says:

    conservation dedicated organization profit
    dedicated organization policy profit public
    conservation dedicated organization profit
    dedicated organization policy profit public
    conservation dedicated organization profit
    dedicated organization policy profit public
    conservation dedicated organization profit
    dedicated organization policy profit public
    conservation dedicated organization profit
    dedicated organization policy profit public
    conservation dedicated organization profit
    dedicated organization policy profit public
    conservation dedicated organization profit
    dedicated organization policy profit public
    conservation dedicated organization profit
    dedicated organization policy profit public
    http://profit1.free-site-host.com/china-from-investment-profit-us/dedicated-organization-policy-profit-public.html
    http://profit1.free-site-host.com/dedicated-organization-profit/conservation-dedicated-organization-profit.html

  13. assqq Says:

    conservation dedicated organization profit
    dedicated organization policy profit public
    conservation dedicated organization profit
    dedicated organization policy profit public
    conservation dedicated organization profit
    dedicated organization policy profit public
    conservation dedicated organization profit
    dedicated organization policy profit public
    conservation dedicated organization profit
    dedicated organization policy profit public
    conservation dedicated organization profit
    dedicated organization policy profit public
    conservation dedicated organization profit
    dedicated organization policy profit public
    conservation dedicated organization profit
    dedicated organization policy profit public
    http://profit1.free-site-host.com/china-from-investment-profit-us/dedicated-organization-policy-profit-public.html
    http://profit1.free-site-host.com/dedicated-organization-profit/conservation-dedicated-organization-profit.html

  14. Asya Says:

    Hi, nice page.!
    look on my pages:
    associate international profit sbrb

    ok.. bitte

  15. Asya Says:

    Hi, nice page.!
    look on my pages:
    associate international profit sbrb

    ok.. bitte

  16. Asya Says:

    Hi, nice page.!
    look on my pages:
    associate international profit sbrb

    ok.. bitte

  17. Berrip Says:

    Hi, nice page.!
    look on my pages:
    associate international news profit

    ok.. bitte

  18. Berrip Says:

    Hi, nice page.!
    look on my pages:
    associate international news profit

    ok.. bitte

  19. Kimmen Says:

    Hi, nice page.!
    look on my pages:
    conservation dedicated organization profit

    ok.. bitte

  20. Kimmen Says:

    Hi, nice page.!
    look on my pages:
    conservation dedicated organization profit

    ok.. bitte

  21. assqq Says:

    porsche 911 rs
    [URL=http://porschea.free-site-host.com/porsche-911/index.html]porsche 911 rs [/URL]
    porsche 911 rs – http://porschea.free-site-host.com/porsche-911/index.html
    2007 porsche 911 turbo photo
    [URL=http://porschea.free-site-host.com/porsche-911-turbo/index.html]2007 porsche 911 turbo photo[/URL]
    2007 porsche 911 turbo photo – http://porschea.free-site-host.com/porsche-911-turbo/index.html
    gmc custom truck part
    [URL=http://gmca.free-site-host.com/gmc-part-truck/index.html]gmc custom truck part[/URL]
    gmc custom truck part – http://gmca.free-site-host.com/gmc-part-truck/index.html
    gmc truck dealer houston
    [URL=http://gmca.free-site-host.com/dealer-gmc-truck/index.html]gmc truck dealer houston[/URL]
    gmc truck dealer houston – http://gmca.free-site-host.com/dealer-gmc-truck/index.html

  22. assqq Says:

    porsche 911 rs
    [URL=http://porschea.free-site-host.com/porsche-911/index.html]porsche 911 rs [/URL]
    porsche 911 rs – http://porschea.free-site-host.com/porsche-911/index.html
    2007 porsche 911 turbo photo
    [URL=http://porschea.free-site-host.com/porsche-911-turbo/index.html]2007 porsche 911 turbo photo[/URL]
    2007 porsche 911 turbo photo – http://porschea.free-site-host.com/porsche-911-turbo/index.html
    gmc custom truck part
    [URL=http://gmca.free-site-host.com/gmc-part-truck/index.html]gmc custom truck part[/URL]
    gmc custom truck part – http://gmca.free-site-host.com/gmc-part-truck/index.html
    gmc truck dealer houston
    [URL=http://gmca.free-site-host.com/dealer-gmc-truck/index.html]gmc truck dealer houston[/URL]
    gmc truck dealer houston – http://gmca.free-site-host.com/dealer-gmc-truck/index.html

  23. assqq Says:

    porsche 911 rs
    [URL=http://porschea.free-site-host.com/porsche-911/index.html]porsche 911 rs [/URL]
    porsche 911 rs – http://porschea.free-site-host.com/porsche-911/index.html
    2007 porsche 911 turbo photo
    [URL=http://porschea.free-site-host.com/porsche-911-turbo/index.html]2007 porsche 911 turbo photo[/URL]
    2007 porsche 911 turbo photo – http://porschea.free-site-host.com/porsche-911-turbo/index.html
    gmc custom truck part
    [URL=http://gmca.free-site-host.com/gmc-part-truck/index.html]gmc custom truck part[/URL]
    gmc custom truck part – http://gmca.free-site-host.com/gmc-part-truck/index.html
    gmc truck dealer houston
    [URL=http://gmca.free-site-host.com/dealer-gmc-truck/index.html]gmc truck dealer houston[/URL]
    gmc truck dealer houston – http://gmca.free-site-host.com/dealer-gmc-truck/index.html

Leave a Reply

Spam is a pain, I am sorry to have to do this to you, but can you answer the question below?

Q: Type in the word 'ajax'