SCA WS-BPEL - Initial support available

2007-09-15 Thread Luciano Resende
This is a quick note to let the community know that I managed to get
initial WS-BPEL component implementation ready just in time for our
SCA 1.0 release. As described in  [1] and [2], we can now invoke
executables WS-BPEL process from an SCA runtime. As for a WS-BPEL
engine, we are using Apache ODE [3][4].The current implementation.bpel
is available in trunk at [5] and you can see a simple helloWorld BPEL
process being invoked. I'm working on a new sample to better
demonstrate the usage of this new component type, I'll also look into
references as well.

I'd also like to Thank all the help from the ODE community, especially
Matthieu Riou.


[1] http://osoa.org/display/Main/SCA+BPEL+White+Paper
[2] 
http://osoa.org/download/attachments/35/SCA_ClientAndImplementationModelforBPEL_V100.pdf?version=1
[3] http://ode.apache.org
[4] http://www.infoq.com/articles/paul-brown-ode
[5] 
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/modules/implementation-bpel/

-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SCA WS-BPEL - Initial support available

2007-09-15 Thread Jacek Laskowski
On 9/15/07, Luciano Resende [EMAIL PROTECTED] wrote:
 This is a quick note to let the community know that I managed to get
 initial WS-BPEL component implementation ready just in time for our
 SCA 1.0 release. As described in  [1] and [2], we can now invoke
 executables WS-BPEL process from an SCA runtime. As for a WS-BPEL
 engine, we are using Apache ODE [3][4].The current implementation.bpel
 is available in trunk at [5] and you can see a simple helloWorld BPEL
 process being invoked. I'm working on a new sample to better
 demonstrate the usage of this new component type, I'll also look into
 references as well.

Congrats for your hard work Luciano! Can't wait till I give it a try.
I wonder whether there're any samples you dream of having in Tuscany
distro, but don't have time to work on? Could you share some ideas?

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SCA WS-BPEL - Initial support available

2007-09-15 Thread Matthieu Riou
Super! Thanks Luciano!

Matthieu

On 9/15/07, Luciano Resende [EMAIL PROTECTED] wrote:

 This is a quick note to let the community know that I managed to get
 initial WS-BPEL component implementation ready just in time for our
 SCA 1.0 release. As described in  [1] and [2], we can now invoke
 executables WS-BPEL process from an SCA runtime. As for a WS-BPEL
 engine, we are using Apache ODE [3][4].The current implementation.bpel
 is available in trunk at [5] and you can see a simple helloWorld BPEL
 process being invoked. I'm working on a new sample to better
 demonstrate the usage of this new component type, I'll also look into
 references as well.

 I'd also like to Thank all the help from the ODE community, especially
 Matthieu Riou.


 [1] http://osoa.org/display/Main/SCA+BPEL+White+Paper
 [2]
 http://osoa.org/download/attachments/35/SCA_ClientAndImplementationModelforBPEL_V100.pdf?version=1
 [3] http://ode.apache.org
 [4] http://www.infoq.com/articles/paul-brown-ode
 [5]
 https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/modules/implementation-bpel/

 --
 Luciano Resende
 Apache Tuscany Committer
 http://people.apache.org/~lresende
 http://lresende.blogspot.com/

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: svn commit: r551409 - in /incubator/tuscany/java/sca/modules/implementation-bpel: lib/ lib/maven-artifact-ant-2.0.4-dep.jar pom.xml src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/Emb

2007-06-28 Thread ant elder

How come this ant jar needs to be checked into our svn and can't be got like
usual maven dependencies? (just trying to understand whats going on)

  ...ant

On 6/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Author: lresende
Date: Wed Jun 27 17:03:00 2007
New Revision: 551409

URL: http://svn.apache.org/viewvc?view=revrev=551409
Log:
TTUSCANY-1394 - Applying patch from Mathieu Riou

Added:
incubator/tuscany/java/sca/modules/implementation-bpel/lib/
incubator/tuscany/java/sca/modules/implementation-bpel/lib/maven-
artifact-ant-2.0.4-dep.jar   (with props)
Modified:
incubator/tuscany/java/sca/modules/implementation-bpel/pom.xml

incubator/tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/EmbeddedODEServer.java


Added: incubator/tuscany/java/sca/modules/implementation-bpel/lib/maven-
artifact-ant-2.0.4-dep.jar
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-bpel/lib/maven-artifact-ant-2.0.4-dep.jar?view=autorev=551409
==

Binary file - no diff available.

Propchange:
incubator/tuscany/java/sca/modules/implementation-bpel/lib/maven-
artifact-ant-2.0.4-dep.jar
--

svn:mime-type = application/octet-stream

Modified: incubator/tuscany/java/sca/modules/implementation-bpel/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-bpel/pom.xml?view=diffrev=551409r1=551408r2=551409
==

--- incubator/tuscany/java/sca/modules/implementation-bpel/pom.xml
(original)
+++ incubator/tuscany/java/sca/modules/implementation-bpel/pom.xml Wed Jun
27 17:03:00 2007
@@ -102,42 +102,42 @@
 dependency
 groupIdorg.apache.ode/groupId
 artifactIdode-bpel-epr/artifactId
-version1.1-SNAPSHOT/version
+version1.0-incubating /version
 /dependency
 dependency
 groupIdorg.apache.ode/groupId
 artifactIdode-bpel-dao/artifactId
-version 1.1-SNAPSHOT/version
+version1.0-incubating/version
 /dependency
 dependency
 groupIdorg.apache.ode/groupId
 artifactIdode-bpel-dao/artifactId
-version1.1-SNAPSHOT/version
+version1.0-incubating/version
 /dependency
 dependency
 groupIdorg.apache.ode /groupId
 artifactIdode-dao-jpa/artifactId
-version1.1-SNAPSHOT/version
+version1.0-incubating/version
 /dependency
 dependency
 groupIdorg.apache.ode/groupId
 artifactIdode-bpel-runtime/artifactId
-version1.1-SNAPSHOT/version
+version1.0-incubating/version
 /dependency
 dependency
 groupIdorg.apache.ode/groupId
 artifactIdode-bpel-api/artifactId
-version1.1-SNAPSHOT/version
+version1.0-incubating/version
 /dependency
 dependency
 groupIdorg.apache.ode /groupId
 artifactIdode-bpel-scheduler-quartz/artifactId
-version1.1-SNAPSHOT/version
+version1.0-incubating/version
 /dependency
 dependency
 groupIdorg.apache.ode/groupId
 artifactIdode-utils/artifactId
-version1.1-SNAPSHOT /version
+version1.0-incubating/version
 /dependency

 !-- ODE Dependencies --
@@ -213,4 +213,26 @@
 /dependency

 /dependencies
+
+build
+plugins
+plugin
+artifactIdmaven-antrun-plugin/artifactId
+groupId org.apache.maven.plugins/groupId
+
+executions
+execution
+phasetest-compile/phase
+goalsgoalrun/goal/goals
+configuration
+tasks
+ant antfile=build.xml target=test-db
inheritRefs=true/
+/tasks
+/configuration
+/execution
+/executions
+/plugin
+/plugins
+/build
+
/project

Modified:
incubator/tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/EmbeddedODEServer.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/EmbeddedODEServer.java?view=diffrev=551409r1=551408r2=551409

==
---
incubator/tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/EmbeddedODEServer.java
(original)
+++
incubator

Re: svn commit: r551409 - in /incubator/tuscany/java/sca/modules/implementation-bpel: lib/ lib/maven-artifact-ant-2.0.4-dep.jar pom.xml src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/Emb

2007-06-28 Thread Luciano Resende

I have changed this to use the maven plugin for unpack the ODE DB and
removed the lib directory. This was done under revision #551630.

On 6/28/07, ant elder [EMAIL PROTECTED] wrote:

How come this ant jar needs to be checked into our svn and can't be got like
usual maven dependencies? (just trying to understand whats going on)

   ...ant

On 6/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Author: lresende
 Date: Wed Jun 27 17:03:00 2007
 New Revision: 551409

 URL: http://svn.apache.org/viewvc?view=revrev=551409
 Log:
 TTUSCANY-1394 - Applying patch from Mathieu Riou

 Added:
 incubator/tuscany/java/sca/modules/implementation-bpel/lib/
 incubator/tuscany/java/sca/modules/implementation-bpel/lib/maven-
 artifact-ant-2.0.4-dep.jar   (with props)
 Modified:
 incubator/tuscany/java/sca/modules/implementation-bpel/pom.xml
 
incubator/tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/EmbeddedODEServer.java


 Added: incubator/tuscany/java/sca/modules/implementation-bpel/lib/maven-
 artifact-ant-2.0.4-dep.jar
 URL:
 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-bpel/lib/maven-artifact-ant-2.0.4-dep.jar?view=autorev=551409
 ==

 Binary file - no diff available.

 Propchange:
 incubator/tuscany/java/sca/modules/implementation-bpel/lib/maven-
 artifact-ant-2.0.4-dep.jar
 --

 svn:mime-type = application/octet-stream

 Modified: incubator/tuscany/java/sca/modules/implementation-bpel/pom.xml
 URL:
 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-bpel/pom.xml?view=diffrev=551409r1=551408r2=551409
 ==

 --- incubator/tuscany/java/sca/modules/implementation-bpel/pom.xml
 (original)
 +++ incubator/tuscany/java/sca/modules/implementation-bpel/pom.xml Wed Jun
 27 17:03:00 2007
 @@ -102,42 +102,42 @@
  dependency
  groupIdorg.apache.ode/groupId
  artifactIdode-bpel-epr/artifactId
 -version1.1-SNAPSHOT/version
 +version1.0-incubating /version
  /dependency
  dependency
  groupIdorg.apache.ode/groupId
  artifactIdode-bpel-dao/artifactId
 -version 1.1-SNAPSHOT/version
 +version1.0-incubating/version
  /dependency
  dependency
  groupIdorg.apache.ode/groupId
  artifactIdode-bpel-dao/artifactId
 -version1.1-SNAPSHOT/version
 +version1.0-incubating/version
  /dependency
  dependency
  groupIdorg.apache.ode /groupId
  artifactIdode-dao-jpa/artifactId
 -version1.1-SNAPSHOT/version
 +version1.0-incubating/version
  /dependency
  dependency
  groupIdorg.apache.ode/groupId
  artifactIdode-bpel-runtime/artifactId
 -version1.1-SNAPSHOT/version
 +version1.0-incubating/version
  /dependency
  dependency
  groupIdorg.apache.ode/groupId
  artifactIdode-bpel-api/artifactId
 -version1.1-SNAPSHOT/version
 +version1.0-incubating/version
  /dependency
  dependency
  groupIdorg.apache.ode /groupId
  artifactIdode-bpel-scheduler-quartz/artifactId
 -version1.1-SNAPSHOT/version
 +version1.0-incubating/version
  /dependency
  dependency
  groupIdorg.apache.ode/groupId
  artifactIdode-utils/artifactId
 -version1.1-SNAPSHOT /version
 +version1.0-incubating/version
  /dependency

  !-- ODE Dependencies --
 @@ -213,4 +213,26 @@
  /dependency

  /dependencies
 +
 +build
 +plugins
 +plugin
 +artifactIdmaven-antrun-plugin/artifactId
 +groupId org.apache.maven.plugins/groupId
 +
 +executions
 +execution
 +phasetest-compile/phase
 +goalsgoalrun/goal/goals
 +configuration
 +tasks
 +ant antfile=build.xml target=test-db
 inheritRefs=true/
 +/tasks
 +/configuration
 +/execution
 +/executions
 +/plugin
 +/plugins
 +/build
 +
 /project

 Modified:
 
incubator/tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/EmbeddedODEServer.java
 URL:
 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode

Re: SCA WS-BPEL

2007-06-14 Thread sam tam

Hello,

This is regarding the integration of Apache ODE and Apache Tuscany !

I have contributed a container in Apache Tuscnay for BPEL which was an
initial startup  http://issues.apache.org/jira/browse/TUSCANY-897

I think that was during M2 release [ During the month of Dec 2006 ]

I want to contribute more for  the integration because I had been working on
it before .

I replied to Luciano's mail regarding this in Apache ODE  ML but
accidentally I missed Tuscany ML.

So I just want to inform you guys !

Sam Tam.



On 6/9/07, Luciano Resende [EMAIL PROTECTED] wrote:


Hi All

   I'm sending this e-mail to reactivate the collaboration between
Apache Tuscany and Apache ODE as initiated by Matthieu a while ago[1].
It would be great if we could have an WS-BPEL component implementation
described in [2] and [3], where we would be able to run executables
WS-BPEL process from an SCA runtime.

   In order to get this started, I have put together a skeleton that
we could use as the bases for implementation.bepel and it's available
at [4]. I'm in the middle of simplifying it further, and I'll keep you
guys posted of my progress.


[1] http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg10042.html
[2] http://osoa.org/display/Main/SCA+BPEL+White+Paper
[3]
http://osoa.org/download/attachments/35/SCA_ClientAndImplementationModelforBPEL_V100.pdf?version=1
[4]
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/modules/implementation-bpel/

--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/





--


Re: SCA WS-BPEL

2007-06-14 Thread Matthieu Riou

Hi Sam,

I'll have a deeper look at this today or tomorrow. I'll certainly have a
look at what you've contributed so far. My understanding is that Tuscany's
SPIs have significantly changed so we may be better off starting from
scratch from the skeleton Luciano has created and import (understand
copy/paste) the code you've already done gradually (tweaking what needs to
be tweaked).

Anyway I'll create a new issue for this, trying to merge the new skeleton
and what you've done before and maybe we can start from that.

Cheers,
Matthieu

On 6/14/07, sam tam [EMAIL PROTECTED] wrote:


Hello,

This is regarding the integration of Apache ODE and Apache Tuscany !

I have contributed a container in Apache Tuscnay for BPEL which was an
initial startup  http://issues.apache.org/jira/browse/TUSCANY-897

I think that was during M2 release [ During the month of Dec 2006 ]

I want to contribute more for  the integration because I had been working
on
it before .

I replied to Luciano's mail regarding this in Apache ODE  ML but
accidentally I missed Tuscany ML.

So I just want to inform you guys !

Sam Tam.



On 6/9/07, Luciano Resende [EMAIL PROTECTED] wrote:

 Hi All

I'm sending this e-mail to reactivate the collaboration between
 Apache Tuscany and Apache ODE as initiated by Matthieu a while ago[1].
 It would be great if we could have an WS-BPEL component implementation
 described in [2] and [3], where we would be able to run executables
 WS-BPEL process from an SCA runtime.

In order to get this started, I have put together a skeleton that
 we could use as the bases for implementation.bepel and it's available
 at [4]. I'm in the middle of simplifying it further, and I'll keep you
 guys posted of my progress.


 [1] http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg10042.html
 [2] http://osoa.org/display/Main/SCA+BPEL+White+Paper
 [3]

http://osoa.org/download/attachments/35/SCA_ClientAndImplementationModelforBPEL_V100.pdf?version=1
 [4]

https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/modules/implementation-bpel/

 --
 Luciano Resende
 Apache Tuscany Committer
 http://people.apache.org/~lresende
 http://lresende.blogspot.com/




--



SCA WS-BPEL

2007-06-08 Thread Luciano Resende

Hi All

  I'm sending this e-mail to reactivate the collaboration between
Apache Tuscany and Apache ODE as initiated by Matthieu a while ago[1].
It would be great if we could have an WS-BPEL component implementation
described in [2] and [3], where we would be able to run executables
WS-BPEL process from an SCA runtime.

  In order to get this started, I have put together a skeleton that
we could use as the bases for implementation.bepel and it's available
at [4]. I'm in the middle of simplifying it further, and I'll keep you
guys posted of my progress.


[1] http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg10042.html
[2] http://osoa.org/display/Main/SCA+BPEL+White+Paper
[3] 
http://osoa.org/download/attachments/35/SCA_ClientAndImplementationModelforBPEL_V100.pdf?version=1
[4] 
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/modules/implementation-bpel/

--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SCA and BPEL

2006-11-28 Thread Matthieu Riou

Hi Sam,

I've had a look at your implementation and played with a couple of things on
my side as well. I think I have a much better idea of how things can play
with each other now and how to solve your problems.

- For server instantiation, you should create a separate component for it
with @Init and @Destroy annotations. I've made a rough implementation of it
and I think you could take it and start from that. You'll just have to add
the component as a system implementation in your bpel.system.cdl. I'll
attach the java file to the same Jira issue. Then you can have this injected
in the  BpelComponentBuilder using a constructor like:

   public BpelComponentBuilder(@Autowire BpelServerLoader serverLoader) {
   _server = serverLoader.getServer();
   _store = serverLoader.getStore();
   }

That should fix the server instantiation problem.

- For the binding part you will need to go through a real remote web service
invocation. Check of the Tuscany helloworldws is structured with the
sample-helloworldws web application being deployed in Tomcat and the client
sample-helloworldwsclient calling it remotely. I think you can even reuse
the client almost as is. However the server side should change to something
like:

   service name=HelloWorldBPELService
   interface.wsdl interface=
http://ode/bpel/unit-test.wsdl#wsdl.interface(HelloPortType)
   wsdli:wsdlLocation=http://ode/bpel/unit-test.wsdl
HelloWorld2.wsdl/
   binding.ws endpoint=
http://ode/bpel/unit-test.wsdl#wsdl.endpoint(HelloService/HelloPort)
location=HelloWorld2.wsdl /
   referenceHelloWorldBPELComponent/reference
   /service

   component name=HelloWorldBPELComponent
   
bpel:implementation.bpeldepDir=/home/dusty/Dev/Projects/tuscany/sca/services/containers/container.bpel/src/test/resources/HelloWorld2

serviceId=http://ode/bpel/unit-test.wsdlHelloService/
   /component

Again check the Tuscany sample-helloworldws service declaration, it's almost
the same except for the implementation that will be BPEL in our case instead
of java. You can even use the same type of SDO databinding So you will need
to package the BPEL container on the server side in Tomcat and that should
get loaded.

Let me know if you need more,

Matthieu

On 11/26/06, sam tam [EMAIL PROTECTED] wrote:


Hello Guys..

As discussed earlier about Integration of SCA(Apache Tuscany) and BPEL
(Apache Ode),

I have started with a bpel container for Apache Tuscany(SCA).

Also i have attached a small readme file .

And a test case file also.

The link for the attached source is :
http://issues.apache.org/jira/browse/TUSCANY-897?page=all

Comments:

Things to do :
- need to figure out a better way than instantiating the server for every
component
- need to bring in databinding into the invoke method to be able to
convert
java objects to xml that can be sent over ODE requests and also do the
reverse for the response.


Guys I need your feedback on this !!! Plz share your ideas . !!.

Sam..Tam...







___


On 10/29/06, sam tam [EMAIL PROTECTED] wrote:

 That would be fine with me Ant.  I am residing in India ..So to confirm
:
 Thursday 4pm BST !

 Sam...

 On 10/29/06, ant elder  [EMAIL PROTECTED] wrote:
 
  Thats fine for me, how about you Sam?
 
 ...ant
 
  On 10/27/06, Matthieu Riou [EMAIL PROTECTED] wrote:
  
   Actually most Ode committers (including myself) are in California.
  Also
   we're going to be a bit busy early next week. So would 4pm BST (8am
  PST) on
   Thursday work for you?
  
   On 10/27/06, ant elder [EMAIL PROTECTED] wrote:
   
Sure ok I guess an IRC chat would be fine to get started. I'm in
UK
  time
zone but can be pretty flexible about scheduling it. How about
  9:30am BST
next Tuesday?
   
   ..ant
   
On 10/26/06, Matthieu Riou  [EMAIL PROTECTED] wrote:

 Hi,

 So what about an IRC session to get started? Everybody
interested
 could come to ask questions and we would discuss in more details
  how this
 could be done. We can both exchange our views on SCA / BPEL and
  give as much
 information as possible to the volunteers (like Sam [1]).

 What do you think?

 Matthieu

 [1]
 
http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/200610.mbox/[EMAIL 
PROTECTED]


 On 10/25/06, ant elder  [EMAIL PROTECTED] wrote:
 
  On 10/25/06, Matthieu Riou  [EMAIL PROTECTED] wrote:
  
   Hi all,
  
   This e-mail is being sent to both Apache Ode and Tuscany
   development mailing
   lists.
  
   The objective is to see which possible collaboration could
  happen
   between
   our 2 projects and how we could integrate them. Alex, Cory
and
 
   myself (we're
   all Ode contributors) met with Jean-Sebastien Delfino and
  Simon
   Laws
   (Tuscany contributors) during the ApacheCon in Austin and
  we've
   found out

Re: SCA and BPEL

2006-11-26 Thread sam tam

Hello Guys..

As discussed earlier about Integration of SCA(Apache Tuscany) and BPEL
(Apache Ode),

I have started with a bpel container for Apache Tuscany(SCA).

Also i have attached a small readme file .

And a test case file also.

The link for the attached source is :
http://issues.apache.org/jira/browse/TUSCANY-897?page=all

Comments:

Things to do :
- need to figure out a better way than instantiating the server for every
component
- need to bring in databinding into the invoke method to be able to convert
java objects to xml that can be sent over ODE requests and also do the
reverse for the response.


Guys I need your feedback on this !!! Plz share your ideas . !!.

Sam..Tam...






___


On 10/29/06, sam tam [EMAIL PROTECTED] wrote:


That would be fine with me Ant.  I am residing in India ..So to confirm :
Thursday 4pm BST !

Sam...

On 10/29/06, ant elder  [EMAIL PROTECTED] wrote:

 Thats fine for me, how about you Sam?

...ant

 On 10/27/06, Matthieu Riou [EMAIL PROTECTED] wrote:
 
  Actually most Ode committers (including myself) are in California.
 Also
  we're going to be a bit busy early next week. So would 4pm BST (8am
 PST) on
  Thursday work for you?
 
  On 10/27/06, ant elder [EMAIL PROTECTED] wrote:
  
   Sure ok I guess an IRC chat would be fine to get started. I'm in UK
 time
   zone but can be pretty flexible about scheduling it. How about
 9:30am BST
   next Tuesday?
  
  ..ant
  
   On 10/26/06, Matthieu Riou  [EMAIL PROTECTED] wrote:
   
Hi,
   
So what about an IRC session to get started? Everybody interested
could come to ask questions and we would discuss in more details
 how this
could be done. We can both exchange our views on SCA / BPEL and
 give as much
information as possible to the volunteers (like Sam [1]).
   
What do you think?
   
Matthieu
   
[1]
 http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/200610.mbox/[EMAIL 
PROTECTED]
   
   
On 10/25/06, ant elder  [EMAIL PROTECTED] wrote:

 On 10/25/06, Matthieu Riou  [EMAIL PROTECTED] wrote:
 
  Hi all,
 
  This e-mail is being sent to both Apache Ode and Tuscany
  development mailing
  lists.
 
  The objective is to see which possible collaboration could
 happen
  between
  our 2 projects and how we could integrate them. Alex, Cory and

  myself (we're
  all Ode contributors) met with Jean-Sebastien Delfino and
 Simon
  Laws
  (Tuscany contributors) during the ApacheCon in Austin and
 we've
  found out
  that integrating Ode into Tuscany could be a brilliant idea.
 
  From the Tuscany side, there's an SCA client and
 implementation
  spec for
  BPEL. Roughly, it defines how a BPEL process can be used as an
 SCA
  component
  (or at least that's my understanding of it). So I guess Ode
 could
  be a good
  choice for the BPEL part of that.
 
  From the Apache Ode perspective, we've defined an interface to
 the
  engine (
  a.k.a. the integration API or IAPI for acromyn lovers) and we
  would like to
  support several integration scenarii. Currently we have an
  integration layer
  for Axis2 to support all web services interactions, we also
 have
  one for JBI
  and another one for CXF has been proposed. We would love to
 have
  an
  implementation of these interfaces for Tuscany to be able to
 run
  Ode in an
  SCA environment (for the curious, the interfaces are
  
herehttps://svn.apache.org/repos/asf/incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/

  
  ).
 
  I think the discussion (if discussion there is) should take
 place
  on
  tuscany-dev as there's less of us, Ode people, so it's easier
 for
  us to
  subscribe to it.
 
  So what would it take to fit into Tuscany?
 
  Thanks,
 
  Matthieu
 
 
 Hi Matthieu, this would be really great, i'd love for Tuscany to
 get
 a involved with Ode to get a BPEL component.

 For those that haven't found these already there's a white paper
 on
 SCA and BPEL [1] and a specification [2].

 You can see the type of thing required to implement a container
 for
 a new component type in Tuscany by looking at some of our
 existing ones [3]

 I agree it may be easiest for the discussions to be over here
 initially, but i've subscribed to ode-dev as well anyway. I'd be
 very happy
 to help you do this, how would you like to get started?

...ant

 [1] http://osoa.org/display/Main/SCA+BPEL+White+Paper
 [2] 
http://osoa.org/download/attachments/35/SCA_ClientAndImplementationModelforBPEL_v0.95.pdf?version=2


 [3] 
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/services/containers/



   
   
  
 





Re: IRC chat on Ode/Tuscany integration: Thursday 2nd Nov 4pm GMT/8amPST (was Re: SCA and BPEL)

2006-11-03 Thread ant elder

As discussed, I've created an empty skeleton container for this at:
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/services/containers/container.bpel/

There's a JIRA for attaching patches to at:
https://issues.apache.org/jira/browse/TUSCANY-897

Starting sending your patches!

  ...ant


Re: IRC chat on Ode/Tuscany integration: Thursday 2nd Nov 4pm GMT/8amPST (was Re: SCA and BPEL)

2006-11-03 Thread Matthieu Riou

Thanks ant!

On 11/3/06, ant elder [EMAIL PROTECTED] wrote:


As discussed, I've created an empty skeleton container for this at:

https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/services/containers/container.bpel/

There's a JIRA for attaching patches to at:
https://issues.apache.org/jira/browse/TUSCANY-897

Starting sending your patches!

   ...ant




IRC chat on Ode/Tuscany integration: Thursday 2nd Nov 4pm GMT/8amPST (was Re: SCA and BPEL)

2006-10-30 Thread ant elder

As discussed, they will be an IRC chat to aid getting started with an Apache
Ode component for Tuscany.

The chat will take place on the freenode IRC network, (use server
irc.freenode.net), on channel #tuscany at:

4PM GMT, 8AM PST, 9:30PM India
Thursday 2nd November

Everyone is welcome to join in.

  ...ant

On 10/29/06, sam tam [EMAIL PROTECTED] wrote:


That would be fine with me Ant.  I am residing in India ..So to confirm :
Thursday 4pm BST !

Sam...

On 10/29/06, ant elder [EMAIL PROTECTED] wrote:

 Thats fine for me, how about you Sam?

...ant

 On 10/27/06, Matthieu Riou [EMAIL PROTECTED] wrote:
 
  Actually most Ode committers (including myself) are in California.
Also
  we're going to be a bit busy early next week. So would 4pm BST (8am
PST)
 on
  Thursday work for you?
 
  On 10/27/06, ant elder [EMAIL PROTECTED] wrote:
  
   Sure ok I guess an IRC chat would be fine to get started. I'm in UK
 time
   zone but can be pretty flexible about scheduling it. How about
9:30am
 BST
   next Tuesday?
  
  ..ant
  
   On 10/26/06, Matthieu Riou [EMAIL PROTECTED] wrote:
   
Hi,
   
So what about an IRC session to get started? Everybody interested
could come to ask questions and we would discuss in more details
how
 this
could be done. We can both exchange our views on SCA / BPEL and
give
 as much
information as possible to the volunteers (like Sam [1]).
   
What do you think?
   
Matthieu
   
[1]

http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/200610.mbox/[EMAIL 
PROTECTED]
   
   
On 10/25/06, ant elder  [EMAIL PROTECTED] wrote:

 On 10/25/06, Matthieu Riou [EMAIL PROTECTED] wrote:
 
  Hi all,
 
  This e-mail is being sent to both Apache Ode and Tuscany
  development mailing
  lists.
 
  The objective is to see which possible collaboration could
 happen
  between
  our 2 projects and how we could integrate them. Alex, Cory and
  myself (we're
  all Ode contributors) met with Jean-Sebastien Delfino and
Simon
  Laws
  (Tuscany contributors) during the ApacheCon in Austin and
we've
  found out
  that integrating Ode into Tuscany could be a brilliant idea.
 
  From the Tuscany side, there's an SCA client and
implementation
  spec for
  BPEL. Roughly, it defines how a BPEL process can be used as an
 SCA
  component
  (or at least that's my understanding of it). So I guess Ode
 could
  be a good
  choice for the BPEL part of that.
 
  From the Apache Ode perspective, we've defined an interface to
 the
  engine (
  a.k.a. the integration API or IAPI for acromyn lovers) and we
  would like to
  support several integration scenarii. Currently we have an
  integration layer
  for Axis2 to support all web services interactions, we also
have
  one for JBI
  and another one for CXF has been proposed. We would love to
have
  an
  implementation of these interfaces for Tuscany to be able to
run
  Ode in an
  SCA environment (for the curious, the interfaces are
  here

https://svn.apache.org/repos/asf/incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/
  
  ).
 
  I think the discussion (if discussion there is) should take
 place
  on
  tuscany-dev as there's less of us, Ode people, so it's easier
 for
  us to
  subscribe to it.
 
  So what would it take to fit into Tuscany?
 
  Thanks,
 
  Matthieu
 
 
 Hi Matthieu, this would be really great, i'd love for Tuscany to
 get
 a involved with Ode to get a BPEL component.

 For those that haven't found these already there's a white paper
 on
 SCA and BPEL [1] and a specification [2].

 You can see the type of thing required to implement a container
 for
 a new component type in Tuscany by looking at some of our
existing
 ones [3]

 I agree it may be easiest for the discussions to be over here
 initially, but i've subscribed to ode-dev as well anyway. I'd be
 very happy
 to help you do this, how would you like to get started?

...ant

 [1] http://osoa.org/display/Main/SCA+BPEL+White+Paper
 [2]

http://osoa.org/download/attachments/35/SCA_ClientAndImplementationModelforBPEL_v0.95.pdf?version=2

 [3]

https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/services/containers/


   
   
  
 




--
Catch Me @: www.samjeyam.co.nr

The Engine is the Heart of the Plane
   but
   Pilot is the Soul...

\___(0)___/
  ./ \.




Re: SCA and BPEL

2006-10-29 Thread ant elder

Thats fine for me, how about you Sam?

  ...ant

On 10/27/06, Matthieu Riou [EMAIL PROTECTED] wrote:


Actually most Ode committers (including myself) are in California. Also
we're going to be a bit busy early next week. So would 4pm BST (8am PST) on
Thursday work for you?

On 10/27/06, ant elder [EMAIL PROTECTED] wrote:

 Sure ok I guess an IRC chat would be fine to get started. I'm in UK time
 zone but can be pretty flexible about scheduling it. How about 9:30am BST
 next Tuesday?

..ant

 On 10/26/06, Matthieu Riou [EMAIL PROTECTED] wrote:
 
  Hi,
 
  So what about an IRC session to get started? Everybody interested
  could come to ask questions and we would discuss in more details how this
  could be done. We can both exchange our views on SCA / BPEL and give as much
  information as possible to the volunteers (like Sam [1]).
 
  What do you think?
 
  Matthieu
 
  [1] 
http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/200610.mbox/[EMAIL PROTECTED]
 
 
  On 10/25/06, ant elder  [EMAIL PROTECTED] wrote:
  
   On 10/25/06, Matthieu Riou [EMAIL PROTECTED] wrote:
   
Hi all,
   
This e-mail is being sent to both Apache Ode and Tuscany
development mailing
lists.
   
The objective is to see which possible collaboration could happen
between
our 2 projects and how we could integrate them. Alex, Cory and
myself (we're
all Ode contributors) met with Jean-Sebastien Delfino and Simon
Laws
(Tuscany contributors) during the ApacheCon in Austin and we've
found out
that integrating Ode into Tuscany could be a brilliant idea.
   
From the Tuscany side, there's an SCA client and implementation
spec for
BPEL. Roughly, it defines how a BPEL process can be used as an SCA
component
(or at least that's my understanding of it). So I guess Ode could
be a good
choice for the BPEL part of that.
   
From the Apache Ode perspective, we've defined an interface to the
engine (
a.k.a. the integration API or IAPI for acromyn lovers) and we
would like to
support several integration scenarii. Currently we have an
integration layer
for Axis2 to support all web services interactions, we also have
one for JBI
and another one for CXF has been proposed. We would love to have
an
implementation of these interfaces for Tuscany to be able to run
Ode in an
SCA environment (for the curious, the interfaces are

herehttps://svn.apache.org/repos/asf/incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/

).
   
I think the discussion (if discussion there is) should take place
on
tuscany-dev as there's less of us, Ode people, so it's easier for
us to
subscribe to it.
   
So what would it take to fit into Tuscany?
   
Thanks,
   
Matthieu
   
   
   Hi Matthieu, this would be really great, i'd love for Tuscany to get
   a involved with Ode to get a BPEL component.
  
   For those that haven't found these already there's a white paper on
   SCA and BPEL [1] and a specification [2].
  
   You can see the type of thing required to implement a container for
   a new component type in Tuscany by looking at some of our existing ones 
[3]
  
   I agree it may be easiest for the discussions to be over here
   initially, but i've subscribed to ode-dev as well anyway. I'd be very 
happy
   to help you do this, how would you like to get started?
  
  ...ant
  
   [1] http://osoa.org/display/Main/SCA+BPEL+White+Paper
   [2] 
http://osoa.org/download/attachments/35/SCA_ClientAndImplementationModelforBPEL_v0.95.pdf?version=2
  
   [3] 
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/services/containers/
  
  
 
 




Re: SCA and BPEL

2006-10-27 Thread ant elder

Sure ok I guess an IRC chat would be fine to get started. I'm in UK time
zone but can be pretty flexible about scheduling it. How about 9:30am BST
next Tuesday?

  ..ant

On 10/26/06, Matthieu Riou [EMAIL PROTECTED] wrote:


Hi,

So what about an IRC session to get started? Everybody interested could
come to ask questions and we would discuss in more details how this could be
done. We can both exchange our views on SCA / BPEL and give as much
information as possible to the volunteers (like Sam [1]).

What do you think?

Matthieu

[1] http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/200610.mbox/[EMAIL 
PROTECTED]


On 10/25/06, ant elder [EMAIL PROTECTED] wrote:

 On 10/25/06, Matthieu Riou [EMAIL PROTECTED] wrote:
 
  Hi all,
 
  This e-mail is being sent to both Apache Ode and Tuscany development
  mailing
  lists.
 
  The objective is to see which possible collaboration could happen
  between
  our 2 projects and how we could integrate them. Alex, Cory and myself
  (we're
  all Ode contributors) met with Jean-Sebastien Delfino and Simon Laws
  (Tuscany contributors) during the ApacheCon in Austin and we've found
  out
  that integrating Ode into Tuscany could be a brilliant idea.
 
  From the Tuscany side, there's an SCA client and implementation spec
  for
  BPEL. Roughly, it defines how a BPEL process can be used as an SCA
  component
  (or at least that's my understanding of it). So I guess Ode could be a
  good
  choice for the BPEL part of that.
 
  From the Apache Ode perspective, we've defined an interface to the
  engine (
  a.k.a. the integration API or IAPI for acromyn lovers) and we would
  like to
  support several integration scenarii. Currently we have an integration
  layer
  for Axis2 to support all web services interactions, we also have one
  for JBI
  and another one for CXF has been proposed. We would love to have an
  implementation of these interfaces for Tuscany to be able to run Ode
  in an
  SCA environment (for the curious, the interfaces are
  
herehttps://svn.apache.org/repos/asf/incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/
  
  ).
 
  I think the discussion (if discussion there is) should take place on
  tuscany-dev as there's less of us, Ode people, so it's easier for us
  to
  subscribe to it.
 
  So what would it take to fit into Tuscany?
 
  Thanks,
 
  Matthieu
 
 
 Hi Matthieu, this would be really great, i'd love for Tuscany to get a
 involved with Ode to get a BPEL component.

 For those that haven't found these already there's a white paper on SCA
 and BPEL [1] and a specification [2].

 You can see the type of thing required to implement a container for a
 new component type in Tuscany by looking at some of our existing ones [3]

 I agree it may be easiest for the discussions to be over here initially,
 but i've subscribed to ode-dev as well anyway. I'd be very happy to help you
 do this, how would you like to get started?

...ant

 [1] http://osoa.org/display/Main/SCA+BPEL+White+Paper
 [2] 
http://osoa.org/download/attachments/35/SCA_ClientAndImplementationModelforBPEL_v0.95.pdf?version=2

 [3] 
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/services/containers/






Re: SCA and BPEL

2006-10-27 Thread Matthieu Riou

Actually most Ode committers (including myself) are in California. Also
we're going to be a bit busy early next week. So would 4pm BST (8am PST) on
Thursday work for you?

On 10/27/06, ant elder [EMAIL PROTECTED] wrote:


Sure ok I guess an IRC chat would be fine to get started. I'm in UK time
zone but can be pretty flexible about scheduling it. How about 9:30am BST
next Tuesday?

   ..ant

On 10/26/06, Matthieu Riou [EMAIL PROTECTED] wrote:

 Hi,

 So what about an IRC session to get started? Everybody interested could
 come to ask questions and we would discuss in more details how this could be
 done. We can both exchange our views on SCA / BPEL and give as much
 information as possible to the volunteers (like Sam [1]).

 What do you think?

 Matthieu

 [1] 
http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/200610.mbox/[EMAIL 
PROTECTED]


 On 10/25/06, ant elder  [EMAIL PROTECTED] wrote:
 
  On 10/25/06, Matthieu Riou [EMAIL PROTECTED] wrote:
  
   Hi all,
  
   This e-mail is being sent to both Apache Ode and Tuscany development
   mailing
   lists.
  
   The objective is to see which possible collaboration could happen
   between
   our 2 projects and how we could integrate them. Alex, Cory and
   myself (we're
   all Ode contributors) met with Jean-Sebastien Delfino and Simon Laws
   (Tuscany contributors) during the ApacheCon in Austin and we've
   found out
   that integrating Ode into Tuscany could be a brilliant idea.
  
   From the Tuscany side, there's an SCA client and implementation spec
   for
   BPEL. Roughly, it defines how a BPEL process can be used as an SCA
   component
   (or at least that's my understanding of it). So I guess Ode could be
   a good
   choice for the BPEL part of that.
  
   From the Apache Ode perspective, we've defined an interface to the
   engine (
   a.k.a. the integration API or IAPI for acromyn lovers) and we would
   like to
   support several integration scenarii. Currently we have an
   integration layer
   for Axis2 to support all web services interactions, we also have one
   for JBI
   and another one for CXF has been proposed. We would love to have an
   implementation of these interfaces for Tuscany to be able to run Ode
   in an
   SCA environment (for the curious, the interfaces are
   
herehttps://svn.apache.org/repos/asf/incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/
   
   ).
  
   I think the discussion (if discussion there is) should take place on
   tuscany-dev as there's less of us, Ode people, so it's easier for us
   to
   subscribe to it.
  
   So what would it take to fit into Tuscany?
  
   Thanks,
  
   Matthieu
  
  
  Hi Matthieu, this would be really great, i'd love for Tuscany to get a
  involved with Ode to get a BPEL component.
 
  For those that haven't found these already there's a white paper on
  SCA and BPEL [1] and a specification [2].
 
  You can see the type of thing required to implement a container for a
  new component type in Tuscany by looking at some of our existing ones [3]
 
  I agree it may be easiest for the discussions to be over here
  initially, but i've subscribed to ode-dev as well anyway. I'd be very happy
  to help you do this, how would you like to get started?
 
 ...ant
 
  [1] http://osoa.org/display/Main/SCA+BPEL+White+Paper
  [2] 
http://osoa.org/download/attachments/35/SCA_ClientAndImplementationModelforBPEL_v0.95.pdf?version=2
 
  [3] 
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/services/containers/
 
 





SCA and BPEL - Integration

2006-10-26 Thread sam tam

Hi,

I am a student and I have been looking into this topic for my project work.
I'd like to contribute as much in this with some help from you folks.   For
now here is what I have been doing as ground work.

- Tried out Tuscany M1 release and also recently from the current
development branch.
- With Apache ODE I deployed sample process in Tomcat and have been able to
call it using a SOAP message.

At the present moment I am trying to figure out how to integrate ODE into
Tuscany.  One obvious thought I have in my mind is to use the Tuscany Axis2
Binding and invoke the BPEL process as a reference.  I am going to be
digging into the OSOA specs for this and hope to get better clarity as I go
along.

I'd be happy to take advice from you folks on taking this forward.

Thanks.

Sam.


Re: SCA and BPEL - Integration

2006-10-26 Thread ant elder

On 10/26/06, sam tam [EMAIL PROTECTED] wrote:


Hi,

I am a student and I have been looking into this topic for my project
work.
I'd like to contribute as much in this with some help from you folks.
For
now here is what I have been doing as ground work.

- Tried out Tuscany M1 release and also recently from the current
development branch.
- With Apache ODE I deployed sample process in Tomcat and have been able
to
call it using a SOAP message.

At the present moment I am trying to figure out how to integrate ODE into
Tuscany.  One obvious thought I have in my mind is to use the Tuscany
Axis2
Binding and invoke the BPEL process as a reference.  I am going to be
digging into the OSOA specs for this and hope to get better clarity as I
go
along.

I'd be happy to take advice from you folks on taking this forward.

Thanks.

Sam.



Hi Sam,

Its great you're interested in this, it would be really good to have BPEL
support in Tuscany. In case you didn't see due to all the ASF email problems
over the last few days, the Ode guys have also just started talking about
this: http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg10042.html.

I talked about how to start a new container in this old mail:
http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/200610.mbox/browser.
I'd start with trying to get a simple helloworld going which for this would
be a combination of the Tuscany helloworldws sample and the Ode
axis2-examples HelloWorld2.

Basically start by copying the existing sample and one of the Tuscany
containers, rename everything to BPEL. Remember when you do the copy/rename
there's scdl in the META-INF/sca directory that you'll need to edit to
update with the new class names.

As there's an existing SCA spec for this you get some help with what to do.
The spec defines what the implementation element looks like:

 implementation.bpel process=xs:QName/

So you'll need something like a BPELImplementation and
BPELImplementationLoader for that. Use one of the existing ones and just
change the  QName constant to be implementation.bpel and the code to read
in the attribute named process. A harder part will be how Tuscany locates
the BPEL process XML, for now its likely easiest to add a location attribute
and have the loader just read it in, and then sort this part out properly
later oncee things are working. So that would become:

 implementation.bpel process=xs:QName location=urlToBpelXml/

The SCA BPEL spec talks about using introspection to work out the services
and references used by the BPEL process, i'd leave this for later also and
just require a .componentType side file for now. Again, just use some
existing ComponentType and ComponentTypeLoader classes unchanged.

Copy some XxxComponent and XxxComponentBuilder classes and change them to
set up and create the necessary Ode objects, and an XxxInvoker to do the
invoking of the bpel process.

As the Ode people are also interested in doing this maybe you should try to
work together. How about start with small patches which I can get committed
to our sandbox so everyone can see how things progress.

Or would it help if I created a folder and template for this in the sandbox
first for you all to send patches in against? Let me know...

  ...ant


Re: SCA and BPEL

2006-10-26 Thread Matthieu Riou

Hi,

So what about an IRC session to get started? Everybody interested could come
to ask questions and we would discuss in more details how this could be
done. We can both exchange our views on SCA / BPEL and give as much
information as possible to the volunteers (like Sam [1]).

What do you think?

Matthieu

[1]
http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/200610.mbox/[EMAIL 
PROTECTED]

On 10/25/06, ant elder [EMAIL PROTECTED] wrote:


On 10/25/06, Matthieu Riou [EMAIL PROTECTED] wrote:

 Hi all,

 This e-mail is being sent to both Apache Ode and Tuscany development
 mailing
 lists.

 The objective is to see which possible collaboration could happen
 between
 our 2 projects and how we could integrate them. Alex, Cory and myself
 (we're
 all Ode contributors) met with Jean-Sebastien Delfino and Simon Laws
 (Tuscany contributors) during the ApacheCon in Austin and we've found
 out
 that integrating Ode into Tuscany could be a brilliant idea.

 From the Tuscany side, there's an SCA client and implementation spec for
 BPEL. Roughly, it defines how a BPEL process can be used as an SCA
 component
 (or at least that's my understanding of it). So I guess Ode could be a
 good
 choice for the BPEL part of that.

 From the Apache Ode perspective, we've defined an interface to the
 engine (
 a.k.a. the integration API or IAPI for acromyn lovers) and we would like
 to
 support several integration scenarii. Currently we have an integration
 layer
 for Axis2 to support all web services interactions, we also have one for
 JBI
 and another one for CXF has been proposed. We would love to have an
 implementation of these interfaces for Tuscany to be able to run Ode in
 an
 SCA environment (for the curious, the interfaces are
 
herehttps://svn.apache.org/repos/asf/incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/
 
 ).

 I think the discussion (if discussion there is) should take place on
 tuscany-dev as there's less of us, Ode people, so it's easier for us to
 subscribe to it.

 So what would it take to fit into Tuscany?

 Thanks,

 Matthieu


Hi Matthieu, this would be really great, i'd love for Tuscany to get a
involved with Ode to get a BPEL component.

For those that haven't found these already there's a white paper on SCA
and BPEL [1] and a specification [2].

You can see the type of thing required to implement a container for a new
component type in Tuscany by looking at some of our existing ones [3]

I agree it may be easiest for the discussions to be over here initially,
but i've subscribed to ode-dev as well anyway. I'd be very happy to help you
do this, how would you like to get started?

   ...ant

[1] http://osoa.org/display/Main/SCA+BPEL+White+Paper
[2]
http://osoa.org/download/attachments/35/SCA_ClientAndImplementationModelforBPEL_v0.95.pdf?version=2
[3]
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/services/containers/



Re: SCA and BPEL

2006-10-26 Thread sam tam

Yes ..that would be a  brilliant idea  Matthieu !

Sam..

On 10/26/06, Matthieu Riou [EMAIL PROTECTED] wrote:


Hi,

So what about an IRC session to get started? Everybody interested could
come
to ask questions and we would discuss in more details how this could be
done. We can both exchange our views on SCA / BPEL and give as much
information as possible to the volunteers (like Sam [1]).

What do you think?

Matthieu

[1]

http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/200610.mbox/[EMAIL 
PROTECTED]

On 10/25/06, ant elder [EMAIL PROTECTED] wrote:

 On 10/25/06, Matthieu Riou [EMAIL PROTECTED] wrote:
 
  Hi all,
 
  This e-mail is being sent to both Apache Ode and Tuscany development
  mailing
  lists.
 
  The objective is to see which possible collaboration could happen
  between
  our 2 projects and how we could integrate them. Alex, Cory and myself
  (we're
  all Ode contributors) met with Jean-Sebastien Delfino and Simon Laws
  (Tuscany contributors) during the ApacheCon in Austin and we've found
  out
  that integrating Ode into Tuscany could be a brilliant idea.
 
  From the Tuscany side, there's an SCA client and implementation spec
for
  BPEL. Roughly, it defines how a BPEL process can be used as an SCA
  component
  (or at least that's my understanding of it). So I guess Ode could be a
  good
  choice for the BPEL part of that.
 
  From the Apache Ode perspective, we've defined an interface to the
  engine (
  a.k.a. the integration API or IAPI for acromyn lovers) and we would
like
  to
  support several integration scenarii. Currently we have an integration
  layer
  for Axis2 to support all web services interactions, we also have one
for
  JBI
  and another one for CXF has been proposed. We would love to have an
  implementation of these interfaces for Tuscany to be able to run Ode
in
  an
  SCA environment (for the curious, the interfaces are
  here
https://svn.apache.org/repos/asf/incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/
  
  ).
 
  I think the discussion (if discussion there is) should take place on
  tuscany-dev as there's less of us, Ode people, so it's easier for us
to
  subscribe to it.
 
  So what would it take to fit into Tuscany?
 
  Thanks,
 
  Matthieu
 
 
 Hi Matthieu, this would be really great, i'd love for Tuscany to get a
 involved with Ode to get a BPEL component.

 For those that haven't found these already there's a white paper on SCA
 and BPEL [1] and a specification [2].

 You can see the type of thing required to implement a container for a
new
 component type in Tuscany by looking at some of our existing ones [3]

 I agree it may be easiest for the discussions to be over here initially,
 but i've subscribed to ode-dev as well anyway. I'd be very happy to help
you
 do this, how would you like to get started?

...ant

 [1] http://osoa.org/display/Main/SCA+BPEL+White+Paper
 [2]

http://osoa.org/download/attachments/35/SCA_ClientAndImplementationModelforBPEL_v0.95.pdf?version=2
 [3]

https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/services/containers/






--
Catch Me @: www.samjeyam.co.nr

The Engine is the Heart of the Plane
  but
  Pilot is the Soul...

\___(0)___/
 ./ \.


Re: SCA and BPEL - Integration

2006-10-26 Thread Matthieu Riou

Hi,

Nice volunteering indeed!

So on the Ode side, I'd go with implementing a specific integration layer
for Tuscany instead of reusing the Axis2 one. That would allow in-VM SCA /
BPEL interactions and a greater integration between the two.

Ode provides an integration API that you have to implement if you want to
plug the engine into something else. The engine uses this API to get
whatever it needs to work, like the ability to send and receive messages, to
get some representation of the services it's going to interact with, or even
threads and transactions. So you would just wire up all services Tuscany
provides into the engine when implementing these interfaces.

To see what those look like you can have a look at [1]. We currently have 3
working implementations for these interfaces: Axis2, JBI and test. The Axis2
one is wrapped around Axis2 in a WAR and works in any servlet container. The
JBI one is bundled in a Service Assembly and can be deployed in ServiceMix.
The test one works in-memory in a standalone manner. These are great
examples to look at to see how the required services are provided to the
engine and how everything is initialized. In particular you can have a look
at ODEServer [2] for Axis2 and OdeLifeCycle [3] for JBI, these are where all
the initialization and wiring up logic happens for these 2 integrations.

I'd start from the test IAPI implementation [4] [5] to see how things work
out, this will run in memory so you won't have to worry about providing a
datasource and a transaction manager to start with. Then you can bring some
pieces from the Axis2 and JBI integrations (copy / paste is your friend) and
increment from that. Implement the different communication interfaces by
using Tuscany services and you should be all set.

Now I think we could discuss about the details and how to use Tuscany
services in Ode during an IRC chat session as I proposed in the other
thread? So we can all have a better understanding of how this will work and
you'll have more information to start from.

Matthieu

[1]
https://svn.apache.org/repos/asf/incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/
[2]
https://svn.apache.org/repos/asf/incubator/ode/trunk/axis2/src/main/java/org/apache/ode/axis2/ODEServer.java
[3]
https://svn.apache.org/repos/asf/incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/OdeLifeCycle.java
[4]
https://svn.apache.org/repos/asf/incubator/ode/trunk/bpel-test/src/test/java/org/apache/ode/test/BPELTest.java
[5]
https://svn.apache.org/repos/asf/incubator/ode/trunk/bpel-test/src/main/java/org/apache/ode/test/

On 10/26/06, ant elder [EMAIL PROTECTED] wrote:


On 10/26/06, sam tam [EMAIL PROTECTED] wrote:

 Hi,

 I am a student and I have been looking into this topic for my project
 work.
 I'd like to contribute as much in this with some help from you folks.
 For
 now here is what I have been doing as ground work.

 - Tried out Tuscany M1 release and also recently from the current
 development branch.
 - With Apache ODE I deployed sample process in Tomcat and have been able
 to
 call it using a SOAP message.

 At the present moment I am trying to figure out how to integrate ODE
into
 Tuscany.  One obvious thought I have in my mind is to use the Tuscany
 Axis2
 Binding and invoke the BPEL process as a reference.  I am going to be
 digging into the OSOA specs for this and hope to get better clarity as I
 go
 along.

 I'd be happy to take advice from you folks on taking this forward.

 Thanks.

 Sam.


Hi Sam,

Its great you're interested in this, it would be really good to have BPEL
support in Tuscany. In case you didn't see due to all the ASF email
problems
over the last few days, the Ode guys have also just started talking about
this: http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg10042.html.

I talked about how to start a new container in this old mail:

http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/200610.mbox/browser
.
I'd start with trying to get a simple helloworld going which for this
would
be a combination of the Tuscany helloworldws sample and the Ode
axis2-examples HelloWorld2.

Basically start by copying the existing sample and one of the Tuscany
containers, rename everything to BPEL. Remember when you do the
copy/rename
there's scdl in the META-INF/sca directory that you'll need to edit to
update with the new class names.

As there's an existing SCA spec for this you get some help with what to
do.
The spec defines what the implementation element looks like:

  implementation.bpel process=xs:QName/

So you'll need something like a BPELImplementation and
BPELImplementationLoader for that. Use one of the existing ones and just
change the  QName constant to be implementation.bpel and the code to
read
in the attribute named process. A harder part will be how Tuscany
locates
the BPEL process XML, for now its likely easiest to add a location
attribute
and have the loader just read it in, and then sort this part out properly
later oncee

Re: SCA and BPEL

2006-10-25 Thread ant elder

On 10/25/06, Matthieu Riou [EMAIL PROTECTED] wrote:


Hi all,

This e-mail is being sent to both Apache Ode and Tuscany development
mailing
lists.

The objective is to see which possible collaboration could happen between
our 2 projects and how we could integrate them. Alex, Cory and myself
(we're
all Ode contributors) met with Jean-Sebastien Delfino and Simon Laws
(Tuscany contributors) during the ApacheCon in Austin and we've found out
that integrating Ode into Tuscany could be a brilliant idea.

From the Tuscany side, there's an SCA client and implementation spec for
BPEL. Roughly, it defines how a BPEL process can be used as an SCA
component
(or at least that's my understanding of it). So I guess Ode could be a
good
choice for the BPEL part of that.

From the Apache Ode perspective, we've defined an interface to the engine
(
a.k.a. the integration API or IAPI for acromyn lovers) and we would like
to
support several integration scenarii. Currently we have an integration
layer
for Axis2 to support all web services interactions, we also have one for
JBI
and another one for CXF has been proposed. We would love to have an
implementation of these interfaces for Tuscany to be able to run Ode in an
SCA environment (for the curious, the interfaces are
here
https://svn.apache.org/repos/asf/incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/

).

I think the discussion (if discussion there is) should take place on
tuscany-dev as there's less of us, Ode people, so it's easier for us to
subscribe to it.

So what would it take to fit into Tuscany?

Thanks,

Matthieu



Hi Matthieu, this would be really great, i'd love for Tuscany to get a
involved with Ode to get a BPEL component.

For those that haven't found these already there's a white paper on SCA and
BPEL [1] and a specification [2].

You can see the type of thing required to implement a container for a new
component type in Tuscany by looking at some of our existing ones [3]

I agree it may be easiest for the discussions to be over here initially, but
i've subscribed to ode-dev as well anyway. I'd be very happy to help you do
this, how would you like to get started?

  ...ant

[1] http://osoa.org/display/Main/SCA+BPEL+White+Paper
[2]
http://osoa.org/download/attachments/35/SCA_ClientAndImplementationModelforBPEL_v0.95.pdf?version=2
[3]
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/services/containers/


SCA and BPEL

2006-10-24 Thread Matthieu Riou

Hi all,

This e-mail is being sent to both Apache Ode and Tuscany development mailing
lists.

The objective is to see which possible collaboration could happen between
our 2 projects and how we could integrate them. Alex, Cory and myself (we're
all Ode contributors) met with Jean-Sebastien Delfino and Simon Laws
(Tuscany contributors) during the ApacheCon in Austin and we've found out
that integrating Ode into Tuscany could be a brilliant idea.


From the Tuscany side, there's an SCA client and implementation spec for

BPEL. Roughly, it defines how a BPEL process can be used as an SCA component
(or at least that's my understanding of it). So I guess Ode could be a good
choice for the BPEL part of that.


From the Apache Ode perspective, we've defined an interface to the engine (

a.k.a. the integration API or IAPI for acromyn lovers) and we would like to
support several integration scenarii. Currently we have an integration layer
for Axis2 to support all web services interactions, we also have one for JBI
and another one for CXF has been proposed. We would love to have an
implementation of these interfaces for Tuscany to be able to run Ode in an
SCA environment (for the curious, the interfaces are
herehttps://svn.apache.org/repos/asf/incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/
).

I think the discussion (if discussion there is) should take place on
tuscany-dev as there's less of us, Ode people, so it's easier for us to
subscribe to it.

So what would it take to fit into Tuscany?

Thanks,

Matthieu