|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (7)
View Page Historyh1. Features
The 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.
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) that provides services that you can develop directly in Java code.\\
It can be useful to refactor your legacy code as Business logic with this component, or build simple hand made services.
This component is based on the PETALS CDK.\\
Each POJO service is represented by a {{Provides}} section in a POJO Service Unit.\\
This component do not support the CDK {{Consumes}} mode directly. However, it can consume 'sub-services' during the providing of a service, eg an hand made service of orchestration.\\
This component is based on the PETALS CDK.\\
Each POJO service is represented by a {{Provides}} section in a POJO Service Unit.\\
This component do not support the CDK {{Consumes}} mode directly. However, it can consume 'sub-services' during the providing of a service, eg an hand made service of orchestration.\\
{center}
\\
\\
*Figure* *1. FTP POJO component mechanism*
\\ !POJO.png|border=1,width=500,height=294!
{center}
h1. Recommended Usage
{center}
h1. Recommended Usage
Petals FTP binding component expose an FTP connection as a service in the Petals ESB. It allows JBI consumers to call FTP command. A JBI endpoint is registered into the JBI environment, and is linked to an FTP server, with a configured user/password.
To use this service, the consumer has to call explicitely an operation. When the FTP component receives a message exchange from Petals platform, it call the FTP command associate with the jbi operation.
The POJO component is the simple tool to respond to very specific problematics where no standard components can respond.
Il can useful too to provide a mock of a service for development tests, to manipulate the Normalized Exchange properties or attachments as you want.
In some situation, it can be used to expose the Business logic contained in some hand made Java legacy code. This code is executed within the component at runtime, thus it can be render scalable and deployed amongst the Petals ESB domain.
\\
Il can useful too to provide a mock of a service for development tests, to manipulate the Normalized Exchange properties or attachments as you want.
In some situation, it can be used to expose the Business logic contained in some hand made Java legacy code. This code is executed within the component at runtime, thus it can be render scalable and deployed amongst the Petals ESB domain.
\\
{column}
{column:width=25%}
{column:width=25%}