C++/VBScript/ASP wrapper for Java API calls

  • Thread starter Deleted member 4030
  • Start date
Status
You're currently viewing only Charley's Angel's posts. Click here to go back to viewing the entire thread.
Not open for further replies.
I would use the JNI to make a dcom componnet on the Application server, wrapping the java API, then use DCOM to call this from the web server.

It is more work than it sounds (JNI is ugly as hell), but shouldn't be that bad.

If you can experiment, it might be possible to install the missing RMI functionality on the webserver (from MS, i forget the URL though, and use the 1.1 jvm to call the api through JNI - not too sure how well that would work).

Or, possibly the easiest, set up a web server on the application server, and redirect all calls to your application to that server.

I'm not too sure if they#d let you do that though.

Can you tell us what the product is? Someone might have done this sort of thing for that product before ...
 
OK, sorry about that - I think the only one which will really fly is the DCOM wrapper.

You would write this in C++, using the JNI (a method of accessing the JVM from C++), and basically mirror the structure of each object in the API with a C++ COM component.

Then compile the whole thing as an exe, and place it on the app server.

Then register it with DCOM on the web server, so that the web applications can talk to the object over the networkusing DCOM (a method of accessing windows COM components over the network).

I hope that was clearer, the other post was mostly thinking out loud.

It will be tedious work, but not that difficult (as wb says, using JNI means following the rles exactly, and producing a lot of (to my mind at least) ugly C style code) - how long it will take depends more on the size of the API you will be wrapping.

You should get someone who has at least a passing familiarity with ATL and JNI to do it if possible.

BTW, I'm afraid I've never heard of siteminder, so no help there :(
 
Status
You're currently viewing only Charley's Angel's posts. Click here to go back to viewing the entire thread.
Not open for further replies.