Petals Artifacts

compared with
Current by Vincent Zurczak
on Jun 24, 2011 16:11.

(show comment)
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (32)

View Page History
The pictures below try to illustrate the relations between the Petals container and its components.

!illus1_vignet_1.png|border=1! !Components--01.png|border=1!
1. You can deploy any JBI component in Petals ESB.

\\ !illus1_vignet_2.png|border=1! !Components--02.png|border=1!
2. The Petals SOAP component is one of them.

\\ !illus1_vignet_3.png|border=1! !Components--03.png|border=1!
3. You can deploy several components at once.

\\ !illus1_vignet_4.png|border=1! !Components--04.png|border=1!
4. This is true for every JBI component.

The content of the service-unit will be used to emulate a service (the component handles the messages and uses the service-unit resources and configuration to process the messages).

!illus2_vignet_1.png|border=1! !Service-Units--01.png|border=1!
1. A service-unit always target a component.

\\ !illus2_vignet_2.png|border=1! !Service-Units--02.png|border=1!
2. The service-unit content depends on the target component and its version.

\\ !illus2_vignet_3.png|border=1! !Service-Units--03.png|border=1!
3. You can deploy several service-units on a same component.

\\ !illus2_vignet_4.png|border=1! !Service-Units--04.png|border=1!
4. You cannot deploy a service-unit on a different component than the expected target.

More exactly, deploying one of these service-units means deploying them all. And vice-versa for the undeployment.

!illus3_vignet_1.png|border=1! !Service-Assemblies--01.png|border=1!
1. A service-unit cannot be directly deployed in Petals ESB.

\\ !illus3_vignet_2.png|border=1! !Service-Assemblies--02.png|border=1!
2. Instead, it must be deployed through a service assembly.

\\ !illus3_vignet_3.png|border=1! !Service-Assemblies--03.png|border=1!
3. If a service assembly contains a SOAP service-unit, then the SOAP component must have been deployed first.

\\ !illus3_vignet_4.png|border=1! !Service-Assemblies--04.png|border=1!
4. A service assembly can contain several service-units.

\\ !illus3_vignet_5.png|border=1! !Service-Assemblies--05.png|border=1!
5. To be successfully deployed, a service assembly must be deployed only after the components it targets.

\\ !illus3_vignet_6.png|border=1! !Service-Assemblies--06.png|border=1!
6. The service-units of a service assembly can target different components.

These libraries can also be referenced by service-units.

!illus1_vignet_1_bis.png!
!Shared-Libraries--01.png|border=1!
1. Shared-libraries address the need of common libraries between Petals artifacts...

\\ !illus1_vignet_2.png!
\\ !Shared-Libraries--02.png|border=1!
2. ... e.g. between two Petals components.

\\ !illus2_vignet_1.png!
\\ !Shared-Libraries--03.png|border=1!
3. A shared-library can directly be deployed into Petals.

\\ !illus2_vignet_2.png!
\\ !Shared-Libraries--04.png|border=1!
4. Once it is deployed, you can deploy the artifacts that depend on it...

\\ !illus2_vignet_3.png!
\\ !Shared-Libraries--05.png|border=1!
5. ... one after the other.

\\ !illus4_vignet_1.png!
\\ !Shared-Libraries--06.png|border=1!
6. At runtime, the two Petals components will load and use this library.

\\ !illus3_vignet_1_bis.png!
\\ !Shared-Libraries--07.png|border=1!
7. A service-unit which is deployed on a Petals component...

\\ !illus3_vignet_2_bis.png!
\\ !Shared-Libraries--08.png|border=1!
8. ... can reference any of the component's shared library.

\\ !illus3_vignet_2_EJB.png!
\\ !Shared-Libraries--09.png|border=1!
9. That can be very useful for components like the EJB component.