So far, I'm looking for the best practice to write Java server on the internet with a GUI ( To stop and start it) I know that I need to run the server in a separate thread in the form of a GUI, but I was also thinking that if I use every piece, server and GUI, my Java program or process Made in, then it would be a bit less complicated. If I go with the latter, how can I interact with the GUI from the server if they are not the same application? Will I just kill the process from Java? I really need some help (or perhaps a tutorial).
P.S. I am going to write the client in the house for other PCs and Android phones so that a simple messaging system is created in the network for simple copy and paste in the network so that I am considering creating a GUI and server with the customer. I can distribute it and it will be in two ways but I am not sure whether this is the right approach or not.
Thank you!
You are looking for an application server, such as Interact with the web pages as a GUI. Use HTTP as your messaging protocol (Post and GET). Use and read something / it may be something to learn now, but later you will benefit.
For your requested functionality, first create a web application with the servlet to get HTTP requests.
Comments
Post a Comment