Java Lab Programs for Sem 6.
Note: All programs are executed in Eclipse and is expected to be done so.
- Create a file in the eclipse working directory named hello.txt
- Compile both Server and SocketClient using
javac Server.javaandjavac SocketClient.java. - Then run the Server first using
java Serverand thenjava ServerClient
- Change the jdbc url to the url mentioned. The url format is
jdbc:mysql://localhost:3306/databasename. - Add mysql jdbc connector to build path in eclipse.
- Refer to the following Stack Overflow url for errors regarding Apache Tomcat and MySQL running.