This is somewhat similar to a previous posting but focuses on a specific aspect because I really to know the answer to this specific question before I can even move forward at this point. I need to send information in the form of a JSON object from a Java SE application to a Java EE web application. The Java EE web application is running from NetBeans in GlassFish. Both the Java SE and Java EE applications are running on the same computer.
What would be the best means to communicate between the two applications considering that they are both on the same computer: a socket connection, an http post request connection, or a combination of socket and http post request connection?
I would really appreciate any responses.