I have to implement one web2py application which has to access java code (which has code to connect to the remote machine) but not sure whether we can do it in web2py or not.My PC has Java 1.6, Python2.7 ,web2py ,eclipse installed.
Use case is :
I have created one button in web2py application and upon clicking the button, it should instantiate the java object and invoke particular method of that java object which will further connect to the remote machine.
Doubts are:
Can we deploy that particular java class to web2py server so web2py application can easily access it?
Is it possible to import that class from python code?
How to instantiate java object from python code?
And how to invoke java method from python code?
Regards, Piks