This content has been marked as final.
Show 1 reply
-
1. Re: Accessing serial ports from jboss
one_special_user Aug 4, 2006 11:09 AM (in response to meme)OK, this post is a little old :-)
Have a look at JNI (Java Native Interfaces), since you want do do some platform-specific stuff.
Write a Shared Library (*.so / *.dll) with apropriate Method-Names and use it:public class XY { static { System.loadLibrary( "MyLibrary" ); } public native byte[] getBytes() throws SomeException; }
But I'm not sure if the specs allow an EJB to load Libraries... if not - write a standalone - app which subscribes to your Queue/Topic.