InfoQ

Interview

   Good News: We have re-worked our video infrastructure to provide more reliable service. Please email bugs at infoq.com with any problems.

OSGi & Spring In-depth with Adrian Colyer

Interview with Adrian Colyer on Jun 07, 2007 10:57 AM

Community
Java
Topics
Application Servers,
Deployment / Datacenter
Tags
Spring,
OSGi
Summary
Adrian Colyer goes in-depth on OSGi, its uses, future impact on the industry, and how Spring will make development with OSGi easier. Adrian talks about how OSGi may change the definition of an application server and JSR 277 vs. OSGi. According to Adrian, OSGi is going to change the deployment and run time model for enterprise applications.

Bio
Adrian Colyer is CTO of Interface21 (providers of Spring), the leader of the AspectJ project and a well-known industry expert on AOP. He is a co-author of the book "Eclipse AspectJ : AOP in Eclipse with AspectJ and AJDT," and has also published numerous book chapters, articles and published papers.
Adrian tell us about what you are up to these days?
What is OSGi, where does it come from?
So OSGi is at its heart a micro kernel?
How is OSGi being used today?
What impact could OSGi have on application development?
Why is Spring interested in OSGi? What are you guys going to do with it?
What do Spring and OSGi do?
What does Spring OSGi enabled application to look like? What are the moving parts?
What is there in the areas of testability?
Given that OSGi dynamic, modules can come and go. How does Spring handle a situation if a module goes away?
How do you see enterprise applications using this to build more modularity in their code basis?
Why modularize an app using OSGi bundles versus separate WAR files?
I'm trying to think when within an application would it be a good idea and when wouldn't it be a good idea to do that, to use modules that way? I mean within a trust boundary of a development team? Why would you want to hide the user management sub-system?
Who do you see as being the main users of Spring OSGi?
You know how JBI to an ESB provides a way to plug in separate implementations of different parts, could OSGi provide that to the notion of application server?
How does OSGi change the definition of an application server?
The community seams to be moving away from waiting from this next monolithic J2EE specification that says "here is all the things an application server should have?"If OSGi becomes that popular, could there be the expectation or could become the norm to the kind of assemble your own subset of an application server, where different parts evolve separately like the EJB can evolve separately than the JSP portion, and you also wait for this monolithic umbrella spec anymore.
Could Tomcat become basically the stable base you want and things get added to it?
What's your take on JSR 277 vs. OSGi?
What can you tell us for the future given OSGi?
Adrian, what are your 2 favorite computer books?
show all  show all

1 comment

Reply

java needs a standard kenrel by Bill Burke Posted Jun 11, 2007 8:12 AM
  1. Back to top

    java needs a standard kenrel

    Jun 11, 2007 8:12 AM by Bill Burke

    The Java community really needs a standardized kernel. The kludges and hacks that projects like Seam and Spring have to do to bootstrap themselves in different app server environments is just unacceptable. Although I think OSGi is a great place to define this standardized kernel, there is still a lot that needs to be done though. Specifically, we need an abstraction around defining custom packaging formats, a real deployment API, rather than having to create an RFP specification for each package format. A file/archive abstraction that can deal with exploded, unexploded archives and different archive formats like virtual archives. We also need an aspectized approach to deployment so value-add frameworks can augment existing subsystems like Java EE. I talked a little bit about why these abstractions are important in my blog. The JBoss 5 Deployment Framework is where JBoss is heading and where we want to push OSGi. Bill

Exclusive Content

Tapestry for Nonbelievers

A new article by I. Drobiazko and R. Zubairov introduces v. 5 of the Apache Tapestry component-oriented web framework. The tutorial shows how to create a component and covers IoC in Tapestry and Ajax.

Pete Lacey on REST and Web Services

In this interview, Burton Group consultant Pete Lacey talks to Stefan Tilkov about his disillusionment with SOAP, his opinion on REST, and addresses some of the perceived shortcomings REST vs. WS-*.

Business Natural Languages Development in Ruby

Jay Fields presents his concept of Business Natural Languages - a type of Domain Specific Languages geared towards being readable by domain experts.

Distributed Version Control Systems: A Not-So-Quick Guide Through

Adoption and interest for Distributed Version Control Systems is constantly rising. We will introduce the concept of DVCS and have a look at 3 actors in the area: git, Mercurial and Bazaar.

Segundo Velasquez and Agile as Seen Through the Customer's Eyes

Deborah Hartmann interviewed Segundo Velasquez about his experience as customer with an Agile team during the initial phase of software design of a product.

Fine Grained Versioning with ClickOnce

David Cooksey shows how to fine grained versioning to a ClickOnce deployment using an HttpHandler written with ASP.NET, making partial rollouts to a test audience much easier.

Implementing Manual Activities in Windows Workflow

Windows workflow (WF) is an excellent framework for implementing business processes, but lacks support for human activities. This article describes a completely generic approach for changing this.

Markus Voelter about Software Architecture Documentation

In this interview taken during OOPSLA 2007, Markus Voelter talks about the importance of documenting the software architecture, and gives some good and also bad examples on how it could be done.