• Welcome to KonaKart Community Forum. Please login or sign up.
 

Java API vs SOAP

Started by andrea.castelli, February 22, 2011, 04:55:46 pm

Previous topic - Next topic

andrea.castelli

Hi KK people,
I'm evaluating an integration of KK, but I'm deciding which is the better way.

I don' t understand by documentation if Java API uses SOAP underneath.

What should I check in my project/architecture to decide to use API or SOAP?

Thank you.
Best regards.
Andrea

trevor

If you can integrate KK into the same web app as your other application, then you should use the Java API since it is the fastest. If KK is in another web app or another server, then you should use the SOAP or RMI APIs.

The code calling the KK APIs is identical, whichever flavor of API you decide to use because all you need to do is to instantiate the correct KK Engine (they all implement the same interface) and it looks after the plumbing. i.e. Even when using SOAP, you don't have to get down to the WSDL level and produce your own stubs etc.

And no, the Java API doesn't use SOAP underneath.

Hope this helps  :)

andrea.castelli

Thank you. I'll come back later when I dive into the code.

Andrea