Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
bgColorsilver

Instructions in silver boxes are for the Maven user

Note. As some of these samples create and use local network connections you may need to configure your firewall, if you are running one, to allow the test to run successfully.

Table of Contents
minLevel2
outlinetrue

...

calculator-reference-contribution

This contribution defines a CalculatorServiceComponent which accesses the service version of the component using binding.rmisample extends the calculator sample by replacing the local wired connections with RMI bindings. Instead of local add, subtract, multiply and divide components, an RMI service implementation now provides the add, subtract, multiply and divide interfaces and is hosted as an RMI server. References specified in the .composite file include an RMI binding which targets
this RMI server.

Panel
bgColorpink

The contribution Jar can be built using Ant as follows:

Code Block
cd learning-more/binding-rmi/calculator-reference-contribution
ant

...