KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: sunjiangstee on September 27, 2008, 03:26:59 am

Title: How to run the Java API example?
Post by: sunjiangstee on September 27, 2008, 03:26:59 am
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?
Title: Re: How to run the Java API example?
Post by: pete on September 27, 2008, 06:53:16 am
Hi,

I don't see any attacment to your post  ???
Title: Re: How to run the Java API example?
Post by: sunjiangstee on September 27, 2008, 07:54:45 am
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/.
Title: Re: How to run the Java API example?
Post by: Brian on September 27, 2008, 12:40:23 pm
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.