Benefit of using connector

Hi All,

I am doing reverse engineering of a project which has implemenation of Connector and realized the power of DB connector to perform all required DB operations.

However, I am bit skeptical to use this as I can do the same in my java delegate method (effort is same as connector also required to be developed). Moreover, the connector should be deployed in server lib folder, therefore, the project is depend on scattered component.

I worked on connector and made it generic to be used by multiple projects (This is the only benefit I learned)

Is there any further benefits of connector that maked it non-dispensable.

Abhi

See the comments here: Create a new type of connector

Looks like a delegate is just as good. And less code to write.

What I have also done in a few cases is write a small script lib in js or groovy/java. So you can then configure your commends with a dsl in very basic code of a script task. Have found that it makes lives much easier to copy and paste usage between BPMNs and from documentation. You can also easily plug it into a ide for code completion and get all the type checking