I have written a simple framework on top of 'kony java service' framework to make it easy to use java services. please refer
- https://www.kony.com/ to know about kony
- java services developed for kony mobile fabric 8.4 https://docs.kony.com/konylibrary/visualizer/visualizer_user_guide/Default.htm#Creating_a_Java_Service.htm#Creating
USAGE:
import com.my.nitro.services.annotations.NitroParameter;
import com.my.nitro.services.annotations.NitroServiceMethod;
public class SomeMyKonyService extends NitroService
{
@NitroServiceMethod("OperationIDOfMyServiceDefinedInMobileFabric")
public Result myOperation1(
@NitroParameter("param1") String someParam1,
@NitroParameter("param2") String someParam2,
)
throws Throwable
{
Result result = new Result();
/**
** process and load result with some business logic
**/
return result
}
}
@NitroServiceMethod("OperationIDOfMyServiceDefinedInMobileFabric2")
public Result myOperation2(
@NitroParameter("param1") String someParam1,
@NitroParameter("param2") String someParam2,
@NitroParameter("param3") String someParam3,
@NitroParameter("param4") String someParam4,
@NitroParameter("param5") String someParam5
)
throws Throwable
{
Result result = new Result();
/**
** process and load result with some business logic
**/
return result
}
}