So right now I have a working application created using swing and Mysql Database through JDBC. So the way I see the client-server setup is that Ill put the .exe-wrapped swing project to reside on PC1(server pc). Then it may have 2 or more client pc's PC2(client) and PC3(client) where all these 3 PC's are connected via LAN.
What should I do to embed the MySql database that my swing application is using so that if I wrap the java swing project to .exe, the database will be embedded together with the exe/installer? What's the best tool to use given the specifications?
If first question is possible and let's assume that the swing app and mysql database are wrapped together and is residing on PC1(server pc), what do i do next so that the copy of swing application on PC2(client) and PC3(client) can talk to PC1 (server)?
Can I accomplish the client-server setup I want without any network or socket programming? (my professors who are non-java programmers said that on other programming languages such as C# that you only need the IP address which im clueless about).
Problems: My knowledge is limited to JDBC, Java Swing and Mysql. Tools are Netbeans, mysql j connector, mysql workbench, xampp.
I only have 6-7 months left to do it so if socket or network programming is required to be learned, i will study it from 0% knowledge on it. I fear that time may not be enough if it's complicated.
I have read things about RMI which i don't know. Dont know if it has something to do with my problem.
This question may be lengthy but I can't think of a shorter way to explain it because i guess client-server setup is broad in Java as it applies on other webservice.
I'd appreciate any suggestion or explanation but I'd prefer a detailed one since my knowledge is limited.
Thanks in advance.
To add, I read somewhere that maybe all i need is to use the Java Web Service with Swing application. Any thoughts or suggestions?