|
Re: Declarative Services vs Spring: msg#00019ide.eclipse.equinox.devel
This is a multipart message in MIME format. I recommend we move this discussion to the osgi-dev-mPdqGMcIfZjsYSj8pfqilw@xxxxxxxxxxxxxxxx mailing list. You can subscribe to this mailing list at http://bundles.osgi.org/mailman/listinfo/osgi-dev This way we can get the rest of the osgi community involved in any future specification work to Declarative Services. Thanks. Tom
Subbarao, I think you're probably right. Having played with Declarative Services in the last few days, I really miss the flexibility and expressiveness of Spring's DI capabilities. I've just been to a seminar given by Rod Johnson where he mentioned that they are working on OSGi integration with Spring, ie making Spring more dynamic so that it will work properly within an OSGi runtime. That's very exciting for me because I think that OSGi combined with Spring's rich framework and AOP features would be an incredible platform for enterprise services. It would blow away anything previously possible with J2EE and EJB. Unfortunately Rod said that this functionality is probably something that will be in Spring 3.0, where Spring is currently in 2.0 M1. As an alternative from the OSGi side, DS could be made more powerful so it could replace Spring's DI capabilities, while still making use of the other two sides of the "Spring triangle". Neil On 3/1/06, Subbarao Meduri <mkv-r/Jw6+rmf7HQT0dZR+AlfA@xxxxxxxxxxxxxxxx> wrote: Agreed that OSGi is a more dynamic platform, and thus could say constructor injection is not the best thing that components should implement. However, if you take the view that OSGi is also a integration platform for components (where you don't necessarily have control over how a component is designed), it would make sense to me that declarative services support constructor injection. Obviously, it would not be a best practice, but it at least it will not inhibit a component that is not designed to leverage OSGi dynamic features from being integrated into the framework. Thoughts ? Subbarao "Neil Bartlett" < neil-eu3/G5jNAhBOSnsfY10OVw@xxxxxxxxxxxxxxxx>
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: DS optional cardinality question: 00019, BJ Hargrave |
|---|---|
| Next by Date: | Re: DS optional cardinality question: 00019, Subbarao Meduri |
| Previous by Thread: | Re: Declarative Services vs Springi: 00019, Neil Bartlett |
| Next by Thread: | RE: Declarative Services vs Spring: 00019, Hawkins, Joel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |