Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Java WorkFlow Tooling (JWT) » Building JWT workflows between plug-ins contributed to a RCP.
Building JWT workflows between plug-ins contributed to a RCP. [message #27761] Wed, 11 February 2009 11:03 Go to next message
ali Mising name is currently offline ali Mising nameFriend
Messages: 38
Registered: July 2009
Member
Hi guys,

I'm just starting to learn about JWT, but I'm still unsure if there is
some way to leverage it for my specific requirements:

I am building a RCP for plug-ins that provide various functionality
(editors, calculations, etc) for a common data model.
I need to define a workflow to specify the order in which different
plug-ins should perform their specific data model transformations.
The plug-ins which contribute "tasks" to the workflow may not necessarily
be present. For example, the superannuation data should be calculated if
the superannuation plug-in is installed. I don't mind defining where it
should contribute a task on a workflow diagram, but that task should be
ignored if the superannuation plug-in isn't installed. My application is
intended to be a platform for other plug-in development.

Is this something that JWT can assist with, or perhaps some other
technology? Can I define and execute a JWT workflow using tasks
contributed by different plug-ins (that may or may not be present)?

I'm happy to write the workflow engine myself, but it would be a shame to
do that if someone else has already done to the good work.

I'm researching this as quickly as I can, but any assistance would be
fantastic at this stage!
Re: Building JWT workflows between plug-ins contributed to a RCP. [message #27822 is a reply to message #27761] Wed, 11 February 2009 12:38 Go to previous messageGo to next message
Florian Lautenbacher is currently offline Florian LautenbacherFriend
Messages: 61
Registered: July 2009
Member
Hi ali,

you can model the flow of your transformation plugins with the JWT
workflow editor. There, you have the possibility to specify which
"applications" shall be executed. Applications could be Java classes, web
services or also plugins. For the moment, we don't have a specific
subclass for Eclipse plugins, but this part of the metamodel is subject of
change, anyway, so we could include your requirement and implement this,
too.

When the process (the order in which your plugins shall be performed) has
been modeled, then you can execute it. There are currently different
possibilities to execute a process: you can generate XPDL code and deploy
it on a workflow engine such as Bonita; you can also generate BPEL code
and execute it on a web service engine or you can call some Java classes
using the JWT Desktop engine (which is alas still not converted to Eclipse
right now and only available on SourceForge).

I guess since you have specific plugins, you can maybe say execute this
Java class from the plugin? But I'm not sure, how the JWT desktop will
behave with non existant Java classes. I guess for this you will only see
a blank monitor.

The use case of executing several plugins is quite an interesting one
which we didn't look into right now, so any requirements that you have are
interesting for us.

Best regards,

Florian
Re: Building JWT workflows between plug-ins contributed to a RCP. [message #27862 is a reply to message #27822] Wed, 11 February 2009 14:38 Go to previous message
Eclipse UserFriend
Originally posted by: mickael.istria.openwide.fr

Hello ali, hello Florian,

Probably you should take a look at the Modeling Workflow Engine
http://wiki.eclipse.org/Modeling_Workflow_Engine_(MWE) .
This project could be an interesting, light and Eclipse-friendly
workflow engine for your use-case. However, I am not aware of the
current status of this project, and JWT is does not yet allow you to
produce flows in the MWE metamodel (should come one day...).

Hope that helps

Regards,
Mickael

Florian Lautenbacher a écrit :
> Hi ali,
>
> you can model the flow of your transformation plugins with the JWT
> workflow editor. There, you have the possibility to specify which
> "applications" shall be executed. Applications could be Java classes,
> web services or also plugins. For the moment, we don't have a specific
> subclass for Eclipse plugins, but this part of the metamodel is subject
> of change, anyway, so we could include your requirement and implement
> this, too.
>
> When the process (the order in which your plugins shall be performed)
> has been modeled, then you can execute it. There are currently different
> possibilities to execute a process: you can generate XPDL code and
> deploy it on a workflow engine such as Bonita; you can also generate
> BPEL code and execute it on a web service engine or you can call some
> Java classes using the JWT Desktop engine (which is alas still not
> converted to Eclipse right now and only available on SourceForge).
>
> I guess since you have specific plugins, you can maybe say execute this
> Java class from the plugin? But I'm not sure, how the JWT desktop will
> behave with non existant Java classes. I guess for this you will only
> see a blank monitor.
> The use case of executing several plugins is quite an interesting one
> which we didn't look into right now, so any requirements that you have
> are interesting for us.
>
> Best regards,
>
> Florian
>
Previous Topic:Re: SCA and business processes
Next Topic:JWT API ?
Goto Forum:
  


Current Time: Sun Sep 22 11:19:47 GMT 2024

Powered by FUDForum. Page generated in 0.03242 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top