I’m currently searching for replacement for Spring IoC container. I like Spring, but it is very heavy (jars size) even if I use only core features. This is painful for WAR applications, and absolutely unacceptable for Android devices.
So this is what I need:
- The most basic use: IoC only, so this xml-or-so configuration file in which I declare what where to inject. This would be used in Android devices.
- More advanced use. Transaction managemenet included. JDBC helpers included. For use in web/stand-alone applications, but not on android.
I’ve found tapioca, but as I see, it is a new project and not widely-used, so I’m afraid it would be buggy, not very functional and soon abandoned.
So, do you have any (at best good) experience with replacing Spring with lighter IoC container and could recommend me something?
Have you looked at Google Guice? There’s a version for Android called RoboGuice but I haven’t tried it.