Posted by editor
on May 23, 2008 at 7:30 AM PDT
The increasing prominence of OSGi... also:
Java Today: TheServerSide's OSGi introduction, adding authentication mechanisms to GlassFish, and podcast interview with the JRuby guys
java.net Poll: What's your interest level in OSGi?
Featured Podcast: j1-2k8-mtT05: Project Wonderland: Community-built Virtual Worlds
Weblogs: Interviewing for architectural awareness, embeddable GlassFish, and hacking invokedynamic into javac
Java Today: How to automate Web Start deployment, http headers in RMI-IIOP, and LWUIT gets java.net forum and mirrored mailing list
The increasing prominence of OSGi
Let me admit something: I don't get OSGi. I'm not saying I don't like it, I just don't really understand what it is or why it matters so much. The Wikipedia article isn't much help either, so over the past few months, I've been quietly nodding my head in seeming agreement as OSGi-related posts show up with increasing frequency among our weblogs. Back in April, Mandy Chung blogged about JSR 277 and OSGi interoperability and Supporting OSGi Bundles in the Java Module System (which kind of sound like the same thing, right?), along with Sahoo announcing you can run GlassFish V3 on OSGi , and Jean-François Arcand spoke at JavaOne about Grizzly's OSGi bundles . In fact, there was a lot of talk about OSGi at JavaOne, as noted by No Fluff speaker Vladimir Vivien , among others.
So, granted, it's a big deal. But still, what the heck is it?
Joseph Ottinger, editor of TheServerSide, has posted the first two installments of a series on OSGi. He says the idea is that he, "as a non-OSGi advocate, would like to take some time to try to explain OSGi to the people who don't know about it." And then he tries to get the definition out in under twenty four seconds:
The twenty-four second explanation: OSGi is a framework for Java in which units of resources called bundles can be installed. Bundles can export services or run processes, and have their dependencies managed, such that a bundle can be expected to have its requirements managed by the container. Each bundle can also have its own internal classpath, so that it can serve as an independent unit, should that be desireable. All of this is standardized such that any valid OSGi bundle can theoretically be installed in any valid OSGi container.
Only problem here is that not only is that longer than 24 seconds, it also doesn't explain why you'd want or need a module system. For the complete story, start with his first article,
OSGi for Beginners , which introduces the concepts of OSGI and shows how to build OSGi bundles, register services, build simple dependencies on other bundles, and look up services from other OSGi bundles. A second article introduces The Whiteboard Pattern for OSGi , advocated by some as a more efficient way to use OSGi, with an eye to its strengths and weaknesses.
And, apropos of the OSGi buzz, the latest java.net Poll asks "What's your interest level in OSGi?" Cast your vote on the front page, then visit the results page for current tallies and discussion.
Also in Java Today ,
the latest in the SDN's series of Enterprise Tech Tips is Ron Monzillo's Adding Authentication Mechanisms to the GlassFish Servlet Container . "This tip will show you how to implement and configure new authentication mechanisms in the GlassFish v2 servlet container. GlassFish v2 includes implementations of a number of HTTP layer authentication mechanisms such as Basic, Form, and Digest authentication. You can use the techniques described in this tip to add alternative implementations of the included mechanisms or to add implementations of new mechanisms such as HTTP Negotiate/SPNEGO, OpenID, or CAS."
In another JavaOne interview podcast, Barton George is Talkin' with Charlie and Tom, the JRuby Guys . Topics include the history of Ruby, Rails, and JRuby, licensing choices, JRuby's integration with GlassFish and NetBeans, the DaVinci machine project, jMaki, and whether we might see a JPerl.
The latest JavaOne Community Corner Podcast is
j1-2k8-mtT05: Project Wonderland: Community-built Virtual Worlds .
In this session, Nigel Simpson and Nicole Yankelovich show a number of different virtual worlds built by members of the Project Wonderland open source community members. Each highlights different aspects of the Wonderland platform and the wide range of possibilities open to developers.
In today's Weblogs , Giovani