Next:
Introduction
Up:
Programming with Jtrix: The
Previous:
Programming with Jtrix: The
Contents
Introduction
How to read this document
What is Beatrix?
What is Beatrix good for?
High level concepts
Beatrix netlets
Netlet classification
Writing managed netlets
Access points
Workers
Managers
Command line control
Plugins
Anatomy of a Beatrix application
An introduction to plugins
What is a plugin?
The Manager and Worker classes
Flow control
Key plugin principles
The plugin manager and lookup
Adding by class and by instance
Initialisation
Eager initialisation
Shutdown
Identifying plugins
Multiple plugins of the same type
Some plugins are expected only once
One plugin can have multiple types
Nested plugins
Using plugins
The IPluginManager interface
Adding plugins
The order of plugins
Using looked up plugins
Removing plugins
Writing a plugin
A complete and simple plugin
Code structure
The IPlugin interface
Other plugin interfaces
AbstractPlugin
A simple Beatrix application
How to read this code
ISkeletonFacet
AdminServiceProvider
SkeletonServiceProvider
LifeCyclePlugin
SkeletonWorkerManager
SkeletonWorker
Compiling the application
Creating the launch descriptor
Launching and running the application
Launching the application
Running the application
Key plugins and interfaces
Overview
The hooks package
The util package
Essential plugin summary
Application start-up
IManagerLifeCycle
The coldStart IPropertyCollection parameter
Being the leader
Being part of the peer group
Netlet handles
Peer support
Communicating via internal facets
Caching internal facets
ICommunicationServer
When links fail
Being a manager
Management state
Manager support
Deploying and managing workers
IWorkerPool plugin interface
WorkerPool plugin implementation
Worker pool example
Worker life cycle events
Requesting and using resources
Locating resources the simple way
Using resources
Resource concepts in more detail
Why did I need to know that?
Locating resources in more detail
How resource priority is used
Where do resources come from?
Services
Creating a service
Facets added by the ServiceManager
Creating a warrant
Some notes on warrants
Using a service
Managing plugins remotely
Timing events
The launcher console
Launch/management basics
Console commands and variables
The launch process in detail
The launch descriptor in detail
Launch mechanics in detail
Signalling launch success
Writing application commands
IConsoleFacet
Console properties
Even easier consoles
IAdvancedConsoleFacet
Important application aids
X.500 DNs
Warrant security
Creating a key pair
Beatrix and certification
Properties and Oids
The Property class (typed data)
The Oid class
The PropertySet class
Important related concepts
MIBs
Packages and classes
Specialised access points
Debugging and event messages
Event messages
The Debug class
Things to try yourself
jtrixmaker_help.txt
Example Beatrix applications
DNS
Contracts
Actors
Netlet roles
Web server
HTTP service
Webtrix back end
SAS
Services
Netlet roles
About this document ...
Next:
Introduction
Up:
Programming with Jtrix: The
Previous:
Programming with Jtrix: The
Nik Silver 2002-03-09