Hi I have a program that does certain validations and returns valid or invalid status. Currently I use CORBA to call this component from anywhere, however I feel that there must be a much simpler method than this. I need to deploy this Jar and have it called from basically any language/client with the least integration/setup hassle possible. I've thought about standard sockets and IO Byte reading, even HTTP. There must be a simpler way. One common factor is that almost every client will be windows based. I need some lateral alternatives please. ed
If you are familiar with working with CORBA the easiest way is probably to create an RMI/IIOP stub for it and call it that way. IIOP is Java's interface to CORBA. Google for "Java RMI/IIOP Tutorial" and you should come up with some good step throughs. The easiest way by far though is to use Apache Axis ( http://xml.apache.org/axis ) and make it a SOAP service. RMI/IIOP is easy in Java, but so are SOAP services with Axis. The feasibility of this depends a lot on what exactly you are doing, and how easy making a SOAP client from your non-Java app is.
ed de jongh
posted 16 years ago
Thanks Brian, the IIOP only helps if I have Java clients, which is not necessarily the case, so that route is unfortunately not an option. I thought about an Apache server, but that just makes deployment that much more of an issue for the non tech end user. The point is I want to make this as easy as possible for anyone to call from any language without the use of CORBA, SOAP etc. as it makes an essentially simple product more complex from the clients perspective. I think I'm going to just go straight Sockets, (readBytes()) on this one as there doesn't seem to be an easier/more generic way for any client to connect without some 3rd party product. Thanks again ed
When it is used for evil, then watch out! When it is used for good, then things are much nicer. Like this tiny ad: