Hi All,

I'm looking for a way to migrate existing c++ applications to a SOA
environment via SCA.  I already have a SCA java runtime instance running
on a machine via an app server and what I would really like to do is use
c++ components in that runtime.  So, my question is: what is the
preferred way to use c++ components via the SCA java runtime?

Here are the options that I have identified:

1.) Create a cpp implementation type for the java runtime that invokes
the appropriate code in the native runtime via JNI (I'm not sure how
plausible this is).

2.) Expose services in the c++ components using the WS binding in a
native runtime instance; then, have a composite in the java runtime
reference those services and consume the data via some other java
component(s).

Option 1 is less attractive due to the amount of time it would take to
implement such functionality as well as the classloader issues that
arise when using JNI in an app server environment.  Option 2 seems to be
the way to go but I would appreciate any feedback on this and any other
options that I'm missing.  I tried searching the archives but I didn't
have much luck narrowing down the result set to this specific topic.

- Chad Phillips

Reply via email to