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

How to run the Java API example?

Started by sunjiangstee, September 27, 2008, 03:26:59 am

Previous topic - Next topic

sunjiangstee

Hi, I try to extend the functions by Java API. I tried the attached example in Konakart installation folder. But I don't know how to run it. And if I code my own program, where should I put the code and how to embed it into Konakart system and show in Konakart web page?

pete

Hi,

I don't see any attacment to your post  ???

sunjiangstee

I succeed in building the java_api_examples and java_soap_examples following the instruction of web page apiexamplesfaq. It generates a batch of compiled class files int the classes folder. But I do not how to deploy it to reflect the new functions when I launch and browse the http://localhost:8780/konakart/.

Brian

Hi,

Just deploy your changes in the same way as you would for any java application on tomcat.   eg. you can put the classes under WEB-INF/classes or you can put jars under WEB-INF/lib.

For quick turnaround development you might find using classes a little more convenient.


But what exactly are you trying to achieve?

-- Brian.