concurrency programming in java - 04 - essentials of java practice
TRANSCRIPT
Concurrent Programming
04
Sachintha Gunasena MBCShttp://lk.linkedin.com/in/sachinthadtg
Java Programming Workshop
Sachintha Gunasena MBCShttp://lk.linkedin.com/in/sachinthadtg
FileIOTest
• Simple application to perform File Input/Output operations.
JDBC Example• Simple application to connect to the
database, read data from a database, edit data on a database, and delete the database.
• CRUD• important to import the correct database
driver to the project• the database server must be running
JavaDBApp• Simple GUI application to
• get a username and password as input • and connect to a predefined database • to check whether the data entered in the form is matched
with data in database• then return a true or false• display a message stating whether the login was successful
or not• import correct database library to the project• make sure the database server is running
Servlet Demo
• A servlet to authenticate a user by connecting to a login database
• import development server to the project• import correct database library to the
project
Login Demo• Simple login page which will connect to a
database and authenticate a user• uses jsp pages• import correct database driver to the
project• import the development server used to test
the project
Assignment• Create a GUI Java application to manipulate a database• User must be logged in first via the initial welcome and login page• There must be a separate page containing controls to
• create a table• add data to an existing(or newly created) table• delete a table
• Finally there must be an option to save a selected dataset from the database to a file in the user computer
• Errors must be properly handled and displayed to the user wherever possible
Next Up…
• Concurrency
References
• http://www.lionblogger.com/java-application-mysql-database/
• http://www.lionblogger.com/how-to-create-a-simple-login-form-using-java-servlet-and-mysql-db/
Sachintha Gunasena MBCShttp://lk.linkedin.com/in/sachinthadtg
Thank you.
Sachintha Gunasena MBCShttp://lk.linkedin.com/in/sachinthadtg