Hi,
I am looking at embedding ODE in an SCA container. The objective is to
enable in-process two way invocation between BPEL processes and other
component types like POJO instances. Quickly looking through the source, I
gather the starting point is BpelServerImpl. Could someone please tell what
is the minimalist requirements to get the server is going?
1. Is durable persistence always required?
2. How do I deploy a BPEL process, if I have a handle to the physical
resource representing the process?
3. How do I send a message to a named process and receive the return value?
4. Can I register some kind of endpoint reference with a registered process,
so that the process can make any outbound calls through the registered
endpoint references?
5. What are the lifecycle operations on the BpelServerImpl?
The code I have now is as simple as below,
BpelServerImpl bpelServer = new BpelServerImpl();
bpelServer.init();
I get the following exception ..
Exception in thread "main" java.lang.NullPointerException: sscf is null!
at org.apache.ode.bpel.engine.BpelDatabase.<init>(BpelDatabase.java:43)
at
org.apache.ode.bpel.engine.BpelServerImpl.init(BpelServerImpl.java:237)
at
org.sca4j.bpel.ode.OdeEmbeddedBpelServer.start(OdeEmbeddedBpelServer.java:45)
at
org.sca4j.bpel.ode.OdeEmbeddedBpelServer.main(OdeEmbeddedBpelServer.java:54)
Kind regards
Meeraj