The InformationWeek -- Blogs

Open Source Blog

Topics:   Mashups : Open Source : SOA : Web Tech

  • Email this page E-mail this page
  • Print this page Print this page
  • Bookmark and Share
  • icon

Java A Steep Climb? 'Carbon' Will Get You To The Peak


Posted by Charles Babcock, Feb 13, 2009 09:25 PM

The OSGi Alliance just celebrated its 10th anniversary. Another vendor consortium congratulating itself? Not exactly. OSGi has done a lot to make Java less of a mountain to climb. It specifies simpler, independent modules of code that can be modified, even when the application is running. And therein lies new opportunity.


Once known as the Open Services Gateway initiative and now known by just its initials, OSGi makes it possible to assemble and run Java components remotely. OSGi specs think in terms of bundles, one or more Java components expected to work together. It also thinks in terms of managing services through an entire software life cycle. Hence, it's an enabler of modern service-oriented architecture for the enterprise, Web services, and service configurations on a scale that we haven't seen before.

How does it do this? An old bugaboo of Java is that fact that its programs have libraries and libraries are easily modified. One programmer works with Library A on a project and finds it works with Library B, version 3. Another programmer is modifying Library C, which works with Library B version 3, provided he modifies it slightly for his system. As libraries proliferate, the two programmers are forced to keep track of each other's modifications; soon they start to lose track of what works with what.

OSGi imposes version control on bundles, keeping a directory of what works with what. If a library gets modified, that's a new library and it doesn't work with what the previous library worked with until somebody proves that it does. Java programmers talk about being stuck in JAR hell. What they mean is, they aren't sure of what library version they're working with. OSGi solves that, along with a number of other build and deploy issues.

In its 10th anniversary announcement, the OSGi Alliance cited its big name members and said they were implementing its standards. "Leading vendors using OSGi technology include IBM's WebSphere, Oracle's WebLogic, Paremus Infiniflow Service Fabric... Red Hat's JBoss, SpringSource's dm Server, and Sun Microsystems GlassFish Enterprise Server. SAP AG has announced that it will use OSGi technology..."

Instead of mentioning SAP, however, the alliance might have mentioned a lesser known entity, WSO2, a Sri Lankan and Mountain View, Calif., development firm with many contributors to the open source Apache Foundation on its staff. WSO2 has implemented OSGi in its newly minted Carbon framework, a lightweight, Web service-oriented set of components.

WSO2 has wisely gone back to the roots of its open source product line and rebuilt it around OSGi bundles to allow existing components to be modified, old components swapped out, and new components swapped in --,on a running application. Sanjiva Weerawarana, CEO, says as new modules are added to a Carbon-based application, they inherit the security and tracking mechanisms already in place on the other modules.

As of today, WSO2 offers a Web Services Application Server, Enterprise Service Bus 2.0, Registry 2.0, and Business Process Server. More pieces to come, including a Mashup Server.

If you believe in the principles of OSGi, then take a look at what you can do with these early elements of the Carbon framework. If nothing else, you'll see why, after OSGi, Java will never be the same.

« CMIS Continues To Gain Momentum | Main | Economic Stimulus Scam: Fake IRS Phishing E-Mail Making Rounds »



Sign Up Now
For InformationWeek News Alerts




This is a public forum. United Business Media and its affiliates are not responsible for and do not control what is posted herein. United Business Media makes no warranties or guarantees concerning any advice dispensed by its staff members or readers.

Community standards in this comment area do not permit hate language, excessive profanity, or other patently offensive language. Please be aware that all information posted to this comment area becomes the property of United Business Media LLC and may be edited and republished in print or electronic format as outlined in United Business Media's Terms of Service.

Important Note: This comment area is NOT intended for commercial messages or solicitations of business.




 
 

  1. Detecting Scalability Problems With Intel Parallel Universe Portal
  2. Just Say No To SFAQL Parallelism
  3. QuickThread: A New C++ Multicore Library


Join The InformationWeek Group On LinkedIn


                           


  1. AT&T, T-Mobile, Verizon All Offering Black Friday Sales
  2. HP Picks Worst Name Ever For New Smartphone
  3. Apple Says Users To Blame For iPhone Virus
  4. Best Buy Rolls Out $99 Android Sale
  5. Google's New Chrome OS Partner: Ubuntu


  1. Apple Accepts PhoneGap For iPhone Development
  2. Apple Seeks Permanent Halt To Psystar Mac Clones
  3. NIST Director Sees Key Role In Emerging Technologies
  4. Sprint Gets Nod To Buy iPCS
  5. FCC Chair Wants More Broadband
  6. Gartner: Data Center Problems Ahead

 

  Ars Technica
Boing Boing
Channel 9 Forums
CRN Blogs
Dr.Dobb's Portal: Blogs
Engadget
Gizmodo
GrokLaw
  Lifehacker
Schneier on Security
Slashdot
TechCrunch
Techdirt
Techmeme
Valleywag

  DECEMBER 2008
NOVEMBER 2008
OCTOBER 2008
SEPTEMBER 2008
AUGUST 2008
JULY 2008
JUNE 2008
MAY 2008
  APRIL 2008
MARCH 2008
FEBRUARY 2008
JANUARY 2008
DECEMBER 2007
NOVEMBER 2007
OCTOBER 2007
SEPTEMBER 2007