Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

This has already been asked but I do not understand the code that was given... d

ID: 3696256 • Letter: T

Question

This has already been asked but I do not understand the code that was given... does anyone mind giving this a try please? Thanks.
Java Programming: Create a new database with title of MovieData, have one table with the following fields: movie ID, movie title, length of movie in minutes, movie company name. Insert into the table 4 new entries and output a message when the insert is done. Create a class that will add a new entry to the database based on what the user enters. Be abel to query the database to find all the movies that have a title in them. You can pick a title that you know is in your database to test and then pick another title that is not to test it. The user can input the title to search with. (the entires when testing can be made up movies, company names, and lengths, etc)

Explanation / Answer

create_movie_database.sql

Let's make a servlet for fetching and rendering all the movies:

Here is a first pass:

We made use of a business object bean (following modern practices, a POJO):

and a service object (sometimes called a DAO):

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote