OBJECT-ORIENTED PROGRAMMING APPROACH TO LEARNING JDBC AND SQLITE USING APACHE NETBEANS IDE


Book Description

In this book, you will develop step by step tutorial object-oriented programming with Java GUI and SQLite database using NetBeans IDE to implement all tables in chinook database. In this project, we use SQLite sample database named chinook. The chinook sample database is a good database for practicing with SQL, especially SQLite. You can download the sample database on: https://viviansiahaan.blogspot.com/2023/03/book-object-oriented-programming.html. There are 11 tables in the chinook sample database: employee table stores employees data such as employee id, last name, first name, etc. It also has a field named ReportsTo to specify who reports to whom; customer table stores customers data; invoice & invoice_item tables: these two tables store invoice data. The invoices table stores invoice header data and the invoice_items table stores the invoice line items data; artist table stores artists data. It is a simple table that contains only the artist id and name; album table stores data about a list of tracks. Each album belongs to one artist. However, one artist may have multiple albums; media_type table stores media types such as MPEG audio and AAC audio files; genre table stores music types such as rock, jazz, metal, etc; track table stores the data of songs. Each track belongs to one album; playlist & playlist_track tables: playlists table store data about playlists. Each playlist contains a list of tracks. Each track may belong to multiple playlists. The relationship between the playlists table and tracks table is many-to-many; The playlist_track table is used to reflect this relationship.




SQLite with JDBC for Beginners


Book Description

In this book, you will learn how to build from scratch a SQLite database management system using Java. In designing a GUI and as an IDE, you will make use of the NetBeans tool. Gradually and step by step, you will be taught how to use SQLite in Java. In the first chapter, you will learn: How to create SQLite database and six tables In the second chapter, you will study: Creating the initial three table projects in the school database: Teacher table, TClass table, and Subject table; Creating database configuration files; Creating a Java GUI for viewing and navigating the contents of each table; Creating a Java GUI for inserting and editing tables; and Creating a Java GUI to join and query the three tables. In the third chapter, you will learn: Creating the main form to connect all forms; Creating a project will add three more tables to the school database: the Student table, the Parent table, and Tuition table; Creating a Java GUI to view and navigate the contents of each table; Creating a Java GUI for editing, inserting, and deleting records in each table; Creating a Java GUI to join and query the three tables and all six tables. In the last chapter, you will study how to query the six tables. Finally, this book is hopefully useful and can improve database programming skills for every Java/SQLite programmer.




DATA SCIENCE WITH JDBC AND SQLITE USING OBJECT-ORIENTED APPROACH AND APACHE NETBEANS IDE


Book Description

In this project, you will develop step by step implementation of JDBC/SQLITE with object-oriented approach using SQLite version of an Oracle sample database named electronics. You will be taught how to plot country distribution in each region; location distribution in each country and region; warehouse distribution in each country, region, and city; product distribution by category name; categorized standard cost and categorized list price values distribution in products table; categorized values in inventories table; employee distribution by job title; customer distribution by categorized credit limit; order distribution by customer employee, status, and by categorized credit limit; the top 10 sales distribution by product name; the top 10 sales distribution by category name; the order distribution by category; and order distribution by status. The electronics database itself is based on a global fictitious company that sells computer hardware including storage, motherboard, RAM, video card, and CPU. You can download the sample database from https://viviansiahaan.blogspot.com/2023/03/book-jdbc-and-sqlite-with-object.html. In the database, the company maintains the product information such as name, description standard cost, list price, and product line. It also tracks the inventory information for all products including warehouses where products are available. Because the company operates globally, it has warehouses in various locations around the world. The company records all customer information including name, address, and website. Each customer has at least one contact person with detailed information including name, email, and phone. The company also places a credit limit on each customer to limit the amount that customer can owe. Whenever a customer issues a purchase order, a sales order is created in the database with the pending status. When the company ships the order, the order status becomes shipped. In case the customer cancels an order, the order status becomes canceled. In addition to the sales information, the employee data is recorded with some basic information such as name, email, phone, job title, manager, and hire date.




Learn SQLite with JDBC


Book Description

In this book, you will learn how to build from scratch a criminal records management database system using Java / SQLite. All Java code for digital image processing in this book is Native Java. Intentionally not to rely on external libraries, so that readers know in detail the process of extracting digital images from scratch in Java. In the first chapter, you will be shown how to create SQLite database and tables with Java. In second chapter, you will be taught how to extract image features, utilizing BufferedImage class, in Java GUI. Digital image techniques to extract image features used in this chapted are grascaling, sharpening, invertering, blurring, dilation, erosion, closing, opening, vertical prewitt, horizontal prewitt, Laplacian, horizontal sobel, and vertical sobel. For readers, you can develop it to store other advanced image features based on descriptors such as SIFT and others for developing descriptor based matching. In the third chapter, you will be taught to create Java GUI to view, edit, insert, and delete Suspect table data. This table has eleven columns: suspect_id (primary key), suspect_name, birth_date, case_date, report_date, suspect_ status, arrest_date, mother_name, address, telephone, and photo. In the fourth chapter, you will be taught to create Java GUI to view, edit, insert, and delete Feature_Extraction table data. This table has eight columns: feature_id (primary key), suspect_id (foreign key), feature1, feature2, feature3, feature4, feature5, and feature6. All six fields (except keys) will have a BLOB data type, so that the image of the feature will be directly saved into this table. In the fifth chapter, you will add two tables: Police_Station and Investigator. These two tables will later be joined to Suspect table through another table, File_Case, which will be built in the seventh chapter. The Police_Station has six columns: police_station_id (primary key), location, city, province, telephone, and photo. The Investigator has eight columns: investigator_id (primary key), investigator_name, rank, birth_date, gender, address, telephone, and photo. Here, you will design a Java GUI to display, edit, fill, and delete data in both tables. In the sixth chapter, you will add two tables: Victim and Case_File. The File_Case table will connect four other tables: Suspect, Police_Station, Investigator and Victim. The Victim table has nine columns: victim_id (primary key), victim_name, crime_type, birth_date, crime_date, gender, address, telephone, and photo. The Case_File has seven columns: case_file_id (primary key), suspect_id (foreign key), police_station_id (foreign key), investigator_id (foreign key), victim_id (foreign key), status, and description. Here, you will also design a Java GUI to display, edit, fill, and delete data in both tables. Finally, this book is hopefully useful for you.




DATA VISUALIZATION AND DATA ANALYTICS USING JDBC AND SQLITE WITH OBJECT-ORIENTED APPROACH AND APACHE NETBEANS IDE


Book Description

In this project, we developed data visualization and data analytics with step by step implementation of JDBC/SQLITE using object-oriented approach. We uses the SQLite version of BikeStores database as a sample database to help you work with SQLite quickly and effectively. You can download the sample database from https://viviansiahaan.blogspot.com/2023/03/my-book-data-visualization-and-data.html. In this project, we plotted: the bar chart that displays the distribution of products by category; the pie chart that displays the distribution of products by brand; the distribution of stores by city; the distribution of stores by state; the top 10 stock distributions by category name; the top 10 stock distributions by brand name; the top 10 stock distributions by store name; the top 10 stock distributions by city; the customer distribution by state; the customer distribution by city; the bar chart distribution of staff by state; the bar chart distribution of staff by city; the bar chart that shows the distribution of orders based on the store name; the pie chart that shows the distribution of orders based on the customer name; the pie chart showing the order distribution by store city; the pie chart showing the order distribution by store state; the pie chart showing the order distribution by customer city; the pie chart showing the order distribution by customer state; the pie chart sales distribution by staff name; the pie chart sales distribution by brand name; the pie chart sales distribution by customer city; the pie chart sales distribution by customer state; the pie chart sales distribution by store city; the pie chart sales distribution by store state; the pie chart sales distribution by product name; the pie chart sales distribution by category name; pie chart sales distribution by customer name; and the pie chart sales distribution by store name. The stores table includes the store’s information. Each store has a store name, contact information such as phone and email, and an address including street, city, state, and zip code. The staffs table stores the essential information of staffs including first name, last name. It also contains the communication information such as email and phone. A staff works at a store specified by the value in the store_id column. A store can have one or more staffs. A staff reports to a store manager specified by the value in the manager_id column. If the value in the manager_id is null, then the staff is the top manager. If a staff no longer works for any stores, the value in the active column is set to zero. The categories table stores the bike’s categories such as children bicycles, comfort bicycles, and electric bikes. The products table stores the product’s information such as name, brand, category, model year, and list price. Each product belongs to a brand specified by the brand_id column. Hence, a brand may have zero or many products. Each product also belongs a category specified by the category_id column. Also, each category may have zero or many products. The customers table stores customer’s information including first name, last name, phone, email, street, city, state, zip code, and photo path. The orders table stores the sales order’s header information including customer, order status, order date, required date, shipped date. It also stores the information on where the sales transaction was created (store) and who created it (staff). Each sales order has a row in the sales_orders table. A sales order has one or many line items stored in the order_items table. The order_items table stores the line items of a sales order. Each line item belongs to a sales order specified by the order_id column. A sales order line item includes product, order quantity, list price, and discount. The stocks table stores the inventory information i.e. the quantity of a particular product in a specific store.




OBJECT-ORIENTED PROGRAMMING APPROACH TO LEARNING JDBC AND MYSQL USING APACHE NETBEANS IDE: PART 1


Book Description

The Northwind database is a sample database, consisting 13 tables, that was originally created by Microsoft and used as the basis for their tutorials in a variety of database products for decades. The Northwind database contains the sales data for a fictitious company called “Northwind Traders,” which imports and exports specialty foods from around the world. The Northwind database is an excellent tutorial schema for a small-business ERP, with customers, orders, inventory, purchasing, suppliers, shipping, employees, and single-entry accounting. The Northwind database has since been ported to a variety of non-Microsoft databases, including MySQL. The Northwind dataset includes sample data for the following: Suppliers: Suppliers and vendors of Northwind; Customers: Customers who buy products from Northwind; Employees: Employee details of Northwind traders; Products: Product information; Shippers: The details of the shippers who ship the products from the traders to the end-customers; Orders and Order_Details: Sales Order transactions taking place between the customers & the company. In this book, as part 1, you will develop step by step tutorial object-oriented programming and Java GUI using NetBeans IDE to implement the four employee-related tables in Northwind database: region, territories, employees, and employeeterritories.




DATA ANALYSIS USING JDBC AND SQLITE WITH OBJECT-ORIENTED APPROACH AND APACHE NETBEANS IDE


Book Description

In this project, you will use SQLite version of Northwind database which is a sample database that was originally created by Microsoft and used as the basis for their tutorials in a variety of database products for decades. The Northwind database contains the sales data for a fictitious company called “Northwind Traders,” which imports and exports specialty foods from around the world. The Northwind database is an excellent tutorial schema for a small-business ERP, with customers, orders, inventory, purchasing, suppliers, shipping, employees, and single-entry accounting. You can download the sample database from https://viviansiahaan.blogspot.com/2023/04/data-analysis-using-jdbc-and-sqlite.html. In this project, you will design the form for every table and you will plot: the territory distribution by region; the employee distributions based on city, country, title, and region; the employee distributions based on birth date, hire date, and employee name; the employee distributions based on city, country, territory, and region; the three supplier distributions based on city, region, and country; the product distributions based on city, region, country, categorized unit price, categorized units in stock, and categorized units on order; the customer distributions based on city, region, and country; the order and freight distributions based on year, month, and week; the order and freight distributions based on day, quarter, and ship country; the order and freight distributions based on ship region, ship city, and ship name; the order and freight distributions based on shipper company, customer company, and customer city; the order and freight distributions based on customer country, employee name, and employee title; the sales distributions based on year, month, week, day, quarter, and ship country; the sales distributions based on ship region, ship city, ship name, shipper company, customer company, and customer city; the sales distributions based on customer region, customer country, employee name, employee title, employee city, and employee country; the sales distributions based on product name, category name, supplier company, supplier city, supplier region, and supplier country.




OBJECT-ORIENTED PROGRAMMING APPROACH TO LEARNING JDBC AND MYSQL USING APACHE NETBEANS IDE: PART 3


Book Description

The Northwind database is a sample database, consisting 13 tables, that was originally created by Microsoft and used as the basis for their tutorials in a variety of database products for decades. The Northwind database contains the sales data for a fictitious company called “Northwind Traders,” which imports and exports specialty foods from around the world. The Northwind database is an excellent tutorial schema for a small-business ERP, with customers, orders, inventory, purchasing, suppliers, shipping, employees, and single-entry accounting. The Northwind database has since been ported to a variety of non-Microsoft databases, including MySQL. The Northwind dataset includes sample data for the following: Suppliers: Suppliers and vendors of Northwind; Customers: Customers who buy products from Northwind; Employees: Employee details of Northwind traders; Products: Product information; Shippers: The details of the shippers who ship the products from the traders to the end-customers; Orders and Order_Details: Sales Order transactions taking place between the customers & the company. In this book, as part 3, you will develop step by step tutorial object-oriented programming and Java GUI using NetBeans to implement the rest three tables in Northwind database: shippers, orders, and order details.




OBJECT-ORIENTED PROGRAMMING APPROACH TO LEARNING JDBC AND MYSQL USING APACHE NETBEANS IDE: PART 2


Book Description

The Northwind database is a sample database, consisting 13 tables, that was originally created by Microsoft and used as the basis for their tutorials in a variety of database products for decades. The Northwind database contains the sales data for a fictitious company called “Northwind Traders,” which imports and exports specialty foods from around the world. The Northwind database is an excellent tutorial schema for a small-business ERP, with customers, orders, inventory, purchasing, suppliers, shipping, employees, and single-entry accounting. The Northwind database has since been ported to a variety of non-Microsoft databases, including MySQL. The Northwind dataset includes sample data for the following: Suppliers: Suppliers and vendors of Northwind; Customers: Customers who buy products from Northwind; Employees: Employee details of Northwind traders; Products: Product information; Shippers: The details of the shippers who ship the products from the traders to the end-customers; Orders and Order_Details: Sales Order transactions taking place between the customers & the company. In this book, as part 2, you will develop step by step tutorial object-oriented programming and Java GUI using NetBeans to implement second four tables in Northwind database: categories, suppliers, products, and customers.




FULL VERSION: OBJECT-ORIENTED PROGRAMMING APPROACH TO LEARNING JDBC AND MYSQL USING APACHE NETBEANS IDE


Book Description

The Northwind database is a sample database, consisting 11 tables, that was originally created by Microsoft and used as the basis for their tutorials in a variety of database products for decades. The Northwind database contains the sales data for a fictitious company called “Northwind Traders,” which imports and exports specialty foods from around the world. The Northwind database is an excellent tutorial schema for a small-business ERP, with customers, orders, inventory, purchasing, suppliers, shipping, employees, and single-entry accounting. The Northwind database has since been ported to a variety of non-Microsoft databases, including MySQL. The Northwind dataset includes sample data for the following: Suppliers: Suppliers and vendors of Northwind; Customers: Customers who buy products from Northwind; Employees: Employee details of Northwind traders; Products: Product information; Shippers: The details of the shippers who ship the products from the traders to the end-customers; Orders and Order_Details: Sales Order transactions taking place between the customers & the company. In this book, you will develop step by step tutorial object-oriented programming and Java GUI using NetBeans IDE to implement all tables in Northwind database.