How to save worklist in database with embedded engine?

View: New views
4 Messages — Rating Filter:   Alert me  

How to save worklist in database with embedded engine?

by goomap :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

I'm trying the ''A embedding OpenWFE'' in chapter 11 and using
OpenWFE1.7.3pre0 on Windows XP.
The expression store(i.e. engine run date) can be saved in database
via DbPersistedEngine.
I've flowed the instruction in chapter 4 to create the database named
xlob with MySQL.

My problem is: in remote engine, it will save engine run data
(expression store) in openwfe-x.x.x\work\engine\pool and save worklist
data (workitem store) in openwfe-x.x.x\work\worklist\store.
But in embedding engine, I've just seen it save engine run data but
without worklist data.

Is there any possible that I can save worklist data in database, or I
just can use the InMemoryWorkList?

There's another question, what's the benefit of using embedded engine?
I'm confused on it since I compare it with remote engine.

Best Regard,
Goomap


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "OpenWFE users" group.
To post to this group, send email to openwfe-users@...
To unsubscribe from this group, send email to openwfe-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/openwfe-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to save worklist in database with embedded engine?

by John Mettraux :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Feb 20, 2008 12:23 PM, goomap <goomap@...> wrote:

>
> I'm trying the ''A embedding OpenWFE'' in chapter 11 and using
> OpenWFE1.7.3pre0 on Windows XP.
> The expression store(i.e. engine run date) can be saved in database
> via DbPersistedEngine.
> I've flowed the instruction in chapter 4 to create the database named
> xlob with MySQL.
>
> My problem is: in remote engine, it will save engine run data
> (expression store) in openwfe-x.x.x\work\engine\pool and save worklist
> data (workitem store) in openwfe-x.x.x\work\worklist\store.
> But in embedding engine, I've just seen it save engine run data but
> without worklist data.
>
> Is there any possible that I can save worklist data in database, or I
> just can use the InMemoryWorkList?

Hi,

IIRC, it's possible to use the db oriented worklist with the embedded engine.

> There's another question, what's the benefit of using embedded engine?
> I'm confused on it since I compare it with remote engine.

The embedded engine should rather be called the embeddable engine. It
depends on your architectural needs.

There's the communication cost if you use the remote engine. With the
embeddable engine you also have participants (java code) directly at
hand.


Please note that the development of OpenWFE has switched from Java to
Ruby : http://openwferu.rubyforge.org
It's also running decently on top of JRuby, and it's nicer than
OpenWFE. Though I have never tested the DB storage in OpenWFEru over
JRuby.


Best regards,

--
John Mettraux   -///-   http://jmettraux.openwfe.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "OpenWFE users" group.
To post to this group, send email to openwfe-users@...
To unsubscribe from this group, send email to openwfe-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/openwfe-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to save worklist in database with embedded engine?

by goomap :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



> IIRC, it's possible to use the db oriented worklist with the embedded engine.
Hi,

Is there any example about use the db oriented worklist with the
embedded engine?
I've check OpenWFE in 1.6.2. I've seen the file mysql_swis.sql in
openwfe-1.6.2.zip\openwfe-1.6.2\sql\swis\.
I guess maybe I just can store workitems via swis(SqlWorkItemStore) in
version 1.6.2, but cannot in 1.7.3.
> The embedded engine should rather be called the embeddable engine. It
> depends on your architectural needs.
> There's the communication cost if you use the remote engine. With the
> embeddable engine you also have participants (java code) directly at
> hand.
If I want to develop based on Service Oriented Architecture(SOA).
Would you suggest that the "remote engine" or "embedded engine" which
is better for implement?
I think the remote engine is better because it does not need to write
more codes and can reduce the implement cost.
> Please note that the development of OpenWFE has switched from Java to
> Ruby :http://openwferu.rubyforge.org
> It's also running decently on top of JRuby, and it's nicer than
> OpenWFE. Though I have never tested the DB storage in OpenWFEru over
> JRuby.
Ok, I'll go to see OpenWFEru.
Thanks for your advice.

Best regards,
Goomap
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "OpenWFE users" group.
To post to this group, send email to openwfe-users@...
To unsubscribe from this group, send email to openwfe-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/openwfe-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to save worklist in database with embedded engine?

by John Mettraux :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Feb 20, 2008 3:28 PM, goomap <goomap@...> wrote:

>
>
> > IIRC, it's possible to use the db oriented worklist with the embedded engine.
> Hi,
>
> Is there any example about use the db oriented worklist with the
> embedded engine?
> I've check OpenWFE in 1.6.2. I've seen the file mysql_swis.sql in
> openwfe-1.6.2.zip\openwfe-1.6.2\sql\swis\.
> I guess maybe I just can store workitems via swis(SqlWorkItemStore) in
> version 1.6.2, but cannot in 1.7.3.

I really don't remember the details.

> If I want to develop based on Service Oriented Architecture(SOA).
> Would you suggest that the "remote engine" or "embedded engine" which
> is better for implement?
> I think the remote engine is better because it does not need to write
> more codes and can reduce the implement cost.

I wouldn't start a new project based on OpenWFE as the development has stopped.

If you want to stay Java, you might want to check an ESB :

http://mule.mulesource.org/display/MULE/Home
http://servicemix.apache.org/home.html

or directly a BPEL engine :

http://ode.apache.org/


> > Please note that the development of OpenWFE has switched from Java to
> > Ruby :http://openwferu.rubyforge.org
> > It's also running decently on top of JRuby, and it's nicer than
> > OpenWFE. Though I have never tested the DB storage in OpenWFEru over
> > JRuby.
> Ok, I'll go to see OpenWFEru.

I don't know how you want to make your services available (SOAP vs
REST), but if you don't mind using Ruby, OpenWFEru might be a good
candidate for orchestrating your services.


Best regards,

--
John Mettraux   -///-   http://jmettraux.openwfe.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "OpenWFE users" group.
To post to this group, send email to openwfe-users@...
To unsubscribe from this group, send email to openwfe-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/openwfe-users?hl=en
-~----------~----~----~----~------~----~------~--~---

LightInTheBox - Buy quality products at wholesale price