I am busy with a project where the client Gui sends user and password details to a server where the details needs to be verified Sever side against the data in the database on the server. We are required to use Threads(from what I understand is that the Server needs to be able to handle multiple requests). Where I get stuck is when the server is started it is set so that is can listen to requests from clients. However the Server gets stuck listening to client requests until it received a request from the client. Furthermore on the client side if I send wrong username and password I struggle to re-submit the info for verification. This is the code that I have used. Would just like to know if I am on the right track? Firstly I start the server. private void butStartUpServerActionPerformed(java.awt.event.ActionEvent evt) { try { Class.forName(driverName); connection = DriverManager.getConnection(SourceURL);
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update