How To Transfer data from a python web application to a java desktop applaction
Why not use sockets in python too and send it to the java server. Java does not know that the end client is python, what it reads is just data(bytes). I have done this, and it works seamlessly.
See the python's struct module for more details on converting datatypes
I want some help on a way to transfer data from a python web application to a java desktop application. 
What I am doing is having java listen on a port and receive data. But I have no idea how I would send data from python to an open port on a server. 
What my question is how would I send data from a python web app to an open port on a computer. And would there be any problems like data types and any other things?