I'm in the early stages of the Blackberry / J2ME project - and along with the other limitations that come with this wonderful platform, the lack of thought support and level 1.3 means that the vast majority of existing IoC containers are unusable. (Google has Guice for Android without AOP, but even this requires annotation support).
Thus, the IoC container space on J2ME is quite limited. One frame that caught my attention is called the Signal Framework , and it looks pretty promising. It tries to stay conceptually close to the Spring Framework IoC by implementing a small subset of its functionality and does so without relying on modifying the bytecode or on parsing the xml runtime. Instead, it processes XML configuration files at build time to create Java code that implements this IoC functionality.
Generally speaking, generating code at build time seems like a very wise approach for mobile applications - and if my application needs to do less XML parsing on a user device, that's fine too!
So, what were your impressions of IoC implementation at J2ME / CLDC and how could you put out this bitter taste in your mouth?
source share