Hi,

In EMM, there is a Compliance Monitoring which will communicate with the
devices periodically. In a single instance, this can be implemented using
setInterval (jaggery), but in a clustered environment this is not possible
as only one node has to communicate with the devices. For this we are
planning to use the Task Component.

We need to create a TaskInfo object to which we need to give the task
implementation class which is a java class. The problem that we are facing
is that the actual implementation (Compliance Monitoring function) is in
jaggery. Therefore from the java class, we need to call the javascript
function to use the code that we have written in the emm jaggery app.

In a gist - we need to have an execution model that allows us to hand over
an object to the task component that can execute a piece of logic. The
execution in this case need to happen in Javascript also making all the
classes and objects in the emm jaggery app available to use.

We can do this by calling an API from java to the EMM app. Is there a way
to access emm jaggery app code without going througj HTTP??

Regards,
-- 

*Niranjan Karunanandham*
Senior Software Engineer - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
M: +94 777 749 661 <http:///>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to