FaqRemoteMethodInvocation

(Difference between revisions)
Line 1: Line 1:
-
__NOTOC__
 
__NOTOC__
__NOTOC__
===Is there support for the Java Remote Method Invocation API (RMI)?===
===Is there support for the Java Remote Method Invocation API (RMI)?===

Revision as of 17:32, 6 November 2009

Is there support for the Java Remote Method Invocation API (RMI)?

It is possible. If you want to use static stubs, you can use the Ant task <rmic>; for example, in a plain Java project you can add to build.xml something like this:

<target name="-post-compile">
    <rmic base="${build.classes.dir}" includes="**/*Impl.class"/>
</target>

To use dynamic stubs available in JDK 5, see http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html#rmi


  Applies to: NetBeans 4.0 through 6.5
  Platforms: All
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo