|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (10)
View Page HistoryThe POJO (Plain Old Java Object) Service Engine allows to expose your own Java classes as Services. It is useful to refactor your own Business logic as services.
Each POJO service is represented by a provides section in a POJO Service Unit.
This component provides only services and doesn't act as a consumer of service.
This component is based on the PEtALS CDK.
Each POJO service is represented by a provides section in a POJO Service Unit.
This component provides only services and doesn't act as a consumer of service.
This component is based on the PEtALS CDK.
{section}
{column}
{column}
{petalslink:author=llacote|type= FIXME A ADAPTER}
h1. Feature
{petalslink:author=llacote|type= FIXME SECTION À RELIRE ET COMPLÉTER}{petalslink}
The POJO (Plain Old Java Object) component is a Service Engine (SE) which allows to expose your own Java classes as Services. It is useful to refactor your own Business logic as services.
Each POJO service is represented by a provides section in a POJO Service Unit.
This component provides only services and doesn't act as a consumer of service.
This component is based on the PEtALS CDK.
The POJO (Plain Old Java Object) component is a Service Engine (SE) which allows to expose your own Java classes as Services. It is useful to refactor your own Business logic as services.
Each POJO service is represented by a provides section in a POJO Service Unit.
This component provides only services and doesn't act as a consumer of service.
This component is based on the PEtALS CDK.
The SQL component is a Binding Component (BC) which supports SQL instructions in Data Manipulation Language, through the Java Data Base Connectivity API (JDBC).
h1. Exposing a Java class as a POJO service
PROVIDE SERVICE : Expose a Java class as a Service
PROVIDE SERVICE : Expose a Java class as a Service
This component provides a set of X operations:
h2. Usage
These operations are described in an embedded WSDL.
{info}All attachment are processed by using XOP rules.(XML-binary Optimized Packaging : [http://www.w3.org/TR/xop10/] ){info}
{petalslink}
h1. Exposing a Java class as a POJO service
{info}All attachment are processed by using XOP rules.(XML-binary Optimized Packaging : [http://www.w3.org/TR/xop10/] ){info}
{petalslink}
h1. Exposing a Java class as a POJO service
{petalslink:author=llacote|type= Note : Titre du PDF d'où est importée cette section : Chapter 3. POJO Services Specifications}{petalslink}
PROVIDE SERVICE : Expose a Java class as a Service
A Java class acting as a POJO service must follow these rules :
If an exception is raised, depending of the nature of the exception ({{RuntimeException , FaultException}}...) and the pattern, a Fault or an ERROR acknowledgement will be sent.
h2. Usage
h2. Configuration