Is Osgi Rily The Next Big Tng On Java Server Side ?

A Member? Please Login  
type your username and password to login
Date: August 30, 2008, 06:10 AM
234935 members and 135089 Topics
Latest Member: christiansingles
Nairaland [Nigerian Forum] Home Help Search Who is currently online? Login Register
Nairaland Forum  |  Technology  |  Programming  |  Is Osgi Rily The Next Big Tng On Java Server Side ?
Pages: (1) Go Down Send this topic Notify of replies
Author Topic: Is Osgi Rily The Next Big Tng On Java Server Side ?  (Read 119 views)
mydevbox
Is Osgi Rily The Next Big Tng On Java Server Side ?
« on: May 22, 2008, 10:33 AM »

OSGi seems to be getting all the buzz these dayz. As it not uncommon to see Java server side bloggers spitting OSGi. OSGi is just a module  specification by OSGi Alliance. The main theme of the spec is modularization, and component/service orientation. It’s a dynamic module system for Java. I must say that the “technology” has been around for quite some time, and its bin receiving adoption by the open source community.  Ever imagined building modularized apps? I have always believed in apps based on modules but never rily did build apps based on modules because I didn’t just feel competent enof to do it. OSGi gives me the gut! Nywayz, the lumped up monolithic apps still did the job, so why bother. OSGi is probably going  to be the next Big tng on Enterprise Java, as it was made evident in the last JavaOne conference. Almost every meaningful entity on the Java Enterprise bandwagon is going OSGi. Even Sun! The Glassfish community only recently announced their V3 would be OSGi based. IBM, Oracle BEA, JonAs, SpringSource, Jboss etc are not left behind. I must say that SpringSoucre is rily leading the way here in driving OSGi to the Enterprise, with its recent announcement of SpringSource application platform (S2AP). Its not just about war and ear files now, we are looking at par (platform archives). I rily like SpringSource’s offerings, because not only are their products based on OSGi , it offers developers the opportunity to leverage the OSGi power to build apps. The good tng about OSGi is that it’s POJO driven.  Unlike the confusion called EJB. While EJB3 has seen some measures of  improvement, I had gotten off the boat long before its release. Spring framework just feels way lighter and simple. I believe the EJB tng added to the Java is hard commentaries. But I must admit that I have seen shops that  have been very successful with EJB. Tell mi am not smart enof, I would rather say I like my tngs simple. JSR 168 Portlets provide some form of modularity but its nothing compared to OSGi.

Nywayz, back to the OSGi. I recently had an interview, where one of  my interviewers  was saying their dev team had bin working on an upgrade version of their software for over a year now. I guess they must be building  some kind of rocket science software. But, rily, aw much better would it have been if the app was modularized and as such they  cld afford  to have incremental releases such that their esteemed customers cld begin to enjoy enhanced features due to the nature of industry they service. I understand that it’s not all talk when it comes to delivering great production apps. There are plenty of info online on OSGi. While I not too sure if there are plenty of books on OSGi, articles and tutorials would definitely get u wet. I am already playing around the major open source implementations ( Eclipse equinox, Apache felix and Knopflerfish). I shld add that OSGi  is not all server side, client/mobile side Java also use it. Enof said! If u just have about a year or so left in your development career den it might not rily be worth looking at.

So are u finking of leveraging OSGi in your next gig? Java still rules the Enterprise! Share your thoughts on this, or similar offerings on Microsoft .NET platform.
logica
Re: Is Osgi Rily The Next Big Tng On Java Server Side ?
« #1 on: May 22, 2008, 02:19 PM »

I think you're mismatching by comparing JSR-168 with OSGi. From what I just read about it again (been a while i heard of OSGi) the competing technologies should be CORBA, SOAP and in the realm of Java-only frameworks you could mention Jini. It simply seems to be the JavaBean spec on steroids. JSR-168 can as a matter of fact benefit from OSGi but of course that will be implemented in the Portal Server (e.g a Portal Server version of GlassFish can developed. The Portal Server hopefully will be JSR-168 compliant, but the server itself could be based on OSGi. I am not sure if the existing Liferay bundle that's based on GlassFish is OSGi-based simply because GlassFish supports OSGi). OSGi is for Java, JSR-168 is actually more HTML+Javascript. Even though the code that generates and formats the portlets may be Java, in reality it could be any programming language. Of course there are non-Java JSR-168 compliant Portal Servers.
mydevbox
Re: Is Osgi Rily The Next Big Tng On Java Server Side ?
« #2 on: May 23, 2008, 06:01 PM »

I just referenced portlets as providing some form of modularity when it comes to application development. Portlets and OSGi don't actually compete in the same space.

Rily i didnt know they were non-Java JSR-168 compliant Portal Servers.
logica
Re: Is Osgi Rily The Next Big Tng On Java Server Side ?
« #3 on: May 23, 2008, 06:29 PM »

sorry about that. what i had in mind was WSRP not JSR-168. JSR-168 is a java specification. but in general portlets are browser-based and manifest as a bunch of HTML/Javascript code @ the client end.
candylips (m)
Re: Is Osgi Rily The Next Big Tng On Java Server Side ?
« #4 on: May 23, 2008, 08:15 PM »

Very interesting project.
Definately bleeding edge technology right there .

But you most ask yourself, can OSGi power a web application's plugin architecture? It doesn't seem like it (at the moment).
The web application would have to be deployed in an OSGi container to make this possible. Either that, or the web application would have to be an OSGi container itself  Sad
logica
Re: Is Osgi Rily The Next Big Tng On Java Server Side ?
« #5 on: May 25, 2008, 01:37 PM »

that's why i said JSR-168 for instance will benefit from OSGi, since OSGi is a spec for Java code & therefore can only be implemented in the server architecture.

facebook has really done some good stuff with some other portlet providers with the pluggable web-apps they serve. does anybody have an idea what the technology is based on?
candylips (m)
Re: Is Osgi Rily The Next Big Tng On Java Server Side ?
« #6 on: May 27, 2008, 09:56 AM »

Yes all webapps (including portlets) should theoritically benefit from OSGi based on its plugin architecture.

what i am yet to see from the current implementations of the OsGi spec (Equinox for instance) is the fact that you need an OSGi contanier to actually drive this. I see no benefit to this because you can still modularize an app by using webservices all over the place so this begs the question why use OSGi.

I think for OSGi to be widely adopted, app servers or servlet containers need to actually implement the OSGi spec and serve as OSGi containers. Sun probably need to revise its servlet specs to drive this.
mydevbox
Re: Is Osgi Rily The Next Big Tng On Java Server Side ?
« #7 on: May 27, 2008, 11:59 AM »

@candylips
I doubt if a revision of servlet spec is required as most next gen App servers are already providing support, invariably making them OSGi containers of some sort. check out Glassfish v3.

To modularise web apps, based on OSGi u mite want to check out Spring-DM 1.1 project. It comes with out of box support for Tomcat and Jetty web servers. Also, i think another great project for building module based apps is impala.
 Virtual Tour Software  Wots The Best Webhosting Company In Naija - Java/linux  C++ To Java  Page 2
Pages: (1) Go Up Send Topic to Friend by E-mail Reply 
Google
 
Web www.nairaland.com
Sections: TV/Movies (2) Music/Radio (2) Celebrities Job Talk Jobs/Vacancies (2) Career Talk Romance Books Politics Sports Fashion Travel
Health Schooling Religion General(2) Business Webmaster Programming Computers Phones Cars & Trucks

Links: Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10

Nairaland is owned by Oluwaseun Osewa
Nairaland Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.