hi Jakob, Thank you very much for your reply.
I thought of using the web services because it provides an API for the service. I think MBeans can directly depend on the service implementation without going through the web service layer. I have written a draft proposal and I am planning to share it here and I will update it with this information. In my current proposal I am suggesting a central JMX service(JMX connector) which will receive various JMX statistics collected from other modules(such as kiwi, ldpath etc..). This JMX service be inside the marmotta-core module(please see the jira for the patch) and other modules that act without platform will send the stats to this central JMX service. So I think this will help to monitor marmotta modules without depending on the platform. BTW, do you think the list of affecting components that need to fix for MBeans is correct ? Thank you for your time. On Mon, Mar 10, 2014 at 5:55 AM, Jakob Frank <[email protected]> wrote: > On 6 March 2014 23:28, Rajika Kumarasiri <[email protected]> > wrote: > > Now each of these module will generate some statistics that we need to > > expose. For example configurations expose statistics such as > caching.bond_size, > > caching.literal.size, caching.query.enabled or user module expose users > > names, their roles and associated actions. MBeans will be created for > > exposing those statistics in each of the above component. Each of the web > > service will be used to collect the statistics into this MBeans. For > > example configuration related statistics will be gathered from > > > org.apache.marmotta.platform.core.webservices.config.ConfigurationWebService. > > If particular web service need to be improved that will be done as well. > > Why in the the WebServices? IMHO the WebServices are merely > (HTTP/REST)-Access methods to the actual Services in the Background > (so: ConfigurationService, SesameService, to name few) > > One of the ideas of using JMX as statistics infrastructure is to allow > gathering such data also if modules of marmotta (such as kiwi, ldpath, > ldcache, ...) are used without the platform. > > Best, > Jakob >
