├── .gradle ├── 6.1.1 │ ├── gc.properties │ ├── fileChanges │ │ └── last-build.bin │ ├── fileHashes │ │ └── fileHashes.lock │ └── executionHistory │ │ ├── executionHistory.bin │ │ └── executionHistory.lock ├── vcs-1 │ └── gc.properties ├── buildOutputCleanup │ ├── cache.properties │ └── buildOutputCleanup.lock └── checksums │ └── checksums.lock ├── EclipseTest ├── .gitignore └── src │ └── application │ └── App.java ├── HelloWorld ├── HelloWorld.1 ├── 11.150 Gson ├── .gitignore ├── WebContent │ └── META-INF │ │ └── MANIFEST.MF └── settings.gradle ├── guava-example └── .gitignore ├── parent-poms └── .gitignore ├── 05.060 User Class ├── .gitignore └── src │ ├── main │ └── java │ │ └── com │ │ └── caveofprogramming │ │ └── db │ │ └── Dao.java │ └── test │ └── java │ └── com │ └── caveofprogramming │ └── db │ └── AppTest.java ├── 05.090 Saving Users ├── .gitignore └── src │ └── main │ └── java │ └── com │ └── caveofprogramming │ └── db │ ├── UserDao.java │ ├── Dao.java │ └── DaoException.java ├── 06.010 Properties ├── .gitignore └── src │ └── main │ ├── resources │ └── config │ │ └── db.properties │ └── java │ └── com │ └── caveofprogramming │ └── db │ ├── UserDao.java │ ├── Dao.java │ └── DaoException.java ├── 06.020 Profiles ├── .gitignore └── src │ └── main │ ├── resources │ └── config │ │ ├── db.dev.properties │ │ └── db.prod.properties │ └── java │ └── com │ └── caveofprogramming │ └── db │ ├── UserDao.java │ ├── Dao.java │ └── DaoException.java ├── 07.060 Testing Save ├── .gitignore └── src │ ├── main │ ├── resources │ │ └── config │ │ │ ├── db.dev.properties │ │ │ └── db.prod.properties │ └── java │ │ └── com │ │ └── caveofprogramming │ │ └── db │ │ ├── UserDao.java │ │ ├── Dao.java │ │ └── DaoException.java │ └── test │ └── resources │ └── config │ └── db.test.properties ├── 08.020 Listing Fields └── .gitignore ├── 08.030 Listing Methods └── .gitignore ├── 08.050 Calling Methods └── .gitignore ├── 08.060 Setting Fields └── .gitignore ├── 14.010 JSON Client ├── .gitignore └── src │ └── main │ └── java │ ├── app │ ├── controllers │ │ └── Controller.java │ └── App.java │ └── gui │ └── MainFrame.java ├── 14.020 Split Panes ├── .gitignore └── src │ └── main │ └── java │ ├── app │ └── App.java │ └── gui │ ├── CreateBookPanel.java │ └── ViewBooksPanel.java ├── HelloWorldMaven ├── .gitignore └── src │ ├── main │ └── java │ │ └── application │ │ └── App.java │ └── test │ └── java │ └── application │ └── AppTest.java ├── 05.030 Singleton Pattern ├── .gitignore └── src │ └── main │ └── java │ └── com │ └── caveofprogramming │ └── db │ ├── Database.java │ └── App.java ├── 05.050 Dao Interface ├── .gitignore └── src │ └── main │ └── java │ └── com │ └── caveofprogramming │ └── db │ └── Dao.java ├── 05.100 Retrieving Users ├── .gitignore └── src │ └── main │ └── java │ └── com │ └── caveofprogramming │ └── db │ ├── UserDao.java │ ├── Dao.java │ └── DaoException.java ├── 05.110 Finding By ID ├── .gitignore └── src │ └── main │ └── java │ └── com │ └── caveofprogramming │ └── db │ ├── UserDao.java │ ├── Dao.java │ └── DaoException.java ├── 05.120 Deleting Users ├── .gitignore └── src │ └── main │ └── java │ └── com │ └── caveofprogramming │ └── db │ ├── UserDao.java │ ├── Dao.java │ └── DaoException.java ├── 05.130 Updating Users ├── .gitignore └── src │ └── main │ └── java │ └── com │ └── caveofprogramming │ └── db │ ├── UserDao.java │ ├── Dao.java │ └── DaoException.java ├── 06.030 A Profile Class ├── .gitignore └── src │ └── main │ ├── resources │ └── config │ │ ├── db.dev.properties │ │ └── db.prod.properties │ └── java │ └── com │ └── caveofprogramming │ └── db │ ├── UserDao.java │ ├── Dao.java │ └── DaoException.java ├── 07.130 Testing GetAll ├── .gitignore └── src │ ├── main │ ├── resources │ │ └── config │ │ │ ├── db.dev.properties │ │ │ └── db.prod.properties │ └── java │ │ └── com │ │ └── caveofprogramming │ │ └── db │ │ ├── UserDao.java │ │ ├── Dao.java │ │ └── DaoException.java │ └── test │ └── resources │ └── config │ └── db.test.properties ├── 07.140 Testing Delete ├── .gitignore └── src │ ├── main │ ├── resources │ │ └── config │ │ │ ├── db.dev.properties │ │ │ └── db.prod.properties │ └── java │ │ └── com │ │ └── caveofprogramming │ │ └── db │ │ ├── UserDao.java │ │ ├── Dao.java │ │ └── DaoException.java │ └── test │ └── resources │ └── config │ └── db.test.properties ├── 08.010 The Class Object └── .gitignore ├── 09.060 Class Annotations ├── .gitignore └── src │ └── app │ ├── App.java │ ├── Entity.java │ └── Field.java ├── 11.030 Hello World Web ├── .gitignore └── WebContent │ ├── META-INF │ └── MANIFEST.MF │ └── index.html ├── 11.080 JSTL ├── bin │ └── .gitignore ├── WebContent │ └── META-INF │ │ └── MANIFEST.MF ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 11.120 Creating a Form ├── .gitignore ├── .gradle │ ├── 6.0 │ │ ├── gc.properties │ │ ├── fileChanges │ │ │ └── last-build.bin │ │ ├── fileHashes │ │ │ ├── fileHashes.bin │ │ │ └── fileHashes.lock │ │ └── executionHistory │ │ │ ├── executionHistory.bin │ │ │ └── executionHistory.lock │ ├── vcs-1 │ │ └── gc.properties │ └── buildOutputCleanup │ │ ├── cache.properties │ │ ├── outputFiles.bin │ │ └── buildOutputCleanup.lock ├── WebContent │ └── META-INF │ │ └── MANIFEST.MF └── settings.gradle ├── 11.140 The Post Method ├── .gitignore ├── WebContent │ └── META-INF │ │ └── MANIFEST.MF └── settings.gradle ├── 11.170 Serving JSON ├── .gitignore ├── WebContent │ └── META-INF │ │ └── MANIFEST.MF └── settings.gradle ├── 12.070 JPA ├── bin │ └── .gitignore ├── .gitignore ├── src │ └── main │ │ └── java │ │ ├── greeters │ │ └── Greeter.java │ │ ├── configuration │ │ └── Config.java │ │ └── app │ │ └── App.java ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 13.040 Rest Controllers ├── .gitignore ├── WebContent │ └── META-INF │ │ └── MANIFEST.MF └── src │ └── main │ ├── resources │ └── templates │ │ ├── about.html │ │ └── index.html │ └── java │ └── app │ └── App.java ├── 13.060 Path Variables ├── .gitignore ├── src │ └── main │ │ ├── resources │ │ ├── application.properties │ │ └── templates │ │ │ ├── about.html │ │ │ └── index.html │ │ └── java │ │ └── app │ │ └── App.java └── WebContent │ └── META-INF │ └── MANIFEST.MF ├── 14.040 Adding a Table ├── .gitignore └── src │ └── main │ └── java │ └── app │ ├── gui │ └── UserFormListener.java │ └── App.java ├── 14.060 Parsing the JSON ├── .gitignore └── src │ └── main │ └── java │ └── app │ ├── gui │ └── UserFormListener.java │ └── App.java ├── 14.090 Handling Errors ├── .gitignore └── src │ └── main │ └── java │ └── app │ ├── gui │ └── UserFormListener.java │ └── App.java ├── HelloWorldMavenEclipse ├── .gitignore └── src │ └── main │ └── java │ └── com │ └── caveofprogramming │ └── maven │ └── HelloWorldMavenEclipse │ └── App.java ├── 05.090 Saving and Retrieving ├── .gitignore └── src │ └── main │ └── java │ └── com │ └── caveofprogramming │ └── db │ ├── UserDao.java │ └── Dao.java ├── 07.030 Creating a Test Class ├── .gitignore └── src │ ├── main │ ├── resources │ │ └── config │ │ │ ├── db.dev.properties │ │ │ └── db.prod.properties │ └── java │ │ └── com │ │ └── caveofprogramming │ │ └── db │ │ ├── UserDao.java │ │ ├── Dao.java │ │ └── DaoException.java │ └── test │ └── resources │ └── config │ └── db.test.properties ├── 07.050 SetUp and TearDown ├── .gitignore └── src │ ├── main │ ├── resources │ │ └── config │ │ │ ├── db.dev.properties │ │ │ └── db.prod.properties │ └── java │ │ └── com │ │ └── caveofprogramming │ │ └── db │ │ ├── UserDao.java │ │ ├── Dao.java │ │ └── DaoException.java │ └── test │ └── resources │ └── config │ └── db.test.properties ├── 07.070 Loading a Text File ├── .gitignore └── src │ ├── main │ ├── resources │ │ └── config │ │ │ ├── db.dev.properties │ │ │ └── db.prod.properties │ └── java │ │ └── com │ │ └── caveofprogramming │ │ └── db │ │ ├── UserDao.java │ │ ├── Dao.java │ │ └── DaoException.java │ └── test │ └── resources │ └── config │ └── db.test.properties ├── 07.080 Creating Test Users ├── .gitignore └── src │ ├── main │ ├── resources │ │ └── config │ │ │ ├── db.dev.properties │ │ │ └── db.prod.properties │ └── java │ │ └── com │ │ └── caveofprogramming │ │ └── db │ │ ├── UserDao.java │ │ ├── Dao.java │ │ └── DaoException.java │ └── test │ └── resources │ └── config │ └── db.test.properties ├── 07.090 Testing Multiple Saves ├── .gitignore └── src │ ├── main │ ├── resources │ │ └── config │ │ │ ├── db.dev.properties │ │ │ └── db.prod.properties │ └── java │ │ └── com │ │ └── caveofprogramming │ │ └── db │ │ ├── UserDao.java │ │ ├── Dao.java │ │ └── DaoException.java │ └── test │ └── resources │ └── config │ └── db.test.properties ├── 09.020 Creating an Annotation ├── .gitignore └── src │ └── app │ ├── Repository.java │ ├── App.java │ └── Field.java ├── 09.040 Annotation Attributes ├── .gitignore └── src │ └── app │ ├── App.java │ └── Field.java ├── 09.050 Getting Atributes Values ├── .gitignore └── src │ └── app │ ├── App.java │ └── Field.java ├── 09.070 Creating a SQL Expression ├── .gitignore └── src │ └── app │ ├── App.java │ ├── Entity.java │ └── Field.java ├── 10.110 Insets ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── src │ └── main │ │ └── java │ │ └── application │ │ └── App.java └── settings.gradle ├── 10.130 Padding ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── src │ └── main │ │ └── java │ │ └── application │ │ └── App.java └── settings.gradle ├── 11.070 About JSP ├── bin │ └── .gitignore ├── WebContent │ └── META-INF │ │ └── MANIFEST.MF ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 11.130 Styling the Form ├── .gradle │ ├── 6.0 │ │ ├── gc.properties │ │ ├── fileChanges │ │ │ └── last-build.bin │ │ ├── fileHashes │ │ │ ├── fileHashes.bin │ │ │ └── fileHashes.lock │ │ └── executionHistory │ │ │ ├── executionHistory.bin │ │ │ └── executionHistory.lock │ ├── vcs-1 │ │ └── gc.properties │ └── buildOutputCleanup │ │ ├── cache.properties │ │ ├── outputFiles.bin │ │ └── buildOutputCleanup.lock ├── WebContent │ └── META-INF │ │ └── MANIFEST.MF └── settings.gradle ├── 11.160 JSON Serialization ├── .gitignore └── WebContent │ └── META-INF │ └── MANIFEST.MF ├── 13.020 Basic Spring Web App ├── .gitignore ├── WebContent │ └── META-INF │ │ └── MANIFEST.MF └── src │ └── main │ └── java │ └── app │ └── App.java ├── 13.030 Hello World Spring MVC ├── .gitignore ├── WebContent │ └── META-INF │ │ └── MANIFEST.MF └── src │ └── main │ ├── resources │ └── templates │ │ ├── about.html │ │ └── index.html │ └── java │ └── app │ └── App.java ├── 13.050 Posting JSON to Spring ├── .gitignore ├── WebContent │ └── META-INF │ │ └── MANIFEST.MF └── src │ └── main │ ├── resources │ └── templates │ │ ├── about.html │ │ └── index.html │ └── java │ └── app │ └── App.java ├── 13.070 Creating the Database ├── .gitignore ├── WebContent │ └── META-INF │ │ └── MANIFEST.MF └── src │ └── main │ ├── resources │ └── templates │ │ ├── about.html │ │ └── index.html │ └── java │ └── app │ └── App.java ├── 13.080 Layered Architecture ├── .gitignore ├── WebContent │ └── META-INF │ │ └── MANIFEST.MF └── src │ └── main │ ├── resources │ └── templates │ │ ├── about.html │ │ └── index.html │ └── java │ └── app │ ├── repositories │ └── BookDao.java │ └── App.java ├── 14.030 Creating the User Form ├── .gitignore └── src │ └── main │ └── java │ └── app │ ├── gui │ ├── UserFormListener.java │ └── ViewBooksPanel.java │ └── App.java ├── 14.080 Implementing Refresh ├── .gitignore └── src │ └── main │ └── java │ └── app │ ├── gui │ └── UserFormListener.java │ └── App.java ├── SQLiteProject ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── src │ └── main │ │ └── java │ │ └── SQLiteProject │ │ └── Library.java └── settings.gradle ├── 04.020 SQLiteProject ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── src │ └── main │ │ └── java │ │ └── SQLiteProject │ │ └── Library.java └── settings.gradle ├── 04.050 Inserting Data ├── bin │ └── .gitignore ├── people.db ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 04.070 Autocommit ├── bin │ └── .gitignore ├── people.db ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 05.010 Maven Project for MySQL ├── .gitignore └── src │ └── main │ └── java │ └── com │ └── caveofprogramming │ └── db │ └── App.java ├── 05.020 Downloading MySQL Connector ├── .gitignore └── src │ └── main │ └── java │ └── com │ └── caveofprogramming │ └── db │ └── App.java ├── 05.080 implementing the UserDao ├── .gitignore └── src │ └── main │ └── java │ └── com │ └── caveofprogramming │ └── db │ ├── UserDao.java │ └── Dao.java ├── 07.100 Retrieving Users in a Range ├── .gitignore └── src │ ├── main │ ├── resources │ │ └── config │ │ │ ├── db.dev.properties │ │ │ └── db.prod.properties │ └── java │ │ └── com │ │ └── caveofprogramming │ │ └── db │ │ ├── UserDao.java │ │ ├── Dao.java │ │ └── DaoException.java │ └── test │ └── resources │ └── config │ └── db.test.properties ├── 07.110 Checking Retrieved Users ├── .gitignore └── src │ ├── main │ ├── resources │ │ └── config │ │ │ ├── db.dev.properties │ │ │ └── db.prod.properties │ └── java │ │ └── com │ │ └── caveofprogramming │ │ └── db │ │ ├── UserDao.java │ │ ├── Dao.java │ │ └── DaoException.java │ └── test │ └── resources │ └── config │ └── db.test.properties ├── 07.120 Testing Find and Update ├── .gitignore └── src │ ├── main │ ├── resources │ │ └── config │ │ │ ├── db.dev.properties │ │ │ └── db.prod.properties │ └── java │ │ └── com │ │ └── caveofprogramming │ │ └── db │ │ ├── UserDao.java │ │ ├── Dao.java │ │ └── DaoException.java │ └── test │ └── resources │ └── config │ └── db.test.properties ├── 09.010 Annotation Use Case Scenario ├── .gitignore └── src │ └── app │ ├── Repository.java │ └── App.java ├── 09.030 Implementing Annotation Code ├── .gitignore └── src │ └── app │ ├── App.java │ └── Field.java ├── 10.020 Swing Demo ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── src │ └── main │ │ └── java │ │ └── application │ │ └── App.java ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 10.040 Adding a Panel ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── src │ └── main │ │ └── java │ │ ├── application │ │ └── App.java │ │ ├── gui │ │ ├── MainPanel.java │ │ └── MainFrame.java │ │ └── controller │ │ └── Controller.java └── settings.gradle ├── 10.050 Adding a Menu ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── src │ └── main │ │ └── java │ │ ├── application │ │ └── App.java │ │ └── gui │ │ └── MainPanel.java └── settings.gradle ├── 10.080 GridBagLayout ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── src │ └── main │ │ └── java │ │ └── application │ │ └── App.java └── settings.gradle ├── 10.120 Nested Panels ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── src │ └── main │ │ └── java │ │ └── application │ │ └── App.java └── settings.gradle ├── 10.140 Button Clicks ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── src │ └── main │ │ └── java │ │ └── application │ │ └── App.java └── settings.gradle ├── 11.090 Using JSTL ├── bin │ └── .gitignore ├── WebContent │ └── META-INF │ │ └── MANIFEST.MF ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 11.180 JSON Client ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── src │ └── main │ │ └── java │ │ └── JSON │ │ └── Client │ │ └── Library.java └── settings.gradle ├── 12.030 Entry Point ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── src │ └── main │ │ └── java │ │ ├── app │ │ └── App.java │ │ └── main │ │ └── Runner.java └── settings.gradle ├── 12.040 Autowiring ├── bin │ └── .gitignore ├── .gitignore ├── src │ └── main │ │ └── java │ │ ├── greeters │ │ └── Greeter.java │ │ └── app │ │ └── App.java ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 12.050 Components ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── src │ └── main │ │ └── java │ │ ├── greeters │ │ └── Greeter.java │ │ └── app │ │ └── App.java └── settings.gradle ├── 12.060 Configuration ├── bin │ └── .gitignore ├── .gitignore ├── src │ └── main │ │ └── java │ │ ├── greeters │ │ └── Greeter.java │ │ ├── configuration │ │ └── Config.java │ │ └── app │ │ └── App.java ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 12.100 Repositories ├── bin │ └── .gitignore ├── .gitignore ├── src │ └── main │ │ └── java │ │ ├── greeters │ │ └── Greeter.java │ │ ├── repositories │ │ └── UserDao.java │ │ └── configuration │ │ └── Config.java ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 13.010 Maven Setup for Spring MVC └── .gitignore ├── 14.050 Connecting to the Service ├── .gitignore └── src │ └── main │ └── java │ └── app │ ├── gui │ └── UserFormListener.java │ └── App.java ├── gradle-eclipse-hello ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── src │ └── main │ │ └── java │ │ └── application │ │ └── App.java ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── gradle-hello-world ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── src │ └── main │ │ └── java │ │ └── com │ │ └── caveofprogramming │ │ └── App.java └── settings.gradle ├── 04.030 Creating a Database ├── bin │ └── .gitignore ├── people.db ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 04.040 Creating Tables ├── bin │ └── .gitignore ├── people.db ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 04.060 Prepared Statements ├── bin │ └── .gitignore ├── people.db ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 04.110 MySQL Connector ├── bin │ └── .gitignore ├── people.db ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 04.120 Connecting to MySQL ├── bin │ └── .gitignore ├── people.db ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 05.040 Implementing the Database Class └── .gitignore ├── 08.040 Checking for Fields and Methods └── .gitignore ├── 10.030 Basic Swing Project ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── src │ └── main │ └── java │ ├── controller │ └── Controller.java │ ├── application │ └── App.java │ └── gui │ └── MainFrame.java ├── 10.070 Creating Components ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── src │ └── main │ └── java │ └── application │ └── App.java ├── 10.090 Weights and Anchors ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── src │ └── main │ └── java │ └── application │ └── App.java ├── 10.100 Vertical Weights ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── src │ └── main │ │ └── java │ │ └── application │ │ └── App.java └── settings.gradle ├── 10.150 Observer Pattern ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── src │ └── main │ │ └── java │ │ ├── gui │ │ └── UserFormListener.java │ │ └── application │ │ └── App.java ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 11.040 Gradle Web Project ├── bin │ └── .gitignore ├── WebContent │ ├── META-INF │ │ └── MANIFEST.MF │ └── index.html ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── src │ └── main │ └── java │ └── Gradle │ └── Web │ └── Project │ └── Library.java ├── 11.060 Template Engines ├── bin │ └── .gitignore ├── WebContent │ ├── META-INF │ │ └── MANIFEST.MF │ └── index.jsp ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── src │ └── main │ │ └── java │ │ └── Gradle │ │ └── Web │ │ └── Project │ │ └── Library.java └── settings.gradle ├── 13.090 Implementing the Book Controller ├── .gitignore ├── WebContent │ └── META-INF │ │ └── MANIFEST.MF └── src │ └── main │ ├── resources │ └── templates │ │ ├── about.html │ │ └── index.html │ └── java │ └── app │ ├── repositories │ └── BookDao.java │ └── App.java ├── 14.070 Creating Books via the Service ├── .gitignore └── src │ └── main │ └── java │ └── app │ ├── gui │ └── UserFormListener.java │ └── App.java ├── 10.020 Basic Gradle Project ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── src │ └── main │ │ └── java │ │ └── application │ │ └── App.java └── gradle │ └── wrapper │ └── gradle-wrapper.properties ├── 11.100 Servlets ├── bin │ └── .gitignore ├── WebContent │ └── META-INF │ │ └── MANIFEST.MF ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 12.020 Spring Boot Hello World ├── bin │ └── .gitignore ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── src │ └── main │ └── java │ └── app │ └── App.java ├── 12.110 More Repository Methods ├── bin │ └── .gitignore ├── .gitignore ├── src │ └── main │ │ └── java │ │ ├── greeters │ │ └── Greeter.java │ │ ├── repositories │ │ └── UserDao.java │ │ └── configuration │ │ └── Config.java ├── .gitattributes └── gradle │ └── wrapper │ └── gradle-wrapper.properties ├── 10.170 Database Code ├── bin │ └── .gitignore ├── src │ ├── main │ │ ├── java │ │ │ ├── model │ │ │ │ ├── UserDao.java │ │ │ │ ├── Dao.java │ │ │ │ └── DaoException.java │ │ │ ├── gui │ │ │ │ └── UserFormListener.java │ │ │ └── application │ │ │ │ └── App.java │ │ └── resources │ │ │ └── config │ │ │ ├── db.dev.properties │ │ │ └── db.prod.properties │ └── test │ │ └── resources │ │ └── config │ │ └── db.test.properties ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 10.180 Adding Fields ├── bin │ └── .gitignore ├── src │ ├── main │ │ ├── java │ │ │ ├── model │ │ │ │ ├── UserDao.java │ │ │ │ ├── Dao.java │ │ │ │ └── DaoException.java │ │ │ ├── gui │ │ │ │ └── UserFormListener.java │ │ │ └── application │ │ │ │ └── App.java │ │ └── resources │ │ │ └── config │ │ │ ├── db.prod.properties │ │ │ └── db.dev.properties │ └── test │ │ └── resources │ │ └── config │ │ └── db.test.properties ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 11.110 Serving HTML ├── bin │ └── .gitignore ├── WebContent │ └── META-INF │ │ └── MANIFEST.MF ├── .gitignore ├── .gitattributes ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── 12.090 Spring Database Configuration ├── bin │ └── .gitignore ├── .gitignore ├── src │ └── main │ │ └── java │ │ ├── greeters │ │ └── Greeter.java │ │ └── configuration │ │ └── Config.java ├── .gitattributes └── gradle │ └── wrapper │ └── gradle-wrapper.properties ├── 12.120 Adding CrudRepository Methods ├── bin │ └── .gitignore ├── .gitignore ├── src │ └── main │ │ └── java │ │ ├── greeters │ │ └── Greeter.java │ │ ├── configuration │ │ └── Config.java │ │ └── repositories │ │ └── UserDao.java ├── .gitattributes └── gradle │ └── wrapper │ └── gradle-wrapper.properties ├── 10.190 Upgrading the Tests ├── bin │ └── .gitignore ├── src │ ├── main │ │ ├── java │ │ │ ├── model │ │ │ │ ├── UserDao.java │ │ │ │ ├── Dao.java │ │ │ │ └── DaoException.java │ │ │ ├── gui │ │ │ │ └── UserFormListener.java │ │ │ └── application │ │ │ │ └── App.java │ │ └── resources │ │ │ └── config │ │ │ ├── db.prod.properties │ │ │ └── db.dev.properties │ └── test │ │ └── resources │ │ └── config │ │ └── db.test.properties ├── .gitignore ├── .gitattributes └── gradle │ └── wrapper │ └── gradle-wrapper.properties ├── 10.200 Upgrading UserDaoImpl ├── bin │ └── .gitignore ├── src │ ├── main │ │ ├── java │ │ │ ├── model │ │ │ │ ├── UserDao.java │ │ │ │ ├── Dao.java │ │ │ │ └── DaoException.java │ │ │ ├── gui │ │ │ │ └── UserFormListener.java │ │ │ └── application │ │ │ │ └── App.java │ │ └── resources │ │ │ └── config │ │ │ ├── db.prod.properties │ │ │ └── db.dev.properties │ └── test │ │ └── resources │ │ └── config │ │ └── db.test.properties ├── .gitignore ├── .gitattributes └── gradle │ └── wrapper │ └── gradle-wrapper.properties ├── 10.210 Making the App Save Users ├── bin │ └── .gitignore ├── src │ ├── main │ │ ├── java │ │ │ ├── model │ │ │ │ ├── UserDao.java │ │ │ │ ├── Dao.java │ │ │ │ └── DaoException.java │ │ │ ├── gui │ │ │ │ └── UserFormListener.java │ │ │ └── application │ │ │ │ └── App.java │ │ └── resources │ │ │ └── config │ │ │ ├── db.prod.properties │ │ │ └── db.dev.properties │ └── test │ │ └── resources │ │ └── config │ │ └── db.test.properties ├── .gitignore ├── .gitattributes └── gradle │ └── wrapper │ └── gradle-wrapper.properties ├── README.md ├── Simple └── src │ └── app │ └── App.java ├── 12.080 Creating a Database and User.txt └── 10.160 Creating a Database.txt /.gradle/6.1.1/gc.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gradle/vcs-1/gc.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EclipseTest/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /HelloWorld: -------------------------------------------------------------------------------- 1 | Served at: /Servlets -------------------------------------------------------------------------------- /HelloWorld.1: -------------------------------------------------------------------------------- 1 | Served at: /Servlets -------------------------------------------------------------------------------- /11.150 Gson/.gitignore: -------------------------------------------------------------------------------- 1 | /.gradle/ 2 | -------------------------------------------------------------------------------- /guava-example/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /parent-poms/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /.gradle/6.1.1/fileChanges/last-build.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /05.060 User Class/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /05.090 Saving Users/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /06.010 Properties/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /06.020 Profiles/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /07.060 Testing Save/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /08.020 Listing Fields/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /08.030 Listing Methods/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /08.050 Calling Methods/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /08.060 Setting Fields/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /14.010 JSON Client/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /14.020 Split Panes/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /HelloWorldMaven/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /05.030 Singleton Pattern/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /05.050 Dao Interface/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /05.100 Retrieving Users/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /05.110 Finding By ID/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /05.120 Deleting Users/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /05.130 Updating Users/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /06.030 A Profile Class/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /07.130 Testing GetAll/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /07.140 Testing Delete/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /08.010 The Class Object/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /09.060 Class Annotations/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /11.030 Hello World Web/.gitignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | -------------------------------------------------------------------------------- /11.080 JSTL/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /11.120 Creating a Form/.gitignore: -------------------------------------------------------------------------------- 1 | /.gradle/ 2 | -------------------------------------------------------------------------------- /11.120 Creating a Form/.gradle/6.0/gc.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /11.140 The Post Method/.gitignore: -------------------------------------------------------------------------------- 1 | /.gradle/ 2 | -------------------------------------------------------------------------------- /11.170 Serving JSON/.gitignore: -------------------------------------------------------------------------------- 1 | /.gradle/ 2 | -------------------------------------------------------------------------------- /12.070 JPA/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /13.040 Rest Controllers/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /13.060 Path Variables/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /14.040 Adding a Table/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /14.060 Parsing the JSON/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /14.090 Handling Errors/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /HelloWorldMavenEclipse/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /05.090 Saving and Retrieving/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /07.030 Creating a Test Class/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /07.050 SetUp and TearDown/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /07.070 Loading a Text File/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /07.080 Creating Test Users/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /07.090 Testing Multiple Saves/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /09.020 Creating an Annotation/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /09.040 Annotation Attributes/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /09.050 Getting Atributes Values/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /09.070 Creating a SQL Expression/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /10.110 Insets/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /10.130 Padding/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /11.070 About JSP/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /11.120 Creating a Form/.gradle/vcs-1/gc.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /11.130 Styling the Form/.gradle/6.0/gc.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /11.130 Styling the Form/.gradle/vcs-1/gc.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /11.160 JSON Serialization/.gitignore: -------------------------------------------------------------------------------- 1 | /.gradle/ 2 | -------------------------------------------------------------------------------- /13.020 Basic Spring Web App/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /13.030 Hello World Spring MVC/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /13.050 Posting JSON to Spring/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /13.070 Creating the Database/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /13.080 Layered Architecture/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /14.030 Creating the User Form/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /14.080 Implementing Refresh/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /SQLiteProject/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /04.020 SQLiteProject/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /04.050 Inserting Data/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /04.070 Autocommit/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /05.010 Maven Project for MySQL/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /05.020 Downloading MySQL Connector/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /05.080 implementing the UserDao/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /07.100 Retrieving Users in a Range/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /07.110 Checking Retrieved Users/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /07.120 Testing Find and Update/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /09.010 Annotation Use Case Scenario/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /09.030 Implementing Annotation Code/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /10.020 Swing Demo/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /10.040 Adding a Panel/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /10.050 Adding a Menu/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /10.080 GridBagLayout/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /10.120 Nested Panels/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /10.140 Button Clicks/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /11.090 Using JSTL/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /11.180 JSON Client/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /12.030 Entry Point/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /12.040 Autowiring/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /12.050 Components/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /12.060 Configuration/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /12.100 Repositories/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /13.010 Maven Setup for Spring MVC/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /14.050 Connecting to the Service/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /gradle-eclipse-hello/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /gradle-hello-world/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /04.030 Creating a Database/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /04.040 Creating Tables/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /04.060 Prepared Statements/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /04.110 MySQL Connector/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /04.120 Connecting to MySQL/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /05.040 Implementing the Database Class/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /08.040 Checking for Fields and Methods/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /10.030 Basic Swing Project/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /10.070 Creating Components/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /10.090 Weights and Anchors/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /10.100 Vertical Weights/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /10.150 Observer Pattern/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /11.040 Gradle Web Project/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /11.060 Template Engines/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /11.120 Creating a Form/.gradle/6.0/fileChanges/last-build.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /11.130 Styling the Form/.gradle/6.0/fileChanges/last-build.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /13.090 Implementing the Book Controller/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /14.070 Creating Books via the Service/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /10.020 Basic Gradle Project/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /11.100 Servlets/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | /default/ 4 | -------------------------------------------------------------------------------- /12.020 Spring Boot Hello World/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /12.110 More Repository Methods/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /10.170 Database Code/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | /default/ 4 | -------------------------------------------------------------------------------- /10.180 Adding Fields/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | /default/ 4 | -------------------------------------------------------------------------------- /11.110 Serving HTML/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | /default/ 4 | -------------------------------------------------------------------------------- /12.090 Spring Database Configuration/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /12.120 Adding CrudRepository Methods/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | -------------------------------------------------------------------------------- /10.190 Upgrading the Tests/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | /default/ 4 | -------------------------------------------------------------------------------- /13.060 Path Variables/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | debug=true 2 | -------------------------------------------------------------------------------- /10.200 Upgrading UserDaoImpl/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | /default/ 4 | -------------------------------------------------------------------------------- /10.210 Making the App Save Users/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /main/ 2 | /test/ 3 | /default/ 4 | -------------------------------------------------------------------------------- /11.080 JSTL/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /11.100 Servlets/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /11.150 Gson/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /.gradle/buildOutputCleanup/cache.properties: -------------------------------------------------------------------------------- 1 | #Tue Jun 09 13:17:45 CEST 2020 2 | gradle.version=6.1.1 3 | -------------------------------------------------------------------------------- /11.070 About JSP/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /11.090 Using JSTL/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /11.110 Serving HTML/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /11.170 Serving JSON/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /11.030 Hello World Web/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /11.040 Gradle Web Project/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /11.060 Template Engines/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /11.120 Creating a Form/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /11.130 Styling the Form/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /11.140 The Post Method/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /11.160 JSON Serialization/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /13.040 Rest Controllers/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /13.060 Path Variables/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /13.020 Basic Spring Web App/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /13.030 Hello World Spring MVC/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /13.050 Posting JSON to Spring/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /13.070 Creating the Database/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /13.080 Layered Architecture/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /04.070 Autocommit/people.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/04.070 Autocommit/people.db -------------------------------------------------------------------------------- /13.090 Implementing the Book Controller/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /11.120 Creating a Form/.gradle/buildOutputCleanup/cache.properties: -------------------------------------------------------------------------------- 1 | #Tue Jun 09 15:38:45 CEST 2020 2 | gradle.version=6.0 3 | -------------------------------------------------------------------------------- /11.130 Styling the Form/.gradle/buildOutputCleanup/cache.properties: -------------------------------------------------------------------------------- 1 | #Tue Jun 09 15:38:45 CEST 2020 2 | gradle.version=6.0 3 | -------------------------------------------------------------------------------- /.gradle/checksums/checksums.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/.gradle/checksums/checksums.lock -------------------------------------------------------------------------------- /04.040 Creating Tables/people.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/04.040 Creating Tables/people.db -------------------------------------------------------------------------------- /04.050 Inserting Data/people.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/04.050 Inserting Data/people.db -------------------------------------------------------------------------------- /04.110 MySQL Connector/people.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/04.110 MySQL Connector/people.db -------------------------------------------------------------------------------- /10.170 Database Code/src/main/java/model/UserDao.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /10.180 Adding Fields/src/main/java/model/UserDao.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /04.030 Creating a Database/people.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/04.030 Creating a Database/people.db -------------------------------------------------------------------------------- /04.060 Prepared Statements/people.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/04.060 Prepared Statements/people.db -------------------------------------------------------------------------------- /04.120 Connecting to MySQL/people.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/04.120 Connecting to MySQL/people.db -------------------------------------------------------------------------------- /10.190 Upgrading the Tests/src/main/java/model/UserDao.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /.gradle/6.1.1/fileHashes/fileHashes.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/.gradle/6.1.1/fileHashes/fileHashes.lock -------------------------------------------------------------------------------- /06.010 Properties/src/main/resources/config/db.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /06.020 Profiles/src/main/resources/config/db.dev.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /10.110 Insets/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.130 Padding/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.200 Upgrading UserDaoImpl/src/main/java/model/UserDao.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /11.080 JSTL/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /12.070 JPA/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /SQLiteProject/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /04.070 Autocommit/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /06.020 Profiles/src/main/resources/config/db.prod.properties: -------------------------------------------------------------------------------- 1 | server=example.com 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.060 Testing Save/src/main/resources/config/db.dev.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.130 Testing GetAll/src/main/resources/config/db.dev.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.140 Testing Delete/src/main/resources/config/db.dev.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /10.020 Swing Demo/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.170 Database Code/src/main/resources/config/db.dev.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /10.180 Adding Fields/src/main/resources/config/db.prod.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=swingdb 4 | user=swing 5 | password=hello -------------------------------------------------------------------------------- /10.180 Adding Fields/src/test/resources/config/db.test.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=swingdb 4 | user=swing 5 | password=hello -------------------------------------------------------------------------------- /10.210 Making the App Save Users/src/main/java/model/UserDao.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /11.070 About JSP/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /11.090 Using JSTL/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /11.100 Servlets/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /11.110 Serving HTML/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /11.180 JSON Client/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /12.030 Entry Point/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /12.040 Autowiring/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /12.050 Components/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /12.100 Repositories/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /gradle-hello-world/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /04.020 SQLiteProject/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /04.040 Creating Tables/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /04.050 Inserting Data/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /04.110 MySQL Connector/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /06.030 A Profile Class/src/main/resources/config/db.dev.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /06.030 A Profile Class/src/main/resources/config/db.prod.properties: -------------------------------------------------------------------------------- 1 | server=example.com 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.050 SetUp and TearDown/src/main/resources/config/db.dev.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.060 Testing Save/src/main/resources/config/db.prod.properties: -------------------------------------------------------------------------------- 1 | server=example.com 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.060 Testing Save/src/test/resources/config/db.test.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=peopletest 4 | user=test 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.070 Loading a Text File/src/main/resources/config/db.dev.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.080 Creating Test Users/src/main/resources/config/db.dev.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.130 Testing GetAll/src/main/resources/config/db.prod.properties: -------------------------------------------------------------------------------- 1 | server=example.com 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.130 Testing GetAll/src/test/resources/config/db.test.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=peopletest 4 | user=test 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.140 Testing Delete/src/main/resources/config/db.prod.properties: -------------------------------------------------------------------------------- 1 | server=example.com 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.140 Testing Delete/src/test/resources/config/db.test.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=peopletest 4 | user=test 5 | password=hello 6 | -------------------------------------------------------------------------------- /10.040 Adding a Panel/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.050 Adding a Menu/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.080 GridBagLayout/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.100 Vertical Weights/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.120 Nested Panels/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.140 Button Clicks/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.150 Observer Pattern/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.170 Database Code/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.170 Database Code/src/main/resources/config/db.prod.properties: -------------------------------------------------------------------------------- 1 | server=example.com 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /10.170 Database Code/src/test/resources/config/db.test.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=peopletest 4 | user=test 5 | password=hello 6 | -------------------------------------------------------------------------------- /10.180 Adding Fields/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.180 Adding Fields/src/main/resources/config/db.dev.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=swingdb 4 | user=swing 5 | password=hello 6 | -------------------------------------------------------------------------------- /10.190 Upgrading the Tests/src/main/resources/config/db.prod.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=swingdb 4 | user=swing 5 | password=hello -------------------------------------------------------------------------------- /10.190 Upgrading the Tests/src/test/resources/config/db.test.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=swingdb 4 | user=swing 5 | password=hello -------------------------------------------------------------------------------- /10.200 Upgrading UserDaoImpl/src/main/resources/config/db.prod.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=swingdb 4 | user=swing 5 | password=hello -------------------------------------------------------------------------------- /10.200 Upgrading UserDaoImpl/src/test/resources/config/db.test.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=swingdb 4 | user=swing 5 | password=hello -------------------------------------------------------------------------------- /11.060 Template Engines/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /12.060 Configuration/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /gradle-eclipse-hello/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /04.030 Creating a Database/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /04.060 Prepared Statements/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /04.120 Connecting to MySQL/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /07.030 Creating a Test Class/src/main/resources/config/db.dev.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.030 Creating a Test Class/src/main/resources/config/db.prod.properties: -------------------------------------------------------------------------------- 1 | server=example.com 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.050 SetUp and TearDown/src/main/resources/config/db.prod.properties: -------------------------------------------------------------------------------- 1 | server=example.com 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.050 SetUp and TearDown/src/test/resources/config/db.test.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=peopletest 4 | user=test 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.070 Loading a Text File/src/main/resources/config/db.prod.properties: -------------------------------------------------------------------------------- 1 | server=example.com 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.070 Loading a Text File/src/test/resources/config/db.test.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=peopletest 4 | user=test 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.080 Creating Test Users/src/main/resources/config/db.prod.properties: -------------------------------------------------------------------------------- 1 | server=example.com 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.080 Creating Test Users/src/test/resources/config/db.test.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=peopletest 4 | user=test 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.090 Testing Multiple Saves/src/main/resources/config/db.dev.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.110 Checking Retrieved Users/src/main/resources/config/db.dev.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.120 Testing Find and Update/src/main/resources/config/db.dev.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /10.020 Basic Gradle Project/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.030 Basic Swing Project/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.070 Creating Components/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.090 Weights and Anchors/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.190 Upgrading the Tests/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.190 Upgrading the Tests/src/main/resources/config/db.dev.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=swingdb 4 | user=swing 5 | password=hello 6 | -------------------------------------------------------------------------------- /10.200 Upgrading UserDaoImpl/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.200 Upgrading UserDaoImpl/src/main/resources/config/db.dev.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=swingdb 4 | user=swing 5 | password=hello 6 | -------------------------------------------------------------------------------- /10.210 Making the App Save Users/src/main/resources/config/db.prod.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=swingdb 4 | user=swing 5 | password=hello -------------------------------------------------------------------------------- /10.210 Making the App Save Users/src/test/resources/config/db.test.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=swingdb 4 | user=swing 5 | password=hello -------------------------------------------------------------------------------- /11.040 Gradle Web Project/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /.gradle/buildOutputCleanup/buildOutputCleanup.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/.gradle/buildOutputCleanup/buildOutputCleanup.lock -------------------------------------------------------------------------------- /07.030 Creating a Test Class/src/test/resources/config/db.test.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=peopletest 4 | user=test 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.090 Testing Multiple Saves/src/main/resources/config/db.prod.properties: -------------------------------------------------------------------------------- 1 | server=example.com 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.090 Testing Multiple Saves/src/test/resources/config/db.test.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=peopletest 4 | user=test 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.100 Retrieving Users in a Range/src/main/resources/config/db.dev.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.110 Checking Retrieved Users/src/main/resources/config/db.prod.properties: -------------------------------------------------------------------------------- 1 | server=example.com 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.110 Checking Retrieved Users/src/test/resources/config/db.test.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=peopletest 4 | user=test 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.120 Testing Find and Update/src/main/resources/config/db.prod.properties: -------------------------------------------------------------------------------- 1 | server=example.com 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.120 Testing Find and Update/src/test/resources/config/db.test.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=peopletest 4 | user=test 5 | password=hello 6 | -------------------------------------------------------------------------------- /10.210 Making the App Save Users/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /10.210 Making the App Save Users/src/main/resources/config/db.dev.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=swingdb 4 | user=swing 5 | password=hello 6 | -------------------------------------------------------------------------------- /12.020 Spring Boot Hello World/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /12.110 More Repository Methods/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # advanced-java 2 | This is for the Cave of Programming Advanced Java course. 3 | 4 | www.caveofprogramming.com 5 | 6 | This is an extra line. 7 | 8 | 9 | -------------------------------------------------------------------------------- /.gradle/6.1.1/executionHistory/executionHistory.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/.gradle/6.1.1/executionHistory/executionHistory.bin -------------------------------------------------------------------------------- /.gradle/6.1.1/executionHistory/executionHistory.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/.gradle/6.1.1/executionHistory/executionHistory.lock -------------------------------------------------------------------------------- /06.010 Properties/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /06.020 Profiles/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /07.100 Retrieving Users in a Range/src/main/resources/config/db.prod.properties: -------------------------------------------------------------------------------- 1 | server=example.com 2 | port=3306 3 | database=people 4 | user=root 5 | password=hello 6 | -------------------------------------------------------------------------------- /07.100 Retrieving Users in a Range/src/test/resources/config/db.test.properties: -------------------------------------------------------------------------------- 1 | server=localhost 2 | port=3306 3 | database=peopletest 4 | user=test 5 | password=hello 6 | -------------------------------------------------------------------------------- /12.090 Spring Database Configuration/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /12.120 Adding CrudRepository Methods/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Gradle project-specific cache directory 2 | .gradle 3 | 4 | # Ignore Gradle build output directory 5 | build 6 | -------------------------------------------------------------------------------- /05.090 Saving Users/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /05.100 Retrieving Users/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /05.110 Finding By ID/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /05.120 Deleting Users/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /05.130 Updating Users/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /06.030 A Profile Class/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /07.060 Testing Save/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /07.130 Testing GetAll/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /07.140 Testing Delete/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /05.090 Saving and Retrieving/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /07.030 Creating a Test Class/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /07.050 SetUp and TearDown/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /07.070 Loading a Text File/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /07.080 Creating Test Users/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /09.020 Creating an Annotation/src/app/Repository.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | public class Repository { 4 | public void save(T t) { 5 | System.out.println(t); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /05.080 implementing the UserDao/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /07.090 Testing Multiple Saves/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /07.110 Checking Retrieved Users/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /07.120 Testing Find and Update/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /09.010 Annotation Use Case Scenario/src/app/Repository.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | public class Repository { 4 | public void save(T t) { 5 | System.out.println(t); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /11.120 Creating a Form/.gradle/6.0/fileHashes/fileHashes.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/11.120 Creating a Form/.gradle/6.0/fileHashes/fileHashes.bin -------------------------------------------------------------------------------- /12.070 JPA/src/main/java/greeters/Greeter.java: -------------------------------------------------------------------------------- 1 | package greeters; 2 | 3 | public class Greeter { 4 | public void greet() { 5 | System.out.println("Hello I'm a bean"); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Simple/src/app/App.java: -------------------------------------------------------------------------------- 1 | 2 | package app; 3 | 4 | public class App { 5 | public static void main(String[] args) { 6 | System.out.println("Hello world."); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /07.100 Retrieving Users in a Range/src/main/java/com/caveofprogramming/db/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public interface UserDao extends Dao { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /11.120 Creating a Form/.gradle/6.0/fileHashes/fileHashes.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/11.120 Creating a Form/.gradle/6.0/fileHashes/fileHashes.lock -------------------------------------------------------------------------------- /11.130 Styling the Form/.gradle/6.0/fileHashes/fileHashes.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/11.130 Styling the Form/.gradle/6.0/fileHashes/fileHashes.bin -------------------------------------------------------------------------------- /11.130 Styling the Form/.gradle/6.0/fileHashes/fileHashes.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/11.130 Styling the Form/.gradle/6.0/fileHashes/fileHashes.lock -------------------------------------------------------------------------------- /12.040 Autowiring/src/main/java/greeters/Greeter.java: -------------------------------------------------------------------------------- 1 | package greeters; 2 | 3 | public class Greeter { 4 | public void greet() { 5 | System.out.println("Hello I'm a bean"); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /11.120 Creating a Form/.gradle/buildOutputCleanup/outputFiles.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/11.120 Creating a Form/.gradle/buildOutputCleanup/outputFiles.bin -------------------------------------------------------------------------------- /12.060 Configuration/src/main/java/greeters/Greeter.java: -------------------------------------------------------------------------------- 1 | package greeters; 2 | 3 | public class Greeter { 4 | public void greet() { 5 | System.out.println("Hello I'm a bean"); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /12.100 Repositories/src/main/java/greeters/Greeter.java: -------------------------------------------------------------------------------- 1 | package greeters; 2 | 3 | public class Greeter { 4 | public void greet() { 5 | System.out.println("Hello I'm a bean"); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /11.130 Styling the Form/.gradle/buildOutputCleanup/outputFiles.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/11.130 Styling the Form/.gradle/buildOutputCleanup/outputFiles.bin -------------------------------------------------------------------------------- /12.070 JPA/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.110 Insets/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.130 Padding/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /11.080 JSTL/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /11.100 Servlets/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /12.110 More Repository Methods/src/main/java/greeters/Greeter.java: -------------------------------------------------------------------------------- 1 | package greeters; 2 | 3 | public class Greeter { 4 | public void greet() { 5 | System.out.println("Hello I'm a bean"); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /SQLiteProject/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /04.020 SQLiteProject/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /04.070 Autocommit/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.020 Swing Demo/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.050 Adding a Menu/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.080 GridBagLayout/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.120 Nested Panels/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.140 Button Clicks/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.170 Database Code/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.170 Database Code/src/main/java/gui/UserFormListener.java: -------------------------------------------------------------------------------- 1 | package gui; 2 | 3 | @FunctionalInterface 4 | public interface UserFormListener { 5 | void formSubmitted(String username, String password); 6 | } 7 | -------------------------------------------------------------------------------- /10.180 Adding Fields/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.180 Adding Fields/src/main/java/gui/UserFormListener.java: -------------------------------------------------------------------------------- 1 | package gui; 2 | 3 | @FunctionalInterface 4 | public interface UserFormListener { 5 | void formSubmitted(String username, String password); 6 | } 7 | -------------------------------------------------------------------------------- /11.030 Hello World Web/WebContent/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Hello World 6 | 7 | 8 | Hello world! 9 | 10 | -------------------------------------------------------------------------------- /11.070 About JSP/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /11.090 Using JSTL/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /11.110 Serving HTML/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /11.120 Creating a Form/.gradle/6.0/executionHistory/executionHistory.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/11.120 Creating a Form/.gradle/6.0/executionHistory/executionHistory.bin -------------------------------------------------------------------------------- /11.120 Creating a Form/.gradle/6.0/executionHistory/executionHistory.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/11.120 Creating a Form/.gradle/6.0/executionHistory/executionHistory.lock -------------------------------------------------------------------------------- /11.120 Creating a Form/.gradle/buildOutputCleanup/buildOutputCleanup.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/11.120 Creating a Form/.gradle/buildOutputCleanup/buildOutputCleanup.lock -------------------------------------------------------------------------------- /11.130 Styling the Form/.gradle/6.0/executionHistory/executionHistory.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/11.130 Styling the Form/.gradle/6.0/executionHistory/executionHistory.bin -------------------------------------------------------------------------------- /11.180 JSON Client/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /12.030 Entry Point/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /12.040 Autowiring/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /12.050 Components/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /12.060 Configuration/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /12.090 Spring Database Configuration/src/main/java/greeters/Greeter.java: -------------------------------------------------------------------------------- 1 | package greeters; 2 | 3 | public class Greeter { 4 | public void greet() { 5 | System.out.println("Hello I'm a bean"); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /12.100 Repositories/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /12.120 Adding CrudRepository Methods/src/main/java/greeters/Greeter.java: -------------------------------------------------------------------------------- 1 | package greeters; 2 | 3 | public class Greeter { 4 | public void greet() { 5 | System.out.println("Hello I'm a bean"); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /gradle-eclipse-hello/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /gradle-hello-world/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /04.040 Creating Tables/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /04.050 Inserting Data/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /04.110 MySQL Connector/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.040 Adding a Panel/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.100 Vertical Weights/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.150 Observer Pattern/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.150 Observer Pattern/src/main/java/gui/UserFormListener.java: -------------------------------------------------------------------------------- 1 | package gui; 2 | 3 | @FunctionalInterface 4 | public interface UserFormListener { 5 | void formSubmitted(String username, String password); 6 | } 7 | -------------------------------------------------------------------------------- /10.190 Upgrading the Tests/src/main/java/gui/UserFormListener.java: -------------------------------------------------------------------------------- 1 | package gui; 2 | 3 | @FunctionalInterface 4 | public interface UserFormListener { 5 | void formSubmitted(String username, String password); 6 | } 7 | -------------------------------------------------------------------------------- /11.040 Gradle Web Project/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /11.060 Template Engines/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /11.130 Styling the Form/.gradle/6.0/executionHistory/executionHistory.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/11.130 Styling the Form/.gradle/6.0/executionHistory/executionHistory.lock -------------------------------------------------------------------------------- /11.130 Styling the Form/.gradle/buildOutputCleanup/buildOutputCleanup.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caveofprogramming/advanced-java/HEAD/11.130 Styling the Form/.gradle/buildOutputCleanup/buildOutputCleanup.lock -------------------------------------------------------------------------------- /EclipseTest/src/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | public class App { 4 | 5 | public static void main(String[] args) { 6 | System.out.println("Hello world"); 7 | 8 | } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /04.030 Creating a Database/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /04.060 Prepared Statements/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /04.120 Connecting to MySQL/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.020 Basic Gradle Project/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.030 Basic Swing Project/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.070 Creating Components/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.090 Weights and Anchors/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.190 Upgrading the Tests/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.200 Upgrading UserDaoImpl/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.200 Upgrading UserDaoImpl/src/main/java/gui/UserFormListener.java: -------------------------------------------------------------------------------- 1 | package gui; 2 | 3 | @FunctionalInterface 4 | public interface UserFormListener { 5 | void formSubmitted(String username, String password); 6 | } 7 | -------------------------------------------------------------------------------- /12.020 Spring Boot Hello World/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /12.110 More Repository Methods/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /14.040 Adding a Table/src/main/java/app/gui/UserFormListener.java: -------------------------------------------------------------------------------- 1 | package app.gui; 2 | 3 | @FunctionalInterface 4 | public interface UserFormListener { 5 | void formSubmitted(String author, String authorLabel); 6 | } 7 | -------------------------------------------------------------------------------- /14.090 Handling Errors/src/main/java/app/gui/UserFormListener.java: -------------------------------------------------------------------------------- 1 | package app.gui; 2 | 3 | @FunctionalInterface 4 | public interface UserFormListener { 5 | void formSubmitted(String author, String authorLabel); 6 | } 7 | -------------------------------------------------------------------------------- /10.020 Swing Demo/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | public class App { 4 | 5 | public static void main(String[] args) { 6 | System.out.println("Hello"); 7 | 8 | } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /10.210 Making the App Save Users/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /10.210 Making the App Save Users/src/main/java/gui/UserFormListener.java: -------------------------------------------------------------------------------- 1 | package gui; 2 | 3 | @FunctionalInterface 4 | public interface UserFormListener { 5 | void formSubmitted(String username, String password); 6 | } 7 | -------------------------------------------------------------------------------- /14.060 Parsing the JSON/src/main/java/app/gui/UserFormListener.java: -------------------------------------------------------------------------------- 1 | package app.gui; 2 | 3 | @FunctionalInterface 4 | public interface UserFormListener { 5 | void formSubmitted(String author, String authorLabel); 6 | } 7 | -------------------------------------------------------------------------------- /14.080 Implementing Refresh/src/main/java/app/gui/UserFormListener.java: -------------------------------------------------------------------------------- 1 | package app.gui; 2 | 3 | @FunctionalInterface 4 | public interface UserFormListener { 5 | void formSubmitted(String author, String authorLabel); 6 | } 7 | -------------------------------------------------------------------------------- /11.040 Gradle Web Project/WebContent/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | Hello World Web Gradle 9 | 10 | -------------------------------------------------------------------------------- /12.090 Spring Database Configuration/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /12.120 Adding CrudRepository Methods/.gitattributes: -------------------------------------------------------------------------------- 1 | # 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | # 4 | # These are explicitly windows files and should use crlf 5 | *.bat text eol=crlf 6 | 7 | -------------------------------------------------------------------------------- /14.030 Creating the User Form/src/main/java/app/gui/UserFormListener.java: -------------------------------------------------------------------------------- 1 | package app.gui; 2 | 3 | @FunctionalInterface 4 | public interface UserFormListener { 5 | void formSubmitted(String author, String authorLabel); 6 | } 7 | -------------------------------------------------------------------------------- /14.050 Connecting to the Service/src/main/java/app/gui/UserFormListener.java: -------------------------------------------------------------------------------- 1 | package app.gui; 2 | 3 | @FunctionalInterface 4 | public interface UserFormListener { 5 | void formSubmitted(String author, String authorLabel); 6 | } 7 | -------------------------------------------------------------------------------- /10.020 Basic Gradle Project/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | public class App { 4 | 5 | public static void main(String[] args) { 6 | System.out.println("Hello"); 7 | 8 | } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /14.070 Creating Books via the Service/src/main/java/app/gui/UserFormListener.java: -------------------------------------------------------------------------------- 1 | package app.gui; 2 | 3 | @FunctionalInterface 4 | public interface UserFormListener { 5 | void formSubmitted(String author, String authorLabel); 6 | } 7 | -------------------------------------------------------------------------------- /gradle-eclipse-hello/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | public class App { 4 | 5 | public static void main(String[] args) { 6 | System.out.println("Hello world!"); 7 | 8 | } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /11.080 JSTL/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /12.070 JPA/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /12.080 Creating a Database and User.txt: -------------------------------------------------------------------------------- 1 | create database springdb; 2 | 3 | create user 'springuser'@'localhost' identified by 'hello'; 4 | 5 | # drop user 'springuser'@'localhost'; 6 | 7 | grant all on springdb.* to 'springuser'@'localhost'; 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /13.040 Rest Controllers/src/main/resources/templates/about.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | About page. 9 | 10 | -------------------------------------------------------------------------------- /13.060 Path Variables/src/main/resources/templates/about.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | About page. 9 | 10 | -------------------------------------------------------------------------------- /HelloWorldMaven/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | /** 4 | * Hello world! 5 | * 6 | */ 7 | public class App { 8 | public static void main(String[] args) { 9 | System.out.println("Hello World!"); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /04.070 Autocommit/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /10.020 Swing Demo/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /10.110 Insets/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /10.130 Padding/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /11.070 About JSP/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /11.090 Using JSTL/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /11.100 Servlets/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /12.040 Autowiring/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /12.050 Components/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /12.050 Components/src/main/java/greeters/Greeter.java: -------------------------------------------------------------------------------- 1 | package greeters; 2 | 3 | import org.springframework.stereotype.Component; 4 | 5 | @Component 6 | public class Greeter { 7 | public void greet() { 8 | System.out.println("Hello I'm a bean"); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /13.070 Creating the Database/src/main/resources/templates/about.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | About page. 9 | 10 | -------------------------------------------------------------------------------- /13.080 Layered Architecture/src/main/resources/templates/about.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | About page. 9 | 10 | -------------------------------------------------------------------------------- /SQLiteProject/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /04.020 SQLiteProject/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /04.040 Creating Tables/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /04.050 Inserting Data/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /04.110 MySQL Connector/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /10.040 Adding a Panel/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /10.050 Adding a Menu/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /10.080 GridBagLayout/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /10.120 Nested Panels/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /10.140 Button Clicks/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /10.170 Database Code/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /10.180 Adding Fields/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /11.110 Serving HTML/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /11.180 JSON Client/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /12.030 Entry Point/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /12.060 Configuration/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /12.100 Repositories/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /13.030 Hello World Spring MVC/src/main/resources/templates/about.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | About page. 9 | 10 | -------------------------------------------------------------------------------- /13.050 Posting JSON to Spring/src/main/resources/templates/about.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | About page. 9 | 10 | -------------------------------------------------------------------------------- /gradle-eclipse-hello/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /gradle-hello-world/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /04.030 Creating a Database/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /04.060 Prepared Statements/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /04.120 Connecting to MySQL/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /09.040 Annotation Attributes/src/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | public class App { 4 | 5 | public static void main(String[] args) { 6 | var user = new User(0L, "Thor"); 7 | 8 | var rep = new Repository(); 9 | 10 | rep.save(user); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /09.060 Class Annotations/src/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | public class App { 4 | 5 | public static void main(String[] args) { 6 | var user = new User(0L, "Thor"); 7 | 8 | var rep = new Repository(); 9 | 10 | rep.save(user); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.020 Basic Gradle Project/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /10.030 Basic Swing Project/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /10.030 Basic Swing Project/src/main/java/controller/Controller.java: -------------------------------------------------------------------------------- 1 | package controller; 2 | 3 | import gui.MainFrame; 4 | 5 | public class Controller { 6 | private MainFrame mainFrame; 7 | 8 | public Controller() { 9 | mainFrame = new MainFrame(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /10.070 Creating Components/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /10.090 Weights and Anchors/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /10.100 Vertical Weights/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /10.150 Observer Pattern/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /10.190 Upgrading the Tests/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /11.040 Gradle Web Project/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /11.060 Template Engines/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /05.060 User Class/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.Optional; 4 | 5 | public interface Dao { 6 | void save(T t); 7 | Optional findById(int id); 8 | void update(T t); 9 | void delete(T t); 10 | } 11 | -------------------------------------------------------------------------------- /09.020 Creating an Annotation/src/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | public class App { 4 | 5 | public static void main(String[] args) { 6 | var user = new User(0L, "Thor"); 7 | 8 | var rep = new Repository(); 9 | 10 | rep.save(user); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /09.050 Getting Atributes Values/src/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | public class App { 4 | 5 | public static void main(String[] args) { 6 | var user = new User(0L, "Thor"); 7 | 8 | var rep = new Repository(); 9 | 10 | rep.save(user); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /09.070 Creating a SQL Expression/src/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | public class App { 4 | 5 | public static void main(String[] args) { 6 | var user = new User(0L, "Thor"); 7 | 8 | var rep = new Repository(); 9 | 10 | rep.save(user); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.200 Upgrading UserDaoImpl/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /10.210 Making the App Save Users/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /12.020 Spring Boot Hello World/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /12.110 More Repository Methods/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /13.040 Rest Controllers/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | This is the index. Hello world! 9 | 10 | -------------------------------------------------------------------------------- /13.060 Path Variables/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | This is the index. Hello world! 9 | 10 | -------------------------------------------------------------------------------- /13.090 Implementing the Book Controller/src/main/resources/templates/about.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | About page. 9 | 10 | -------------------------------------------------------------------------------- /05.050 Dao Interface/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.Optional; 4 | 5 | public interface Dao { 6 | void save(T t); 7 | Optional findById(int id); 8 | void update(T t); 9 | void delete(T t); 10 | } 11 | -------------------------------------------------------------------------------- /09.010 Annotation Use Case Scenario/src/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | public class App { 4 | 5 | public static void main(String[] args) { 6 | var user = new User(0L, "Thor"); 7 | 8 | var rep = new Repository(); 9 | 10 | rep.save(user); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /09.030 Implementing Annotation Code/src/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | public class App { 4 | 5 | public static void main(String[] args) { 6 | var user = new User(0L, "Thor"); 7 | 8 | var rep = new Repository(); 9 | 10 | rep.save(user); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /11.180 JSON Client/src/main/java/JSON/Client/Library.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This Java source file was generated by the Gradle 'init' task. 3 | */ 4 | package JSON.Client; 5 | 6 | public class Library { 7 | public boolean someLibraryMethod() { 8 | return true; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /12.090 Spring Database Configuration/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /12.120 Adding CrudRepository Methods/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /13.070 Creating the Database/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | This is the index. Hello world! 9 | 10 | -------------------------------------------------------------------------------- /13.080 Layered Architecture/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | This is the index. Hello world! 9 | 10 | -------------------------------------------------------------------------------- /SQLiteProject/src/main/java/SQLiteProject/Library.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This Java source file was generated by the Gradle 'init' task. 3 | */ 4 | package SQLiteProject; 5 | 6 | public class Library { 7 | public boolean someLibraryMethod() { 8 | return true; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /04.020 SQLiteProject/src/main/java/SQLiteProject/Library.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This Java source file was generated by the Gradle 'init' task. 3 | */ 4 | package SQLiteProject; 5 | 6 | public class Library { 7 | public boolean someLibraryMethod() { 8 | return true; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /05.010 Maven Project for MySQL/src/main/java/com/caveofprogramming/db/App.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | /** 4 | * Hello world! 5 | * 6 | */ 7 | public class App { 8 | public static void main(String[] args) { 9 | System.out.println("Hello World!"); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /13.030 Hello World Spring MVC/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | This is the index. Hello world! 9 | 10 | -------------------------------------------------------------------------------- /13.050 Posting JSON to Spring/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | This is the index. Hello world! 9 | 10 | -------------------------------------------------------------------------------- /14.010 JSON Client/src/main/java/app/controllers/Controller.java: -------------------------------------------------------------------------------- 1 | package app.controllers; 2 | 3 | import gui.MainFrame; 4 | 5 | public class Controller { 6 | 7 | private MainFrame mainFrame; 8 | 9 | public Controller() { 10 | mainFrame = new MainFrame(); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /05.020 Downloading MySQL Connector/src/main/java/com/caveofprogramming/db/App.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | /** 4 | * Hello world! 5 | * 6 | */ 7 | public class App { 8 | public static void main(String[] args) { 9 | System.out.println("Hello World!"); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /10.170 Database Code/src/main/java/model/Dao.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /10.180 Adding Fields/src/main/java/model/Dao.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /13.090 Implementing the Book Controller/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | This is the index. Hello world! 9 | 10 | -------------------------------------------------------------------------------- /14.010 JSON Client/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import app.controllers.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /14.020 Split Panes/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import app.controllers.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.110 Insets/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import controller.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.190 Upgrading the Tests/src/main/java/model/Dao.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /10.200 Upgrading UserDaoImpl/src/main/java/model/Dao.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /11.040 Gradle Web Project/src/main/java/Gradle/Web/Project/Library.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This Java source file was generated by the Gradle 'init' task. 3 | */ 4 | package Gradle.Web.Project; 5 | 6 | public class Library { 7 | public boolean someLibraryMethod() { 8 | return true; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /11.060 Template Engines/src/main/java/Gradle/Web/Project/Library.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This Java source file was generated by the Gradle 'init' task. 3 | */ 4 | package Gradle.Web.Project; 5 | 6 | public class Library { 7 | public boolean someLibraryMethod() { 8 | return true; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /14.040 Adding a Table/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import app.controllers.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /14.060 Parsing the JSON/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import app.controllers.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /14.090 Handling Errors/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import app.controllers.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.130 Padding/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import controller.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.210 Making the App Save Users/src/main/java/model/Dao.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /11.060 Template Engines/WebContent/index.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" 2 | pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | Insert title here 8 | 9 | 10 | Hello world JSP 11 | 12 | -------------------------------------------------------------------------------- /14.030 Creating the User Form/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import app.controllers.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /14.080 Implementing Refresh/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import app.controllers.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.040 Adding a Panel/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import controller.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.050 Adding a Menu/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import controller.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.080 GridBagLayout/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import controller.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.100 Vertical Weights/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import controller.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.120 Nested Panels/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import controller.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.140 Button Clicks/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import controller.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.150 Observer Pattern/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import controller.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.170 Database Code/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import controller.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.170 Database Code/src/main/java/model/DaoException.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /10.180 Adding Fields/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import controller.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.180 Adding Fields/src/main/java/model/DaoException.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /14.050 Connecting to the Service/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import app.controllers.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.030 Basic Swing Project/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import controller.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.070 Creating Components/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import controller.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.090 Weights and Anchors/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import controller.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.190 Upgrading the Tests/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import controller.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.200 Upgrading UserDaoImpl/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import controller.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /14.070 Creating Books via the Service/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import app.controllers.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /05.030 Singleton Pattern/src/main/java/com/caveofprogramming/db/Database.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | public class Database { 4 | private static Database db = new Database(); 5 | 6 | public static Database instance() { 7 | return db; 8 | } 9 | 10 | private Database() { 11 | 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /10.050 Adding a Menu/src/main/java/gui/MainPanel.java: -------------------------------------------------------------------------------- 1 | package gui; 2 | 3 | import java.awt.Color; 4 | 5 | import javax.swing.JPanel; 6 | 7 | public class MainPanel extends JPanel { 8 | private static final long serialVersionUID = 1L; 9 | 10 | public MainPanel() { 11 | setBackground(Color.RED); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /10.190 Upgrading the Tests/src/main/java/model/DaoException.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /10.200 Upgrading UserDaoImpl/src/main/java/model/DaoException.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /10.210 Making the App Save Users/src/main/java/application/App.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | import javax.swing.SwingUtilities; 4 | 5 | import controller.Controller; 6 | 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SwingUtilities.invokeLater(Controller::new); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /06.020 Profiles/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /10.040 Adding a Panel/src/main/java/gui/MainPanel.java: -------------------------------------------------------------------------------- 1 | package gui; 2 | 3 | import java.awt.Color; 4 | 5 | import javax.swing.JPanel; 6 | 7 | public class MainPanel extends JPanel { 8 | private static final long serialVersionUID = 1L; 9 | 10 | public MainPanel() { 11 | setBackground(Color.RED); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /10.210 Making the App Save Users/src/main/java/model/DaoException.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /05.090 Saving Users/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /05.110 Finding By ID/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /06.010 Properties/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /07.060 Testing Save/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /12.100 Repositories/src/main/java/repositories/UserDao.java: -------------------------------------------------------------------------------- 1 | package repositories; 2 | 3 | import org.springframework.data.repository.CrudRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import entities.User; 7 | 8 | @Repository 9 | public interface UserDao extends CrudRepository { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /14.020 Split Panes/src/main/java/gui/CreateBookPanel.java: -------------------------------------------------------------------------------- 1 | package gui; 2 | 3 | import java.awt.Color; 4 | 5 | import javax.swing.JPanel; 6 | 7 | public class CreateBookPanel extends JPanel{ 8 | private static final long serialVersionUID = 1L; 9 | 10 | public CreateBookPanel() { 11 | setBackground(Color.red); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /14.020 Split Panes/src/main/java/gui/ViewBooksPanel.java: -------------------------------------------------------------------------------- 1 | package gui; 2 | 3 | import java.awt.Color; 4 | 5 | import javax.swing.JPanel; 6 | 7 | public class ViewBooksPanel extends JPanel{ 8 | private static final long serialVersionUID = 1L; 9 | 10 | public ViewBooksPanel() { 11 | setBackground(Color.green); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /05.100 Retrieving Users/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /05.120 Deleting Users/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /05.130 Updating Users/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /06.030 A Profile Class/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /07.050 SetUp and TearDown/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /07.130 Testing GetAll/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /07.140 Testing Delete/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /05.030 Singleton Pattern/src/main/java/com/caveofprogramming/db/App.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | /** 4 | * Hello world! 5 | * 6 | */ 7 | public class App { 8 | public static void main(String[] args) { 9 | System.out.println("Hello World!"); 10 | 11 | var db = Database.instance(); 12 | 13 | 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /05.090 Saving and Retrieving/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /07.030 Creating a Test Class/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /07.070 Loading a Text File/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /07.080 Creating Test Users/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /07.090 Testing Multiple Saves/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /07.120 Testing Find and Update/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /05.080 implementing the UserDao/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /06.010 Properties/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /06.020 Profiles/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /07.100 Retrieving Users in a Range/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /07.110 Checking Retrieved Users/src/main/java/com/caveofprogramming/db/Dao.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.util.List; 4 | import java.util.Optional; 5 | 6 | public interface Dao { 7 | void save(T t); 8 | Optional findById(int id); 9 | void update(T t); 10 | void delete(T t); 11 | List getAll(); 12 | } 13 | -------------------------------------------------------------------------------- /12.110 More Repository Methods/src/main/java/repositories/UserDao.java: -------------------------------------------------------------------------------- 1 | package repositories; 2 | 3 | import org.springframework.data.repository.CrudRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import entities.User; 7 | 8 | @Repository 9 | public interface UserDao extends CrudRepository { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /05.090 Saving Users/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /05.110 Finding By ID/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /05.120 Deleting Users/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /05.130 Updating Users/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /06.030 A Profile Class/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /07.060 Testing Save/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /07.130 Testing GetAll/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /07.140 Testing Delete/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /10.160 Creating a Database.txt: -------------------------------------------------------------------------------- 1 | create database swingdb; 2 | use swingdb; 3 | 4 | create table user (id int auto_increment primary key, name varchar(30) 5 | not null, password varchar(30) not null); 6 | 7 | desc user; 8 | 9 | create user 'swing'@'localhost' identified by 'hello'; 10 | 11 | grant all on swingdb.user to 'swing'@'localhost'; 12 | 13 | -------------------------------------------------------------------------------- /13.080 Layered Architecture/src/main/java/app/repositories/BookDao.java: -------------------------------------------------------------------------------- 1 | package app.repositories; 2 | 3 | import org.springframework.data.repository.CrudRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import app.entities.Book; 7 | 8 | @Repository 9 | public interface BookDao extends CrudRepository { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /14.030 Creating the User Form/src/main/java/app/gui/ViewBooksPanel.java: -------------------------------------------------------------------------------- 1 | package app.gui; 2 | 3 | import java.awt.Color; 4 | 5 | import javax.swing.JPanel; 6 | 7 | public class ViewBooksPanel extends JPanel{ 8 | private static final long serialVersionUID = 1L; 9 | 10 | public ViewBooksPanel() { 11 | setBackground(Color.green); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /05.100 Retrieving Users/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /07.050 SetUp and TearDown/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /07.070 Loading a Text File/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /07.080 Creating Test Users/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /14.010 JSON Client/src/main/java/gui/MainFrame.java: -------------------------------------------------------------------------------- 1 | package gui; 2 | 3 | import javax.swing.JFrame; 4 | 5 | public class MainFrame extends JFrame { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public MainFrame() { 9 | 10 | setSize(1000, 800); 11 | setDefaultCloseOperation(EXIT_ON_CLOSE); 12 | setVisible(true); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /07.030 Creating a Test Class/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /07.090 Testing Multiple Saves/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /07.110 Checking Retrieved Users/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /07.120 Testing Find and Update/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /09.020 Creating an Annotation/src/app/Field.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Target(ElementType.FIELD) 9 | @Retention(RetentionPolicy.RUNTIME) 10 | public @interface Field { 11 | 12 | } 13 | -------------------------------------------------------------------------------- /HelloWorldMavenEclipse/src/main/java/com/caveofprogramming/maven/HelloWorldMavenEclipse/App.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.maven.HelloWorldMavenEclipse; 2 | 3 | /** 4 | * Hello world! 5 | * 6 | */ 7 | public class App 8 | { 9 | public static void main( String[] args ) 10 | { 11 | System.out.println( "Hello World!" ); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /07.100 Retrieving Users in a Range/src/main/java/com/caveofprogramming/db/DaoException.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public class DaoException extends RuntimeException { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public DaoException(SQLException e) { 9 | super(e); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /09.030 Implementing Annotation Code/src/app/Field.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Target(ElementType.FIELD) 9 | @Retention(RetentionPolicy.RUNTIME) 10 | public @interface Field { 11 | 12 | } 13 | -------------------------------------------------------------------------------- /13.060 Path Variables/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(App.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /13.090 Implementing the Book Controller/src/main/java/app/repositories/BookDao.java: -------------------------------------------------------------------------------- 1 | package app.repositories; 2 | 3 | import org.springframework.data.repository.CrudRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import app.entities.Book; 7 | 8 | @Repository 9 | public interface BookDao extends CrudRepository { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /13.020 Basic Spring Web App/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(App.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /13.040 Rest Controllers/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(App.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /12.020 Spring Boot Hello World/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(App.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /13.030 Hello World Spring MVC/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(App.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /13.050 Posting JSON to Spring/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(App.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /13.070 Creating the Database/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(App.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /13.080 Layered Architecture/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(App.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /10.040 Adding a Panel/src/main/java/gui/MainFrame.java: -------------------------------------------------------------------------------- 1 | package gui; 2 | 3 | import javax.swing.JFrame; 4 | 5 | public class MainFrame extends JFrame { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public MainFrame() { 9 | super("Swing Demo"); 10 | 11 | setSize(1000, 800); 12 | setDefaultCloseOperation(EXIT_ON_CLOSE); 13 | setVisible(true); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /12.070 JPA/src/main/java/configuration/Config.java: -------------------------------------------------------------------------------- 1 | package configuration; 2 | 3 | import org.springframework.context.annotation.Bean; 4 | import org.springframework.context.annotation.Configuration; 5 | 6 | import greeters.Greeter; 7 | 8 | @Configuration 9 | public class Config { 10 | 11 | @Bean 12 | public Greeter configureGreeter() { 13 | return new Greeter(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /13.090 Implementing the Book Controller/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(App.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /09.060 Class Annotations/src/app/Entity.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import static java.lang.annotation.ElementType.TYPE; 4 | import static java.lang.annotation.RetentionPolicy.RUNTIME; 5 | 6 | import java.lang.annotation.Retention; 7 | import java.lang.annotation.Target; 8 | 9 | @Retention(RUNTIME) 10 | @Target(TYPE) 11 | public @interface Entity { 12 | String value() default ""; 13 | } 14 | -------------------------------------------------------------------------------- /10.030 Basic Swing Project/src/main/java/gui/MainFrame.java: -------------------------------------------------------------------------------- 1 | package gui; 2 | 3 | import javax.swing.JFrame; 4 | 5 | public class MainFrame extends JFrame { 6 | private static final long serialVersionUID = 1L; 7 | 8 | public MainFrame() { 9 | super("Swing Demo"); 10 | 11 | setSize(1000, 800); 12 | setDefaultCloseOperation(EXIT_ON_CLOSE); 13 | setVisible(true); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /12.030 Entry Point/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication(scanBasePackages = {"main"}) 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(App.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /12.040 Autowiring/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication(scanBasePackages = {"main"}) 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(App.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /09.070 Creating a SQL Expression/src/app/Entity.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import static java.lang.annotation.ElementType.TYPE; 4 | import static java.lang.annotation.RetentionPolicy.RUNTIME; 5 | 6 | import java.lang.annotation.Retention; 7 | import java.lang.annotation.Target; 8 | 9 | @Retention(RUNTIME) 10 | @Target(TYPE) 11 | public @interface Entity { 12 | String value() default ""; 13 | } 14 | -------------------------------------------------------------------------------- /12.060 Configuration/src/main/java/configuration/Config.java: -------------------------------------------------------------------------------- 1 | package configuration; 2 | 3 | import org.springframework.context.annotation.Bean; 4 | import org.springframework.context.annotation.Configuration; 5 | 6 | import greeters.Greeter; 7 | 8 | @Configuration 9 | public class Config { 10 | 11 | @Bean 12 | public Greeter configureGreeter() { 13 | return new Greeter(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /12.100 Repositories/src/main/java/configuration/Config.java: -------------------------------------------------------------------------------- 1 | package configuration; 2 | 3 | import org.springframework.context.annotation.Bean; 4 | import org.springframework.context.annotation.Configuration; 5 | 6 | import greeters.Greeter; 7 | 8 | @Configuration 9 | public class Config { 10 | 11 | @Bean 12 | public Greeter configureGreeter() { 13 | return new Greeter(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /12.030 Entry Point/src/main/java/main/Runner.java: -------------------------------------------------------------------------------- 1 | package main; 2 | 3 | import org.springframework.boot.CommandLineRunner; 4 | import org.springframework.stereotype.Component; 5 | 6 | @Component 7 | public class Runner implements CommandLineRunner { 8 | 9 | @Override 10 | public void run(String... args) throws Exception { 11 | 12 | System.out.println("Hello"); 13 | 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /12.070 JPA/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication(scanBasePackages = {"configuration", "main"}) 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(App.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /12.050 Components/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication(scanBasePackages = {"greeters", "main"}) 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(App.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /12.110 More Repository Methods/src/main/java/configuration/Config.java: -------------------------------------------------------------------------------- 1 | package configuration; 2 | 3 | import org.springframework.context.annotation.Bean; 4 | import org.springframework.context.annotation.Configuration; 5 | 6 | import greeters.Greeter; 7 | 8 | @Configuration 9 | public class Config { 10 | 11 | @Bean 12 | public Greeter configureGreeter() { 13 | return new Greeter(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /12.060 Configuration/src/main/java/app/App.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication(scanBasePackages = {"configuration", "main"}) 7 | public class App { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(App.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /12.090 Spring Database Configuration/src/main/java/configuration/Config.java: -------------------------------------------------------------------------------- 1 | package configuration; 2 | 3 | import org.springframework.context.annotation.Bean; 4 | import org.springframework.context.annotation.Configuration; 5 | 6 | import greeters.Greeter; 7 | 8 | @Configuration 9 | public class Config { 10 | 11 | @Bean 12 | public Greeter configureGreeter() { 13 | return new Greeter(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /12.120 Adding CrudRepository Methods/src/main/java/configuration/Config.java: -------------------------------------------------------------------------------- 1 | package configuration; 2 | 3 | import org.springframework.context.annotation.Bean; 4 | import org.springframework.context.annotation.Configuration; 5 | 6 | import greeters.Greeter; 7 | 8 | @Configuration 9 | public class Config { 10 | 11 | @Bean 12 | public Greeter configureGreeter() { 13 | return new Greeter(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /10.040 Adding a Panel/src/main/java/controller/Controller.java: -------------------------------------------------------------------------------- 1 | package controller; 2 | 3 | import gui.MainFrame; 4 | import gui.MainPanel; 5 | 6 | public class Controller { 7 | private MainFrame mainFrame; 8 | private MainPanel mainPanel; 9 | 10 | public Controller() { 11 | 12 | mainPanel = new MainPanel(); 13 | mainFrame = new MainFrame(); 14 | 15 | mainFrame.setContentPane(mainPanel); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /11.080 JSTL/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '11.080 JSTL' 11 | -------------------------------------------------------------------------------- /11.150 Gson/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '11.150 Gson' 11 | -------------------------------------------------------------------------------- /12.070 JPA/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '12.070 JPA' 11 | -------------------------------------------------------------------------------- /12.120 Adding CrudRepository Methods/src/main/java/repositories/UserDao.java: -------------------------------------------------------------------------------- 1 | package repositories; 2 | 3 | import java.util.List; 4 | 5 | import org.springframework.data.repository.CrudRepository; 6 | import org.springframework.stereotype.Repository; 7 | 8 | import entities.User; 9 | 10 | @Repository 11 | public interface UserDao extends CrudRepository { 12 | List findByName(String name); 13 | } 14 | -------------------------------------------------------------------------------- /HelloWorldMaven/src/test/java/application/AppTest.java: -------------------------------------------------------------------------------- 1 | package application; 2 | 3 | import static org.junit.Assert.assertTrue; 4 | 5 | import org.junit.Test; 6 | 7 | /** 8 | * Unit test for simple App. 9 | */ 10 | public class AppTest 11 | { 12 | /** 13 | * Rigorous Test :-) 14 | */ 15 | @Test 16 | public void shouldAnswerWithTrue() 17 | { 18 | assertTrue( true ); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /gradle-hello-world/src/main/java/com/caveofprogramming/App.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This Java source file was generated by the Gradle 'init' task. 3 | */ 4 | package com.caveofprogramming; 5 | 6 | public class App { 7 | public String getGreeting() { 8 | return "Hello world."; 9 | } 10 | 11 | public static void main(String[] args) { 12 | System.out.println(new App().getGreeting()); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /09.040 Annotation Attributes/src/app/Field.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Target(ElementType.FIELD) 9 | @Retention(RetentionPolicy.RUNTIME) 10 | public @interface Field { 11 | String value() default ""; 12 | boolean isKey() default false; 13 | } 14 | -------------------------------------------------------------------------------- /09.050 Getting Atributes Values/src/app/Field.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Target(ElementType.FIELD) 9 | @Retention(RetentionPolicy.RUNTIME) 10 | public @interface Field { 11 | String value() default ""; 12 | boolean isKey() default false; 13 | } 14 | -------------------------------------------------------------------------------- /09.060 Class Annotations/src/app/Field.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Target(ElementType.FIELD) 9 | @Retention(RetentionPolicy.RUNTIME) 10 | public @interface Field { 11 | String columnName() default ""; 12 | boolean isKey() default false; 13 | } 14 | -------------------------------------------------------------------------------- /10.110 Insets/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '10.110 Insets' 11 | -------------------------------------------------------------------------------- /10.130 Padding/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '10.130 Padding' 11 | -------------------------------------------------------------------------------- /SQLiteProject/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = 'SQLiteProject' 11 | -------------------------------------------------------------------------------- /04.070 Autocommit/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '04.070 Autocommit' 11 | -------------------------------------------------------------------------------- /10.020 Swing Demo/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '10.020 Swing Demo' 11 | -------------------------------------------------------------------------------- /11.070 About JSP/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '11.070 About JSP' 11 | -------------------------------------------------------------------------------- /11.090 Using JSTL/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '11.090 Using JSTL' 11 | -------------------------------------------------------------------------------- /11.100 Servlets/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '11.100 Servlets' 11 | -------------------------------------------------------------------------------- /12.040 Autowiring/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '12.040 Autowiring' 11 | -------------------------------------------------------------------------------- /12.050 Components/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '12.050 Components' 11 | -------------------------------------------------------------------------------- /09.070 Creating a SQL Expression/src/app/Field.java: -------------------------------------------------------------------------------- 1 | package app; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Target(ElementType.FIELD) 9 | @Retention(RetentionPolicy.RUNTIME) 10 | public @interface Field { 11 | String columnName() default ""; 12 | boolean isKey() default false; 13 | } 14 | -------------------------------------------------------------------------------- /11.110 Serving HTML/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '11.110 Serving HTML' 11 | -------------------------------------------------------------------------------- /11.170 Serving JSON/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '11.170 Serving JSON' 11 | -------------------------------------------------------------------------------- /11.180 JSON Client/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '11.180 JSON Client' 11 | -------------------------------------------------------------------------------- /12.030 Entry Point/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '12.030 Entry Point' 11 | -------------------------------------------------------------------------------- /12.100 Repositories/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '12.100 Repositories' 11 | -------------------------------------------------------------------------------- /gradle-hello-world/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.1.1/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = 'gradle-hello-world' 11 | -------------------------------------------------------------------------------- /04.020 SQLiteProject/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '04.020 SQLiteProject' 11 | -------------------------------------------------------------------------------- /04.040 Creating Tables/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '04.040 Creating Tables' 11 | -------------------------------------------------------------------------------- /04.050 Inserting Data/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '04.050 Inserting Data' 11 | -------------------------------------------------------------------------------- /04.110 MySQL Connector/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '04.110 MySQL Connector' 11 | -------------------------------------------------------------------------------- /10.040 Adding a Panel/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '10.040 Adding a Panel' 11 | -------------------------------------------------------------------------------- /10.050 Adding a Menu/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '10.050 Adding a Menu' 11 | -------------------------------------------------------------------------------- /10.080 GridBagLayout/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '10.080 GridBagLayout' 11 | -------------------------------------------------------------------------------- /10.120 Nested Panels/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '10.120 Nested Panels' 11 | -------------------------------------------------------------------------------- /10.140 Button Clicks/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '10.140 Button Clicks' 11 | -------------------------------------------------------------------------------- /10.170 Database Code/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '10.170 Database Code' 11 | -------------------------------------------------------------------------------- /10.180 Adding Fields/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '10.180 Adding Fields' 11 | -------------------------------------------------------------------------------- /11.120 Creating a Form/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '11.110 Serving HTML' 11 | -------------------------------------------------------------------------------- /11.140 The Post Method/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '11.140 The Post Method' 11 | -------------------------------------------------------------------------------- /12.060 Configuration/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '12.060 Configuration' 11 | -------------------------------------------------------------------------------- /gradle-eclipse-hello/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = 'gradle-eclipse-hello' 11 | -------------------------------------------------------------------------------- /10.100 Vertical Weights/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '10.100 Vertical Weights' 11 | -------------------------------------------------------------------------------- /10.150 Observer Pattern/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '10.150 Observer Pattern' 11 | -------------------------------------------------------------------------------- /11.060 Template Engines/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '11.060 Template Engines' 11 | -------------------------------------------------------------------------------- /11.130 Styling the Form/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '11.130 Styling the Form' 11 | -------------------------------------------------------------------------------- /04.030 Creating a Database/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '04.030 Creating a Database' 11 | -------------------------------------------------------------------------------- /04.060 Prepared Statements/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '04.060 Prepared Statements' 11 | -------------------------------------------------------------------------------- /04.120 Connecting to MySQL/settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * This file was generated by the Gradle 'init' task. 3 | * 4 | * The settings file is used to specify which projects to include in your build. 5 | * 6 | * Detailed information about configuring a multi-project build in Gradle can be found 7 | * in the user manual at https://docs.gradle.org/6.0/userguide/multi_project_builds.html 8 | */ 9 | 10 | rootProject.name = '04.120 Connecting to MySQL' 11 | -------------------------------------------------------------------------------- /05.060 User Class/src/test/java/com/caveofprogramming/db/AppTest.java: -------------------------------------------------------------------------------- 1 | package com.caveofprogramming.db; 2 | 3 | import static org.junit.Assert.assertTrue; 4 | 5 | import org.junit.Test; 6 | 7 | /** 8 | * Unit test for simple App. 9 | */ 10 | public class AppTest 11 | { 12 | /** 13 | * Rigorous Test :-) 14 | */ 15 | @Test 16 | public void shouldAnswerWithTrue() 17 | { 18 | assertTrue( true ); 19 | } 20 | } 21 | --------------------------------------------------------------------------------