Re: Exchanging information



Haggis McMutton wrote:

I should mention that I'm very likely to want to write the client in a
different language in the future so I need a way of doing it that can
easily be done in other languages. I can't be Java specific.

Thinking about this a bit more then, I guess my next question would be "Which transports/libraries do those languages support?" Pick something that seems standard for those languages and is also well supported in Java. I remember looking a Javascript, and thinking the best transport would be XML. XML is used by J2EE, supported with some libraries for Javascript, and also can be parsed by plain old Java. Whereas something like JSON was really only good if you were talking Javascript only. It seemed to require too much ad hoc parsing on the Java side, even though it integrated with Javascript well.

SOAP I haven't looked into at all. As Roedy implies though it might be good to have clear understanding of the other (non-Java) application (which you haven't talked about, so ...). If the other side really likes SOAP, that might indeed be the best choice. But you're saying "HTTP seems like a waste" which to me implies you are not writing a "web app" and therefore SOAP might not actually be used in your environment much.
.



Relevant Pages

  • Re: how are programming languages made???
    ... comp.lang.misc Different computer languages not specifically listed. ... > I don't see how JavaScript is even remotely related to Java since: ... 1st bug in MS win2k source code found after 20 minutes: ...
    (comp.lang.asm.x86)
  • =?windows-1252?Q?Re=3A_=93OpenOffice=2Eorg=94_free_Office_suite_for_Micro?= =?windows-1252?Q
    ... C programmers (a large set of the professional application and systems ... Also, languages are not at all the same, and many languages don't have ... Javascript for instance was initially designed to be ... Java was certainly not designed from the outset to be one ...
    (comp.lang.javascript)
  • Re: Beginner needing info on CSS and Javascript as it relates to ASP.net
    ... case-sensitivity don't make one all-knowing across languages. ... >> JavaScript and Java have virtually nothing in common. ... All web developers who hope to master web development ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Exchanging information
    ... Thinking about this a bit more then, I guess my next question would be "Which transports/libraries do those languages support?" ... XML is used by J2EE, supported with some libraries for Javascript, and also can be parsed by plain old Java. ... If the other side really likes SOAP, that might indeed be the best choice. ...
    (comp.lang.java.help)
  • Re: Accessing web services from ClearPath 2200 via CMS
    ... It has full SOAP and XML capability. ... can write Java code and then call it as a subroutine from the batch program. ... UCOB but possible from the older languages like ACOB and MASM. ... web service, send a query and get a response. ...
    (comp.sys.unisys)