Hello Khurram,

I don’t have such a sample at hands but basically all you need to do is the 
following:
* mark you Java task implementation (IgniteCallable, IgniteRunnable or 
ComputeTask) using @ComputeTaskName annotation.
* create a JAR file that will contain the task class and add the jar to the 
server nodes classpath. Put it under {ignite_release}/libs folder if you use 
ignite.sh file to start a node.
* use the REST API shared by Dmtriy to trigger the task.

—
Denis

> On Jun 5, 2017, at 3:45 AM, khurram <[email protected]> wrote:
> 
> Hi,
> 
> Can you share some sample class for this? There's no such sample in
> examples.
> 
> 
> Thanks and regards,
> Khurram Baig
> 
> 
> 
> --
> View this message in context: 
> http://apache-ignite-users.70518.x6.nabble.com/How-to-create-a-compute-tasks-which-uses-Cache-and-transaction-tp13339p13365.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to