Hi Devs,

OSGi is the buzz
Not the buzz word but a buzz word :)
word we are hearing all over the world these days. There are many OSGi implementation, out of which I would like to my attention to Equinox and Felix.

As you know Axis2 is the hot web services engine world is talking about. So how would we make Axis2 OSGi aware and expose it's functionality with the aid of HttpService. I would say that would be really cool.
When look at the work involve with OSGi I do not think that Axis2 should be OSGi aware , it is ok to have OSGi support as what Dims has implemented but not to the core.

If we are going to do then we are facing a serious problem , where all the services and modules authors have to write their artifacts as OSGI bundles , then we are giving a hard work to our users. Which I am not going to +1 :) . All the users and developers are happy with how Axis2 work now so no need to complicate it , just because OSGi is a buzz word.

So recently I am being working on this and found a cool way to expose Axis2 as a OSGi bundle.

So I was thinking of using OSGi service concept, and I would think of a service interface like follows,

interface Axis2Service {

    public void registerPOJO(String className) throws Exception;

public void registerPOJO(String className, Map messageReceivers) throws Exception;

    public void registerAAR(String location) throws Exception;

    public void registerMAR(String location) throws Exception;
}


Like HttpService, Axis2Service initiate the Axis2 environment, use managed services of HttpService to obtain endpoint information to populate the correct listeners.
What is the rational behind this feature ? do you see any problem with current listeners approach ?

Dims has done some great work regarding JAX-WS and OSGi, so I would say we should go to the next level and make this is a reality. If all devs are ok with this, I would like to get working on this. Oh.. not for Axis2 1.4 of course.
Nope I am not going to +1 this.

Thank you!
Deepal

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to