After reading through the postings concerning the use of EJB objects attempting to 
access jni it is apparent that this is verboten.  Does anyone know (security issues 
aside for the moment) if it is possible to use plain RMI to access a java/jni combined 
application running on a separate machine and if yes how the invocation would look?   

We presently have a simple java/jni application that is accessed as a server by using 
the open source transparent RMI prouct, TRMI. Retrieving the remote object is quite 
simple the client has one statement:
DataScanner engine = (DataScanner)trmi.Naming.lookup(rmi://127.0.0.1/Data_Scanner); 
 and then all methods are available to the caller.  The problem we've run
into is a single copy on a single machine doesn't scale and doesn't offer any 
failover.  We are looking at JBoss and EJBs as an approach for access to multiple 
instances and failover but we would like to reuse as much of our existing components 
as possible.  We look at JCA in JBoss but that seems like over kill for what we are 
doing.  Any help would be appreciated.
...JohnM

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832944#3832944

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832944


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to