Using the RMI Registry Browser
Using their context menus, the following commands can be performed on nodes
for remote or local registries mounted under the RMI Registry Explorer
node (e.g. localhost:1099):
Refresh
updates the subtree of the node from the remote registry
Delete
deletes the node (unmounts the remote registry)
Remote object nodes
Each RMI registry can contain many remote objects. The following operations
can be performed on them:
Customize Bean
customize the stub of a remote object, as with other beans.
Delete
delete an object from its RMI Registry. This option is available only for
local registries - for obvious security reasons, you cannot delete objects
from a remote RMI registry.
Tools | Add to Component Palette
add the serialized stub of the remote object to the Component Palette.
Remote interface nodes
You can also investigate what interfaces are implemented by a remote
object and perform the following commands in relation to them:
Copy Client Code
copies the bootstrap code necessary to obtain a reference to the remote
interface onto the Forte for Java clipboard. You can then paste this code
into your client source code. In general, this code will look like:
try {
interface obj = (interface) Naming.lookup ("//host:port/name")
} catch (Exception ex) {
ex.printStackTrace();
}
Save Interface
saves a local copy of the selected interface to the selected package. This
can be useful when you need a copy of the interface for compilation.
Legal Notices