|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (13)
View Page Historyh1. Definition
*Croquis*'s English translation is _Sketch_.
However, since many Petals users are French and that _sketch_ has another meaning in French, the word *Croquis* was retained.
However, since many Petals users are French and that _sketch_ has another meaning in French, the word *Croquis* was retained.
{column}
{column:width=350px}
{column:width=350px}
A synonym (and transparent word in French) is [*croquis*|http://encyclopedia.thefreedictionary.com/croquis].
If initially, the word "sketch" _sketch_ was used in the studio, it is now progressively replaced by the word *croquis*.
h2. Croquis
Petals Studio introduced the notion of sketch (or croquis, that's the same) for BPEL.
But this notion may also be extended to EIP and SCA.
But this notion may also be extended to EIP and SCA.
Petals Studio first introduced the notion of croquis for BPEL and was planned to be extended for other Petals components.
Although there is no more BPEL croquis, the concept still exists in the studio.
Although there is no more BPEL croquis, the concept still exists in the studio.
\\
A croquis is a Petals project that contains resources to generate Service-Unit (SU) and Service Assembly (SA) projects.
A croquis is a Petals project that contains resources to generate Service-Unit (SU) and Service Assembly (SA) projects.
Croquis are Petals projects that contain resources to generate Service-Unit (SU) and Service Assembly (SA) projects.
They aim at simplifying the use of some components, that may be complicated to work with a usual approach (i.e. with a SU project).
\\
\\
Let's take the example of BPEL. BPEL processes to be run in Petals must respect some constraints that do not apply in other servers (e.g. Apache ODE or OW2 Orchestra). Indeed, such elements are always service providers, but are also service consumers. Petals sets constraints about these consumers: *any service being consumed by a Petals BPEL process must be a Petals service*. A BPEL process that is executed in Petals cannot directly invoke a service that is hosted outside the bus. This external service must be _imported_ (_made visible_ would be a better expression) in Petals first.
Let's take the example of EIP. EIP are usually used in chains. A single EIP is very often useless in real life cases.
With the Petals EIP component, every EIP results in a service unit. So, EIP SU can be created individually, but it is hard task.
With the Petals EIP component, every EIP results in a service unit. So, EIP SU can be created individually, but it is hard task.
\\
If the calls did not target Petals services, then the messages would not go through the bus.
And therefore, the bus would be useless for them.
If the calls did not target Petals services, then the messages would not go through the bus.
And therefore, the bus would be useless for them.
This is why an EIP croquis was created.
It proposes a graphical editor to build an EIP chain. Once the chain is done, it can be exported into SU and SA projects that can be deployed in Petals.
It proposes a graphical editor to build an EIP chain. Once the chain is done, it can be exported into SU and SA projects that can be deployed in Petals.
With a sketch project, you do not have to worry about whether a consumed service is a Petals service or not.
A croquis allows you to design your BPEL process independently of Petals constraints.
Such a project can then be transformed into a set of concrete Petals projects, updating if necessary the BPEL artifacts to make them run in Petals.
Amond the generated projects, there can be those which import the external services in Petals.
A croquis allows you to design your BPEL process independently of Petals constraints.
Such a project can then be transformed into a set of concrete Petals projects, updating if necessary the BPEL artifacts to make them run in Petals.
Amond the generated projects, there can be those which import the external services in Petals.
h1. Croquis in action
\\
The export of a croquis results in the introspection of the croquis' resources (e.g. *.bpel files) and in the proposals of SU and SA projects to create.
Then, you have to follow the indications on the screen (or to read the documentation associated with every croquis type).
!PetalsStudio_Sketch_2.jpg!