InfoQ

News

Eric Newcomer on the future of OSGi

Posted by Mark Little on Jul 13, 2007

Community
Java,
SOA
Topics
Build systems ,
Application Servers ,
Deployment / Datacenter
Tags
OSGi
In an recent interview, Eric Newcomer, IONA's CTO and co-chair of the Enterprise working group in OSGi, talks about his company's interest in OSGi, where he thinks OSGi will be going over the next few years, and why he thinks it has grown in popularity. Eric also has a few words to say on the relevance of OSGi to ESB and SOA, as well as whether or not Sun should become more interested in OSGi.
What is it with OSGi advocates by William H Posted Jul 13, 2007 10:48 AM
Re: What is it with OSGi advocates by Andrew Perepelytsya Posted Jul 13, 2007 11:30 AM
Re: What is it with OSGi advocates by William H Posted Jul 13, 2007 12:06 PM
Re: What is it with OSGi advocates by Neil Bartlett Posted Jul 13, 2007 2:38 PM
Re: What is it with OSGi advocates by Eric Newcomer Posted Jul 13, 2007 2:39 PM
Re: What is it with OSGi advocates by Mark Little Posted Jul 14, 2007 2:36 AM
Re: What is it with OSGi advocates by Gerard Janssen Posted Jul 14, 2007 4:56 PM
  1. Back to top

    What is it with OSGi advocates

    Jul 13, 2007 10:48 AM by William H

    Sun and the members of the JCP are making a huge effort to ensure that it is compatible with OSGi, OSGi will support 277 (after all, 277 has 2 OSGi people on it). But it would be quite wrong for Sun to favour one vednor solution (OSGi) over all the others (Maven, Ivy, etc).

    JSR-277 is a good thing for OSGi. It makes life easier from a JDK perspective for it and the other competing solutions. Bundles/modules become first class citizens on the JVM level. Beyond that, it’s up to the framework (OSGi or whatever else) to provide any value-add stuff they want to. 277 does not limit that. OSGi will offer proprietary extensions on top of the basic spec just like everything else in vendor land. So why do the OSGi people jump up and down all the time.

    It would be rather like if the JBOSS folks were constantly attacking JPA because it didn't solely support hibernate.

  2. Back to top

    Re: What is it with OSGi advocates

    Jul 13, 2007 11:30 AM by Andrew Perepelytsya

    They attack JSR 277 not because it's coming from a JCP, but rather because the spec group blatantly ignored an 8-year experience OSGi brought us, and naively approached the problem with a "don't tell us how to do it, we know better" approach.

    Isn't it the core idea of JCP to embrace industry experience and not reinvent a squared wheel?

  3. Back to top

    Re: What is it with OSGi advocates

    Jul 13, 2007 12:06 PM by William H

    I still don't get what the issue is.

    Members of the JSR-277 expert group include two .NET experts, two OSGi experts who co-authored the R4 modularity spec, Maven's creator and Ivy's creator. Sonds like "embracing industry experience" to me, and exactly what the JCP is supposed to do.

  4. Back to top

    Re: What is it with OSGi advocates

    Jul 13, 2007 2:38 PM by Neil Bartlett

    William,

    Take a look at the expert group mailing list for JSR 277, which is now open to the public (albeit read-only). Having done so, it's really hard to see that the two OSGi experts (Glyn Normington and Richard Hall) are being listened to. It's certainly not from a lack of effort on their behalf. There are numerous areas in the JSR 277 draft spec and the current strawman which are irreconcilable with OSGi: Sun is willfully refusing to learn any lessons from the experiences of OSGi/JSR 291.

    OSGi people are not simply complaining because our favourite module system has not been chosen. That would be childish. The principle reason that we are making so much noise is that JSR 277 is heading towards failure as a module system! It will be hugely damaging to the entire Java community to have a broken module system baked into the JVM.

    I would really like JSR 277 to be a success, but I believe that it should build on OSGi rather than compete with it. Competing APIs are great in some areas (e.g. GUI libraries or XML parsers) but the module system of the platform is not one of those areas. Can you think any other language or platform that has multiple competing module systems?

    Neil.

  5. Back to top

    Re: What is it with OSGi advocates

    Jul 13, 2007 2:39 PM by Eric Newcomer

    By this logic OSGi should be encouraged to recruit JEE experts and define a better alternative to EJB.

  6. Back to top

    Re: What is it with OSGi advocates

    Jul 14, 2007 2:36 AM by Mark Little

    Plus it's wrong to say that "... t would be quite wrong for Sun to favour one vednor solution ..." Have you looked at who's involved with OSGi? Last time I looked it was more than a single vendor! With the exception of Sun, I think all of the usual major JEE suspects are there.

  7. Back to top

    Re: What is it with OSGi advocates

    Jul 14, 2007 4:56 PM by Gerard Janssen

    That's right! Without wanting to oversimplify the issue here. It seems like yet another round of Sun playing the "not invented here" game. Ever since I got acquainted with OSGi it seemed to me like it had solved so many questions of component models, component dependency checking, deployment and upgradeability that most appserver vendors have not yet solved properly and that the official jee standards are not even touching at all.

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.