Beruflich Dokumente
Kultur Dokumente
Agenda
Outline of the problem
Writing self describing services
Managing complexity
Reducing the develop/deploy/test cycle
Implementation difficulties
Agenda
Outline of the problem
Writing self describing services
Managing complexity
Reducing the develop/deploy/test cycle
Implementation difficulties
The Problem
It is a given that you must componentize
Scaling to 1000s of interdependent components
is the major challenge
Separation of development and deployment
Reduce the develop/deploy/test cycle
Achieve code reuse in the large
DEMO
Configuration of a Risk Management Server
Agenda
Outline of the problem
Writing self describing services
Managing complexity
Reducing the develop/deploy/test cycle
Implementation difficulties
Open
Yes
Optional
Required Optional
Auto GUI
Yes
Yes
Built in features
Model
Yes
Agenda
Outline of the problem
Writing self describing services
Managing complexity
Reducing the develop/deploy/test cycle
Implementation difficulties
A component lifecycle
An mbean deployed method at least
Starting JVM
Use a JMX API enabled daemon process
2005 JavaOneSM Conference | Session TS-1188 | 18
Start-up order
Deduce, configure or dont care?
Variations
Maintain consistency between similar but
distinct configurations
Development, UAT and Production
Production and a Failover system
Tokyo Server and New York Server
J.F.C/Swing Applications
Build your own J.F.C./Swing clients from
configurable components, for example:
Charting plugin
Menu Manager
Options property sheet
Agenda
Outline of the problem
Writing self describing services
Managing complexity
Reducing the develop/deploy/test cycle
Implementation difficulties
Testing
Lightweight JMX technology can be used to
deploy components in unit tests
Configure and manage automated tests
Add self tests to your components
Class Loading
Hot deploy components
Reduce the develop-deploy-test cycle
Agenda
Outline of the problem
Writing self describing services
Managing complexity
Reducing the develop/deploy/test cycle
Implementation difficulties
Implementation Difficulties
Complexity of asynchronous lookup
Security and robustness of lookup service
Lack of tool support for RMI activation
Summary
Manageability is the key to building a scalable
distributed server
Self documenting components
Automated lookup
Variations
Q&A
30
Developing a Scalable
Distributed Server with JMX
John Armstrong
Architectural Lead
Yolus Limited
http://www.yolus.com
Session TS-1188
2005 JavaOneSM Conference | Session TS-1188
32