File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Merits/Demerits of Spring over Picocontainer & like Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Merits/Demerits of Spring over Picocontainer & like" Watch "Merits/Demerits of Spring over Picocontainer & like" New topic

Merits/Demerits of Spring over Picocontainer & like

Tarun Ramakrishna Elankath

Joined: Mar 27, 2002
Posts: 27
Hi Matt & all.

There is so much of talk of IOC/dependency injection/AOP frameworks and so many containers that seem to do the same thing that one feels bewildered by it.

What's the difference between Spring and Picocontainer for example and are there any merits/demerits of one over the other? As far as I understand it, both do dependency injection and provide a way for POJO's to execute a container environment.

[ October 27, 2004: Message edited by: Tarun Ramakrishna Elankath ]
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
Pico container is the very lightweight container. There you must do everything programmaticaly. Instead puttin above of ti Nano you will have something not so-far from Spring. I think that IoC/DI solutions are not too far apart (maybe only the type of supported DI can differentiate them).


blog -
I agree. Here's the link:
subject: Merits/Demerits of Spring over Picocontainer & like
jQuery in Action, 3rd edition