This chapter introduces the “Your Momma Loves Drama” system and how you can develop its applications using Java and JDBC. Numerous APIs can be used to access the Apache Derby database, including PHP, Perl, Python, .NET, and ODBC. However, JDBC and Java have some key advantages over these APIs, including:
JDBC is the native interface to Apache Derby
JDBC and Java can be deployed on many different platforms without changes to the code
All of the libraries, files, databases, and other resources can be embedded in one .JAR file for easy transport between systems
This chapter demonstrates how certain components of the YMLD system can be implemented. The code that is used throughout the chapter is meant to show certain techniques in JDBC ...