Service API
1. Overview
2. Consuming Services
3. Providing Services
4. Message Processing
5. API Details
6. Deployment Choices
7. Examples
Overview
The Service API provides a convenient way to consume and provide services in code running on the Java platform. Potential clients of this API include Plain-Old Java Objects, scripts, OSGi bundles, webapps, and any other code that runs inside a Java VM. It's best to think of the Service API as a bridge between code that is hosted outside of a JBI component and service endpoints available on the NMR. JBI components can invoke services provided through the Service API and clients of the Service API can invoke services provided by JBI components. In fact, a JBI component need not be involved if two clients of the Service API simply wish to leverage the NMR as a scalable communication medium.
The Service API leverages the OSGi service registry to publish and discover service consumer and provider instances. Clients of the Service API have an option to write code which interacts with the OSGi service registry directly, but this is not a requirement. A set of annotations are available in the Service API which allow for dynamic injection (consumed services) and extraction (provided services). More details can be found in the API Details section.
This page (revision-30) was last changed on
17-Feb-09 17:08 PM, -0800
by MarkWhite.
This page was created on
09-Dec-08 12:38 PM, -0800 by KeithBabo.
More info...
| Version |
Date |
Author |
Size |
Changes ... |
|
30
|
17-Feb-09 17:08 PM, -0800
|
MarkWhite |
1873 |
to previous
|
|
29
|
01-Feb-09 18:54 PM, -0800
|
KeithBabo |
1778 |
to previous
|
to last
|
|
28
|
01-Feb-09 18:40 PM, -0800
|
KeithBabo |
1775 |
to previous
|
to last
|
|
27
|
28-Jan-09 15:41 PM, -0800
|
KeithBabo |
1728 |
to previous
|
to last
|
|
26
|
28-Jan-09 15:35 PM, -0800
|
KeithBabo |
1686 |
to previous
|
to last
|
|
25
|
28-Jan-09 15:29 PM, -0800
|
KeithBabo |
1300 |
to previous
|
to last
|
|
24
|
11-Dec-08 08:34 AM, -0800
|
KeithBabo |
6977 |
to previous
|
to last
|
|
23
|
11-Dec-08 08:27 AM, -0800
|
KeithBabo |
6448 |
to previous
|
to last
|
|
22
|
10-Dec-08 16:57 PM, -0800
|
KeithBabo |
6411 |
to previous
|
to last
|
|
21
|
10-Dec-08 16:52 PM, -0800
|
KeithBabo |
5515 |
to previous
|
to last
|
|
20
|
10-Dec-08 15:42 PM, -0800
|
KeithBabo |
5506 |
to previous
|
to last
|