Suppose I have a standalone java application. Now I want to enable multiple clients to access it via network or web (HTTP or web services). What is the best approach to convert a standalone app to an app that can be remotely accessed? Are there any simple frameworks that you recommend? Any best practise?
Suppose I have a standalone java application. Now I want to enable multiple clients
Share
The java tutorial on sockets, All about sockets, might help. This is if you want your java application to be a server of some sort. The tutorial shows you how to connect to your java application using a ServerSocket (in the tutorial they write a client that connects to the server as well). When you have a basic understanding of sockets it’s a small step to, for example, start handling HTTP requests (tutorials on this are easily found on the web as well).