I would like to design a system using Raspberry Pi that sends the sensor's data to server continuously and receive commands from server.
Will MQTT suit my needs ?
Is there any way to do so if I use Java on my Pi?
By continuously I mean that streams like video are continuous and other text based data is sent twice every minute.
The sensors are:
A 5MP camera (Webcam connected to USB of the Pi.)
LDR(Light and Dark) - Sensor
The server is based on a cloud hosting location.