Is it possible to do https get/post by just using J2SE without any web components eg.servlets and other stuff. If possible then how to do?
If I am using sockets to send and receive into then there will be no get/post. I am I right in saying that?
My scenario is described below.
Application A and B running in same server. app A sends a https post to app B. What should app B do to get that URL and process the request parameters? Again no servlets. both the application will standalone application with no web interface. How will app A hit my server?
I guess the bare minimum you’d need is a ServerSocket (or SSLServerSocket) and HttpURLConnection (or HttpsURLConnection). If you’re implementing something really trivial, then it shouldn’t be too much work to implement a simple service with a custom ServerSocket.
Now that i think about it, i’ve actually done that once. Totally doable 🙂