RMI Compiler

The WebLogic RMI compiler, weblogic.rmic, is used to generate the client-side proxy class and the server-side bytecode. The RMI complier takes as argument the class that implements your remote interface. For example, assume that you have an RMI solution that determines the current status of your application, with a remote interface named BidStatus.class, located in the package com.utility. The associated implementation class is named BidStatusImpl.class. You must run the RMI compiler against BidStatusImpl.class as such:

$ java weblogic.rmic com.utility.StatusImpl -[OPTION]

NOTE

You must use the absolute class name (the class name with the path) when submitting classes to the rmic compiler.

The WebLogic RMI compiler will produce ...

Get BEA WebLogic Server™ 8.1 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.