Test Patterns
(RMI Functionality)
Pojo Application Server
These design test patterns are from very early work on Harbor.
They are interesting study for those that wish to understand the RMI functions in Harbor, and come in handy once you cotton onto the concept.The best learning path is to first look at the Tutorials, and then study the full examples, you will see the Coherent Diffusion pattern a lot quicker. Study these patterns once you get going, it will give you another view on this amazing technology.
Harbors RMI, is the easiest in the world, and Coherent Diffusion uses that in a design pattern that makes Harbor do what no other application server can do... run pure Java applications.
POJO Application Server (Coherent Diffusion(Harbors RMI)) its all related.
What you are about to see, are very simple snippets of
code.
Things like instancing a class, things like passing one object into
another, as well as things like displaying a simple user interface,
and passing a few strings around.
In this environment normal POJO cannot do these things. This is because in these tests,
these things are happening over the wire.
For example, the class that is being instanced, may not be on the
machine where the code is running, or similarly local code may
inject one remote object into another.
If you want to leave study for later, and just want to see a full demo, have a look at the Mailer or Db Demo, the source code is listed there as well.
These tests are all listed in the side bar, and contain
the notes from the Pojo Application Server's inventors early work.
Those notes are not perfectly accurate any more, but are insightful.
Harbor Symbol
Test Patterns
AdvancedClassRepositoryControl
AccessControl
(Deprecated - see Security)
UIapp (CD)