Hi Shenglin Interesting ideas, but a bit too far reaching :-). Please, don't try to complete the solution in two weeks time, there's plenty of time to make things right :-) Removing the need for MBeanServer is an interesting idea - but it's not what we want to focus upon for this JIRA.
Please concentrate on understanding how JAX-RS works, make sure you are comfortable with JAX-RS annotations, URIs, PathParams, HttpVerbs, etc. Without getting up to speed with JAX-RS you can't have this JIRA done. Make sure you are comfortable with exposing endpoints as RESTful resources and next do a simple exercise of exposing MBeans from the existing MBeanServer and after that we will see what can be optimized, enhanced, improved Thanks, Sergey On Thu, Apr 14, 2011 at 6:44 AM, Shenglin Qiu <[email protected]> wrote: > Hi Sergey: > > I cleared my thoughts, and I think I figured out a little how the exposure > of jmx bean to jaxrs is: > > Currently, everybody has to register mbean to mbean server - MBeanServer, > and this server needs to be started up by given certain endpoint url in a > proper format/configurations. However, cxf 3388 wants to expose mbean from > jaxrs, which implies: we don't need to register mbeans to MBeanServer, or > drastically, remove the relies on MBeanServer and any thing related to > MBeanServer, such as register mbean to MBeanServer, configure MBeanServer, > start the server, shutdown the server and so on. > > Also, I find ManagedBus which wraps Bus is from ManagedComponent. In fact, > any class that implements ManagedComponent could be a potential registered > cxf mbean. Then, the solution is becoming, making these mbeans expose like > any jaxb entity class which are used in jaxrs server, when jaxrs server is > up, these mbeans must be picked up(registered with jaxrs server instead of > MBeanServer) too. > > The issue is I am so comfortable in the role that using CXF as daily job's > lib, didn't really hack into source code much, and I am converting my focus > from cxf user perspective to a provider's perspective. > > I will continue work on it. > > Regards: > Shenglin Qiu > > > > > > > -- Sergey Beryozkin Application Integration Division of Talend <http://www.talend.com> http://sberyozkin.blogspot.com
