[NOTE] <bpelx:exec> and classpath
===============================
QUESTION
===============================
We have been receiving a lot of emails lately about the use of Java embedding and classpath information.
===============================
ANSWER
===============================
The answer is that any classes used in the inlined <bpelx:exec> code snippet needs to be either in the global classpath or preferably packaged in the BPEL-INF\classes or BPEL-INF\jar section of the BPEL suitcase (pattern which is very similar to how .war archives work).
For more information please refer to:
1) C:\orabpel\samples\references\JavaExec
2) C:\orabpel\samples\demos\LoanDemoPlus\LoanFlowPlus
Both examples uses an ant script to compile the dependent classes into <bpel project folder>\BPEL-INF\classes.
Like for .war archives, there are more sophisticated options offers by bpelc to just in time copy .jars into the BPEL-INF\lib folder of the generated war.
I hope that this note will address so of the questions people have in this area until we build out our documentation.
Edwin