Hi
Java COM wrappers (eg Jacob) will only work on WinTel platforms because they use JNI calls to invoke COM and Win32 libraries.
There are a few ways to do this:
- Use Java remote invocation server/client. Have a Java server on the Windows box invoking COM via wrapper. Java client can call this server from webMethods from AIX.
- Expoise the COM library as a WebService in, say, .NET and invoke the service as such from webMethods. This is probably the way to go!
- Similar to the first option, code Java/COM bridge as a session-less EJB, deploy it in JBoss on Windows box. Use built-in JBoss in webMethods to invoke functionality on Windows as a remote EJB call. This solution is probably more reliable and scalable than (1), but there are issues with Java/COM bridge (eg if your COM code accesses file-system for example, this won’t work, as EJBs are not allowed direct access to local file system).
So there’s a couple options you can play with, all depending on your requirements, time & skill-set available.
I hope this helps!
Regards,
Hido Hasimbegovic
www.customware.net
Home of WmUnit
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB