Borland Software Water System silk perforator java explorer 2006 release 2 Manuel d'utilisateur Page 68

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 110
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 67
64 SilkPerformer Java Explorer User Guide
3 S
ETTING UP TESTS
Testing RMI
The getProductsByName method requires a string as parameter. ’*’ is used as a
wildcard to get all products.
Testing RMI
Java RMI can be achieved using two different protocols, both of which are
supported by Java Explorer:
RMI over IIOP (see “Enterprise JavaBeans & RMI Over IIOP”)
Java Remote Method Protocol (JRMP) (see the following section)
Note Sample RMI and RMI/IIOP projects are available. See “Java
RMI Samples”.
RMI Testing with JRMP
The main difference between testing RMI with JRMP and testing RMI over
IIOP is that with JRMP you need to connect to an RMI registry.
Procedure To test RMI with JRMP:
1 Click the Start Here button to launch Java Explorer’s Load File Wizard.
Alternative You can also right-click Remote Objects in the Classes
pane and select New RMI from the context menu to start the RMI
Wizard directly. Proceed with step 3.
2 Select the RMI radio button and click Next.
3 The RMI Wizard dialog appears. Enter RMI registry settings and a
classpath where the RMI interfaces for the client can be found.
Vue de la page 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 109 110

Commentaires sur ces manuels

Pas de commentaire