Example: Counter/Timer in Java
We will build CORBA object for the Count class using Visigenic VisiBroker ORB on the server, to be used for timing the client/server communication overhead in CORBA
We will use Visigenic ORB on the client which is packaged in every Netscape communicator and so can be driven simply from applets
The following code elements are displayed:
- IDL specification of the Count class (provided by developer)
- Java interface, Server-side Skeleton and Implementation Template, generated by IDL->Java pre-compiler
- Object implementation (CountImpl), constructed by developer by completing the Implementation Template
- Main Server program and Main Client Program, constructed by developer and using the Count object to time the performance of its method invocation
-