[ mx4j-Bugs-1703457 ] code contribution

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Bugs item #1703457, was opened at 2007-04-19 08:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1703457&group_id=47745

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: MX4J Tools
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nikolay Chugunov (nikoge)
Assigned to: Nobody/Anonymous (nobody)
Summary: code contribution

Initial Comment:
Attached file provides library for executing java code in running java VM.

Why it’s needed:
Suppose you start system and want to print only some parameter of the system. But parameter contains in map. You write class-file, containing code for execution, which print this parameter. Tell the library where compiled class is located. And then the library executes written code and prints parameter in monitored system.

To execute java code you need enabled following options for monitored system:
1. Start JMX agent for monitored system
2. Put library jar-file to some place, where remote system can read this file.

How it works:
1. Client connects to remote system, loads the jar-file library using javax.management.loading.MLet mbean. 
2. Client registers Runner mbean from the library.
3. Client tells Runner location of code. Runner loads and runs the code.

This library tested with Tomcat, JBoss, Geronimo and stand alone java application.


===================
Also this library contains mbean, which allows upload any data to remote system thru JMX.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1703457&group_id=47745

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mx4j-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mx4j-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.