execute java application on server
Hello!
i create a java app that take a picture through a camera. I execute this app with this command:
>java camaraFoto 192.168.1.20 user pass
The problem is that i must execute the app from a linux server. Should i install Tomcat to execute it from server or can i install simply JVM?
Thanx a lot!
sabri
A server is just a computer just like any other computer. You should be able to run it from the server in the same way as you run it from another computer. Ofcourse then the camera needs to be connected to the server too.
Tomcat is for running web applications (that are programmed using servlets and JSPs).
What exactly is the setup of the computer system?
You cannot control a camera that's attached to a client computer from an application that runs on the server.
You could write an applet (a small Java program that runs inside the client's web browser), but applets have security restrictions, so if you need to access the camera through an applet, you'll need to create a signed applet with special permissions.
Thank you for our replies (and sorry for my english)..
I don't know the exact configuration of the server because is an hosting. I know only that is a linux.
I created a similar app to control and take picture form the same camera through Java Web Start and i already know problems derived from the sand-box. To solve this ones i signed the app with jarsigner and it works fine.
I am going to explain better my problem. I have this app that take a picture connecting through an IP video camera (AXIS). I created a certificate to pass sandbox problems. I must execute this app automaticaly every 12 hours from linux server that have an utility called CronJobs that let me establish the time execution.
Well..help me please!!
thanx
sabri