Sun Java Solaris Communities My SDN Account Join SDN
 
Tutorials & Code Camps

jGuru: UML Definition of RMI Example System

 


[Help | API Docs | Short Course| Exercises]

This exercise intoduces you to defining RMI remote services via Java interfaces. You will use the simple banking system defined by the following UML diagrams:

[UML Banking System: BankManager Defintion]

[UML Banking System: Client Defintion]

[UML Banking System: Account Defintion]

Skeleton Code

Account.java
BankManager.java
Client.java

Tasks


1 Observe the UML Diagram for the banking system

2. Complete the code to define the interfaces in this system

Where help exists, the task numbers above are linked to the step-by-step help page.

When you finish this exercise, you will have written the Java interface definitions for three RMI remote services.

Solution Source

Account.java
BankManager.java
Client.java

Demonstration

There is no behavior, yet. This exercise involves writing source code only.

Next Magercise

Exercises

Short Course

Copyright 1996-2000 jGuru.com. All Rights Reserved.