I am using the comm library for serial port communication from an MBean. My MBean code
do not have any problems to find the classes.
Play around with it a bit more!
You can make the MBean an RMI object or use the RMIAdapter.
I also saw something in the Admin documents about client access
to MBean
Thanks for the reply, but it still does not work. I had already put all these files
into the correct directory, but I still get a NoClassDefFound exception when deploying
my mbean. But the same code works in my standalone client appliciation.
Seems as if JBoss needs a special hint to know where
Put the comm-files in the following JDK directories:
j2sdk/jre/lib/javax.comm.properties
j2sdk/jre/lib/ext/comm.jar
j2sdk/jre/lib/i386/win32com.dll (or equivalent for linux)
You can access an MBean remotely, but normal usage is to use the MBean as a framework
for your application. Gives you a ni