title
Java EE Tutorial 2023

description
Code & Transcript : http://bit.ly/javaeetut Best Java EE Book : https://amzn.to/2TBOMqh Install Everything : https://youtu.be/wDS4QgehTSI MySQL Tutorial : https://youtu.be/yPu6qV5byu4 https://www.patreon.com/derekbanas MY UDEMY COURSES ARE 87.5% OFF TIL March 26th ($9.99) ONE IS FREE ➡️ Python Data Science Series for $9.99 : Highest Rated & Largest Python Udemy Course + 56 Hrs + 200 Videos + Data Science https://bit.ly/Master_Python_50 ➡️ C++ Programming Bootcamp Series for $9.99 : Over 23 Hrs + 53 Videos + Quizzes + Graded Assignments + New Videos Every Month https://bit.ly/C_Course_50 ➡️ FREE 15 hour Golang Course!!! : https://bit.ly/go-tutorial9 (100 Available) Welcome to part one of my Java EE tutorial series. In this video I try to simply explain Servlets, Java Server Pages, Connecting to Databases, Passing Objects, Running the Server and Setting up a working environment. This nearly 30 minute video only contains one 5 second skippable ad. I'd appreciate it if you don't Ad Block it because that allows me to continue making free videos for everyone. GET FREE STUFF WHILE SUPPORTING MY TUTORIALS 1. Get a Free Stock : share.robinhood.com/derekb1560 2. Get 2 Free Audiobooks : https://amzn.to/2Y5FV2p

detail
{'title': 'Java EE Tutorial 2023', 'heatmap': [{'end': 741.93, 'start': 715.731, 'weight': 1}, {'end': 820.15, 'start': 772.202, 'weight': 0.756}], 'summary': "The 'java ee tutorial 2023' video covers java web development, servlets, jsp, mvc pattern, servlet configuration in tomcat, handling form submissions, creating and displaying user info, mysql setup, java bean implementation, and updating information and database in jsp and java, with practical examples and details on the specific steps and successful execution.", 'chapters': [{'end': 376.695, 'segs': [{'end': 48.27, 'src': 'embed', 'start': 16.921, 'weight': 0, 'content': [{'end': 23.046, 'text': 'in the description I have a link to an installation video that you should definitely watch and set up before you watch this video.', 'start': 16.921, 'duration': 6.125}, {'end': 28.974, 'text': "Like always, all the code is available in the description underneath the video and I have a lot to do, so let's get into it.", 'start': 23.226, 'duration': 5.748}, {'end': 37.986, 'text': 'Okay, so everything that I do here is going to be the same on Windows as well as on Macintosh and based off of the couple changes that I cover in the installation video.', 'start': 29.134, 'duration': 8.852}, {'end': 41.608, 'text': "One thing that you're going to need to do is you're going to need this for the database.", 'start': 38.226, 'duration': 3.382}, {'end': 44.149, 'text': 'And you need to go to this URL right here.', 'start': 41.688, 'duration': 2.461}, {'end': 48.27, 'text': "And what we're going to need is the MySQL connector.", 'start': 44.629, 'duration': 3.641}], 'summary': 'Installation video available with mysql connector needed for database setup.', 'duration': 31.349, 'max_score': 16.921, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk16921.jpg'}, {'end': 88.098, 'src': 'embed', 'start': 62.477, 'weight': 1, 'content': [{'end': 67.619, 'text': "But if you're using Eclipse, you're going to want to, first off, whenever you open up Eclipse, go to Help and Welcome.", 'start': 62.477, 'duration': 5.142}, {'end': 73.004, 'text': "And then you're going to see this pop up and you're going to click right here where it says create a new Java EE web project.", 'start': 67.839, 'duration': 5.165}, {'end': 77.248, 'text': "Whenever you do, it's going to ask you what you want the project to be named.", 'start': 73.124, 'duration': 4.124}, {'end': 81.972, 'text': 'And I am just going to call this JEE Tut 1.', 'start': 77.568, 'duration': 4.404}, {'end': 88.098, 'text': "And then you're going to want to make sure that you have the proper version of Tomcat once again covered in the installation video.", 'start': 81.972, 'duration': 6.126}], 'summary': 'In eclipse, create a new java ee web project named jee tut 1 and ensure proper tomcat version.', 'duration': 25.621, 'max_score': 62.477, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk62477.jpg'}, {'end': 127.944, 'src': 'embed', 'start': 100.568, 'weight': 5, 'content': [{'end': 105.151, 'text': 'Whenever you do all of that, all of these guys are going to automatically be created for you.', 'start': 100.568, 'duration': 4.583}, {'end': 110.595, 'text': 'Your document root is going to be where all of your files are going to be stored.', 'start': 105.291, 'duration': 5.304}, {'end': 114.598, 'text': 'And the other important guy here is going to be the webinf.', 'start': 110.835, 'duration': 3.763}, {'end': 122.682, 'text': "folder, and this is where you're going to be storing files that you don't want to be accessible on the web, such as data files and the web XML file,", 'start': 114.818, 'duration': 7.864}, {'end': 127.944, 'text': "Java classes and servlets, and the very first thing we're going to do is come in here and create a servlet.", 'start': 122.682, 'duration': 5.262}], 'summary': 'Creating document root, webinf folder, and servlet for web development.', 'duration': 27.376, 'max_score': 100.568, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk100568.jpg'}, {'end': 163.458, 'src': 'embed', 'start': 139.249, 'weight': 3, 'content': [{'end': 145.171, 'text': "because they provide access to things such as databases and other such, which you're going to see later on, And servlets, of course,", 'start': 139.249, 'duration': 5.922}, {'end': 146.392, 'text': 'run on the server.', 'start': 145.171, 'duration': 1.221}, {'end': 149.813, 'text': "And they're going to process data for dynamic web pages.", 'start': 146.632, 'duration': 3.181}, {'end': 153.774, 'text': "And if you're wondering where they're going to be stored, well, let me just first off create one.", 'start': 150.393, 'duration': 3.381}, {'end': 155.815, 'text': "First, I'm going to create a Java package.", 'start': 153.894, 'duration': 1.921}, {'end': 157.536, 'text': 'And you should use something that you own.', 'start': 155.835, 'duration': 1.701}, {'end': 160.817, 'text': "So for example, I'm going to use here my website.", 'start': 157.596, 'duration': 3.221}, {'end': 163.458, 'text': 'And this is just going to help us avoid any conflicts.', 'start': 161.037, 'duration': 2.421}], 'summary': 'Servlets process data for dynamic web pages and are stored in a java package, such as a personal website.', 'duration': 24.209, 'max_score': 139.249, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk139249.jpg'}, {'end': 232.509, 'src': 'embed', 'start': 192.822, 'weight': 6, 'content': [{'end': 198.606, 'text': "Now. I'll get more into this later, but it's important to understand that JSP apps use the MVC pattern,", 'start': 192.822, 'duration': 5.784}, {'end': 205.671, 'text': "where each part should largely function on their own, and if one part changes, it shouldn't have dramatic effects on the other.", 'start': 198.606, 'duration': 7.065}, {'end': 213.417, 'text': "And the specifics of what MVC is is there's the model, which is just the Java code that accesses and processes your data, the view,", 'start': 205.811, 'duration': 7.606}, {'end': 217.119, 'text': 'which is going to be the interface the user sees, and then, finally, the controller,', 'start': 213.417, 'duration': 3.702}, {'end': 220.121, 'text': 'which is going to serve as a communicator between the model and view.', 'start': 217.119, 'duration': 3.002}, {'end': 222.343, 'text': 'Okay, so more on that as we continue.', 'start': 220.141, 'duration': 2.202}, {'end': 228.467, 'text': "Now, the only library I'm going to add here that is not automatically put in is going to be print writer.", 'start': 222.543, 'duration': 5.924}, {'end': 232.509, 'text': "And that's just going to allow us to send HTML or XML to our clients.", 'start': 228.827, 'duration': 3.682}], 'summary': 'Jsp apps use mvc pattern with model, view, and controller. printwriter library added for sending html or xml to clients.', 'duration': 39.687, 'max_score': 192.822, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk192822.jpg'}, {'end': 278.683, 'src': 'embed', 'start': 250.601, 'weight': 8, 'content': [{'end': 259.228, 'text': 'HTTP servlet is just going to provide different methods for handling get and post requests and managing required resources for everything to run.', 'start': 250.601, 'duration': 8.627}, {'end': 266.754, 'text': 'This serial ID that we have here is just going to be used to maintain compatibility between different versions of our classes.', 'start': 259.368, 'duration': 7.386}, {'end': 271.838, 'text': "And it's also a way to make sure that code is using the same versions of different classes.", 'start': 267.154, 'duration': 4.684}, {'end': 278.683, 'text': 'And more specifically, serializing is going to involve converting objects into a form that can be stored or transmitted.', 'start': 272.178, 'duration': 6.505}], 'summary': 'Http servlet handles get and post requests, manages resources, and ensures compatibility between class versions. serialization converts objects for storage or transmission.', 'duration': 28.082, 'max_score': 250.601, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk250601.jpg'}], 'start': 0.549, 'title': 'Java web development', 'summary': 'Provides an overview of servlets, jsp, and mvc pattern, emphasizing the need for setup, servlets role in web development, and mvc components. it mentions code availability and installation video.', 'chapters': [{'end': 100.328, 'start': 0.549, 'title': 'Java enterprise tutorial overview', 'summary': 'Provides a rough overview of servlets, java server pages, databases, and mentions the availability of code and installation video in the description, emphasizing the need to set up before watching the video.', 'duration': 99.779, 'highlights': ['The chapter emphasizes the need to watch an installation video and set up before watching the tutorial, with the availability of code in the description. The chapter mentions a link to an installation video in the description that users should watch and set up before watching the video, with the availability of all the code in the description underneath the video.', "The tutorial covers the process of creating a new Java EE web project in Eclipse, providing steps and specific naming instructions. The tutorial provides steps for creating a new Java EE web project in Eclipse, including going to Help and Welcome, clicking on 'create a new Java EE web project', naming the project 'JEE Tut 1', and ensuring the proper version of Tomcat is installed.", 'The chapter mentions the need to download MySQL connector for connecting to a database, providing a URL and instructions for different operating systems. The chapter mentions the need to download the MySQL connector for connecting to a database, providing a specific URL and instructions for different operating systems, stating that it will be used later on in the tutorial.']}, {'end': 192.682, 'start': 100.568, 'title': 'Creating servlets in web development', 'summary': 'Discusses creating servlets in web development, explaining the structure of document root, webinf folder, and the process of creating a servlet, emphasizing its role in developing web-based applications and processing data for dynamic web pages.', 'duration': 92.114, 'highlights': ['Servlets provide access to databases and other resources, making it easy to develop web-based applications. Servlets make it easy to develop web-based applications by providing access to databases and other resources.', 'Servlets process data for dynamic web pages, running on the server. Servlets process data for dynamic web pages and run on the server.', 'The webinf folder is used to store files that should not be accessible on the web, such as data files, web XML file, Java classes, and servlets. The webinf folder is used to store files like data files, web XML file, Java classes, and servlets that should not be accessible on the web.']}, {'end': 376.695, 'start': 192.822, 'title': 'Jsp apps and mvc pattern', 'summary': 'Discusses jsp apps using the mvc pattern, explaining the model, view, and controller components, adding necessary libraries, and handling get and post requests in servlets.', 'duration': 183.873, 'highlights': ['JSP apps use the MVC pattern with model, view, and controller components, aiming for independent functionality and minimal impact of changes on other parts. ', 'Print writer is added to allow sending HTML or XML to clients, and necessary libraries are included for the application to work. ', 'HTTP servlet provides methods for handling get and post requests, and managing required resources, while serial ID maintains compatibility between different versions of classes. ']}], 'duration': 376.146, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk549.jpg', 'highlights': ['The chapter emphasizes the need to watch an installation video and set up before watching the tutorial, with the availability of code in the description.', 'The tutorial covers the process of creating a new Java EE web project in Eclipse, providing steps and specific naming instructions.', 'The chapter mentions the need to download MySQL connector for connecting to a database, providing a URL and instructions for different operating systems.', 'Servlets provide access to databases and other resources, making it easy to develop web-based applications.', 'Servlets process data for dynamic web pages, running on the server.', 'The webinf folder is used to store files like data files, web XML file, Java classes, and servlets that should not be accessible on the web.', 'JSP apps use the MVC pattern with model, view, and controller components, aiming for independent functionality and minimal impact of changes on other parts.', 'Print writer is added to allow sending HTML or XML to clients, and necessary libraries are included for the application to work.', 'HTTP servlet provides methods for handling get and post requests, and managing required resources, while serial ID maintains compatibility between different versions of classes.']}, {'end': 624.874, 'segs': [{'end': 450.922, 'src': 'embed', 'start': 420.686, 'weight': 1, 'content': [{'end': 422.909, 'text': "You're going to go and get whatever you're currently working with.", 'start': 420.686, 'duration': 2.223}, {'end': 424.951, 'text': 'Click on Add and then click on Finish.', 'start': 422.969, 'duration': 1.982}, {'end': 426.775, 'text': "And it's going to give you this error message.", 'start': 425.435, 'duration': 1.34}, {'end': 427.616, 'text': 'Just click on OK.', 'start': 426.795, 'duration': 0.821}, {'end': 429.336, 'text': "Everything's going to work automatically.", 'start': 427.996, 'duration': 1.34}, {'end': 438.058, 'text': "Then what you're going to want to do is you want to make sure that your server XML file has been updated to the change that you just made.", 'start': 429.656, 'duration': 8.402}, {'end': 442.64, 'text': "And that guy's going to be over here where it has servers, so server XML.", 'start': 438.459, 'duration': 4.181}, {'end': 450.922, 'text': "And then you're just going to scroll way down to the very bottom of the screen and make sure that that says JEE1, which it does, or JEETUT1,", 'start': 442.86, 'duration': 8.062}], 'summary': 'Update server xml file with jee1 or jeetut1 at the bottom.', 'duration': 30.236, 'max_score': 420.686, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk420686.jpg'}, {'end': 489.181, 'src': 'embed', 'start': 458.245, 'weight': 0, 'content': [{'end': 461.549, 'text': 'And then you can go and restart it just by clicking over here.', 'start': 458.245, 'duration': 3.304}, {'end': 463.491, 'text': "And a whole bunch of stuff's going to pop up.", 'start': 461.97, 'duration': 1.521}, {'end': 471.1, 'text': "And then if you go to this specific URL and local host and make sure everything is exactly the same, you'll see that our servlet is up and running.", 'start': 463.752, 'duration': 7.348}, {'end': 471.681, 'text': 'There you go.', 'start': 471.18, 'duration': 0.501}, {'end': 473.683, 'text': 'You just created a working servlet.', 'start': 471.741, 'duration': 1.942}, {'end': 476.186, 'text': "Now we're going to create our first Java server page,", 'start': 474.063, 'duration': 2.123}, {'end': 484.495, 'text': "and then we'll be able to communicate between the server as well as back and forth in the browser and then eventually into a database.", 'start': 476.186, 'duration': 8.309}, {'end': 489.181, 'text': 'So to do that just right click on this guy, new, come down here where it says jsp file.', 'start': 484.535, 'duration': 4.646}], 'summary': 'Creating a working servlet and java server page to enable communication between server, browser, and database.', 'duration': 30.936, 'max_score': 458.245, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk458245.jpg'}], 'start': 376.755, 'title': 'Configuring servlets and handling form submission', 'summary': 'Covers configuring a servlet in tomcat, creating a working servlet, and processing form submissions. it outlines steps to configure a servlet in tomcat, create a working servlet and the first java server page, and handle form submissions by specifying server configurations, creating jsp and html files, and implementing forms.', 'chapters': [{'end': 438.058, 'start': 376.755, 'title': 'Configuring a servlet in tomcat', 'summary': 'Outlines the steps to configure a servlet in tomcat, including adding the servlet to the server and updating the server xml file, with emphasis on simplicity and essential actions.', 'duration': 61.303, 'highlights': ['The chapter emphasizes the importance of simplicity in the process of configuring a servlet in Tomcat, focusing on basic actions such as closing tags and setting up the server.', "The speaker guides on adding the servlet to the server by right-clicking, selecting 'Add and Remove', adding the relevant content, and finishing the process, while addressing potential error messages.", 'Instructions for updating the server XML file after making changes to ensure the configuration is properly reflected, with a mention of the automatic working process after addressing potential error messages.']}, {'end': 542.154, 'start': 438.459, 'title': 'Creating servlet and java server page', 'summary': 'Details the process of creating a working servlet and the first java server page, allowing communication between the server and browser, and eventually a database, by specifying server configurations, creating jsp and html files, and implementing forms.', 'duration': 103.695, 'highlights': ['The chapter details the process of creating a working servlet and the first Java server page Creating a working servlet and the first Java server page', 'Allowing communication between the server and browser, and eventually a database Enabling communication between server, browser, and database', 'Specifying server configurations, creating JSP and HTML files, and implementing forms Configuring server, creating JSP and HTML files, implementing forms']}, {'end': 624.874, 'start': 542.515, 'title': 'Creating servlet and processing information', 'summary': 'Covers creating a servlet to handle form submission, including creating form elements such as labels, input fields, and submit button, and then creating a separate servlet to process the submitted information.', 'duration': 82.359, 'highlights': ['Creating a servlet to handle form submission and using the post method to create a form.', 'Creating form elements such as labels, input fields, and submit button to allow user input.', "Creating a separate servlet named 'process info' to handle the submitted information."]}], 'duration': 248.119, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk376755.jpg', 'highlights': ['The chapter emphasizes the importance of simplicity in configuring a servlet in Tomcat, focusing on basic actions such as closing tags and server setup.', 'Instructions for updating the server XML file after making changes to ensure proper configuration, with a mention of the automatic working process after addressing potential error messages.', 'Creating a working servlet and the first Java server page, enabling communication between server, browser, and database, and implementing forms by specifying server configurations, creating JSP and HTML files.']}, {'end': 797.63, 'segs': [{'end': 668.481, 'src': 'embed', 'start': 643.196, 'weight': 1, 'content': [{'end': 649.677, 'text': "so the very first thing we're going to do is we are going to define the URL where we're going to send all of our data,", 'start': 643.196, 'duration': 6.481}, {'end': 651.678, 'text': 'which is going to be a JSP file.', 'start': 649.677, 'duration': 2.001}, {'end': 657.239, 'text': "And that's just going to be displayinfo.jsp.", 'start': 652.178, 'duration': 5.061}, {'end': 664.62, 'text': 'Then what we need to do is get the data that was entered into the index.jsp file and store that.', 'start': 657.599, 'duration': 7.021}, {'end': 668.481, 'text': "And I'm just going to call this user's name.", 'start': 665.381, 'duration': 3.1}], 'summary': "Defining the url as displayinfo.jsp to store user's name data.", 'duration': 25.285, 'max_score': 643.196, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk643196.jpg'}, {'end': 741.93, 'src': 'heatmap', 'start': 715.731, 'weight': 1, 'content': [{'end': 725.379, 'text': "and that is going to be our url that we're going to be passing everything to, and then we say forward and pass our request as well as our response,", 'start': 715.731, 'duration': 9.648}, {'end': 730.201, 'text': 'And now to process that, we actually have to create the display info.', 'start': 726.038, 'duration': 4.163}, {'end': 731.422, 'text': "So I'm just going to copy that.", 'start': 730.221, 'duration': 1.201}, {'end': 732.463, 'text': 'Jump over here.', 'start': 731.642, 'duration': 0.821}, {'end': 733.784, 'text': 'Right click on this.', 'start': 732.923, 'duration': 0.861}, {'end': 736.265, 'text': 'Go new and create a new JSP file.', 'start': 733.844, 'duration': 2.421}, {'end': 741.069, 'text': "This guy is going to pop up and I'm just going to paste in displayinfo.jsp.", 'start': 736.666, 'duration': 4.403}, {'end': 741.93, 'text': 'Click on next.', 'start': 741.149, 'duration': 0.781}], 'summary': 'Creating a new jsp file for displayinfo.jsp.', 'duration': 26.199, 'max_score': 715.731, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk715731.jpg'}, {'end': 812.828, 'src': 'embed', 'start': 778.907, 'weight': 0, 'content': [{'end': 781.268, 'text': 'Click on that just to make sure everything is loaded right.', 'start': 778.907, 'duration': 2.361}, {'end': 783.429, 'text': "And then we're going to go to our index file.", 'start': 781.528, 'duration': 1.901}, {'end': 786.73, 'text': "So we're going to come up here and we're going to go index.", 'start': 783.789, 'duration': 2.941}, {'end': 795.588, 'text': 'Click on Enter, enter some information and I can just come in, type my name in and click on Send and it says, Hello Derek.', 'start': 788.739, 'duration': 6.849}, {'end': 797.63, 'text': 'Okay, so there we pass some information.', 'start': 795.708, 'duration': 1.922}, {'end': 804.86, 'text': "So now what we're going to do is we're going to use this fancy guy you downloaded at the beginning of the tutorial and make all this work with databases.", 'start': 797.65, 'duration': 7.21}, {'end': 812.828, 'text': "So you're going to find this jar file wherever you had it stored and you're going to get it and you are going to copy it.", 'start': 805.365, 'duration': 7.463}], 'summary': 'Tutorial on integrating jar file for database functionality.', 'duration': 33.921, 'max_score': 778.907, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk778907.jpg'}], 'start': 624.934, 'title': 'Creating and displaying user info', 'summary': "Covers creating a jsp file to store user input, passing the data to a displayinfo.jsp file, and displaying the user's name on the browser, demonstrating the process with an example.", 'chapters': [{'end': 797.63, 'start': 624.934, 'title': 'Creating and displaying user info with jsp', 'summary': "Covers creating a jsp file to store user input, passing the data to a displayinfo.jsp file, and displaying the user's name on the browser, demonstrating the process by showing an example of entering and displaying the user's name.", 'duration': 172.696, 'highlights': ['Creating a JSP file to store user input and passing the data to a displayinfo.jsp file. ', "Displaying the user's name on the browser after entering it in the index file. ", "Demonstrating the process with an example of entering and displaying the user's name. "]}], 'duration': 172.696, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk624934.jpg', 'highlights': ["Demonstrating the process with an example of entering and displaying the user's name.", 'Creating a JSP file to store user input and passing the data to a displayinfo.jsp file.', "Displaying the user's name on the browser after entering it in the index file."]}, {'end': 1331.836, 'segs': [{'end': 870.39, 'src': 'embed', 'start': 843.719, 'weight': 1, 'content': [{'end': 849.903, 'text': "If you are updating the root, you're going to type in update MySQL user exactly everything that you see here,", 'start': 843.719, 'duration': 6.184}, {'end': 855.087, 'text': "except you're going to put in your new password, because whenever you first install MySQL, the root doesn't have a set password.", 'start': 849.903, 'duration': 5.184}, {'end': 858.588, 'text': "And then you're going to have where user is root.", 'start': 855.467, 'duration': 3.121}, {'end': 863.968, 'text': "Okay, so that's how you set up MySQL for the very first time whenever you first start using it.", 'start': 858.788, 'duration': 5.18}, {'end': 866.389, 'text': "And then you're going to hit enter and you're going to enter a password.", 'start': 864.349, 'duration': 2.04}, {'end': 870.39, 'text': 'Now what we need to do is go and set up our database.', 'start': 866.629, 'duration': 3.761}], 'summary': 'Set up mysql root user password and database for initial use.', 'duration': 26.671, 'max_score': 843.719, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk843719.jpg'}, {'end': 965.184, 'src': 'embed', 'start': 935.072, 'weight': 2, 'content': [{'end': 939.334, 'text': 'You can see here I went and checked to see if the user was created, and indeed they were.', 'start': 935.072, 'duration': 4.262}, {'end': 948.422, 'text': 'You are then going to want to grant privileges to this new user with the test one database that you went and just created and, more specifically,', 'start': 939.758, 'duration': 8.664}, {'end': 949.683, 'text': 'the customer part here.', 'start': 948.422, 'duration': 1.261}, {'end': 951.224, 'text': 'And that is how you do that.', 'start': 949.963, 'duration': 1.261}, {'end': 954.525, 'text': 'And then you hit enter and now your database is all set up.', 'start': 951.604, 'duration': 2.921}, {'end': 957.787, 'text': 'And to leave that, you just type in quit and you are done.', 'start': 954.705, 'duration': 3.082}, {'end': 965.184, 'text': "Now what I'm going to do is create a Java bean that's going to allow me to go and pass customer data.", 'start': 958.399, 'duration': 6.785}], 'summary': 'Checked and created user, granted privileges on test one database, created java bean for customer data.', 'duration': 30.112, 'max_score': 935.072, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk935072.jpg'}, {'end': 1006.922, 'src': 'embed', 'start': 977.812, 'weight': 3, 'content': [{'end': 980.374, 'text': 'And then I can click on finish.', 'start': 977.812, 'duration': 2.562}, {'end': 985.716, 'text': "Now, inside of this guy, what we're going to need, it's officially going to be a Java Bean.", 'start': 980.814, 'duration': 4.902}, {'end': 991.718, 'text': "One thing that we're going to need is everything is going to have to be marked as private.", 'start': 986.076, 'duration': 5.642}, {'end': 997.539, 'text': "So, I'm going to have first name and I'm going to do the same for last name and telephone number.", 'start': 992.318, 'duration': 5.221}, {'end': 1000.18, 'text': 'So, last name and phone.', 'start': 998.02, 'duration': 2.16}, {'end': 1001.641, 'text': "I'll just keep everything a string.", 'start': 1000.22, 'duration': 1.421}, {'end': 1006.922, 'text': "Another thing we're going to need is getters and setters for all of these and Eclipse makes this easy.", 'start': 1002.141, 'duration': 4.781}], 'summary': 'Creating a java bean with private fields and getters/setters in eclipse.', 'duration': 29.11, 'max_score': 977.812, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk977812.jpg'}, {'end': 1102.515, 'src': 'embed', 'start': 1074.652, 'weight': 4, 'content': [{'end': 1078.173, 'text': 'Whoops, last name, and then have this be phone.', 'start': 1074.652, 'duration': 3.521}, {'end': 1092.798, 'text': 'And then the last thing we need to do is come up here and import Java IO serializable and then come down here to our class and go Implements Serializable.', 'start': 1078.713, 'duration': 14.085}, {'end': 1093.901, 'text': 'And there you go.', 'start': 1093.24, 'duration': 0.661}, {'end': 1099.19, 'text': "Now you have a Java bean and we're going to have to add a serial ID to this.", 'start': 1093.981, 'duration': 5.209}, {'end': 1101.814, 'text': 'And I can just go add default serial ID.', 'start': 1099.45, 'duration': 2.364}, {'end': 1102.515, 'text': "That's fine.", 'start': 1101.854, 'duration': 0.661}], 'summary': 'Creating a java bean by implementing serializable and adding a default serial id.', 'duration': 27.863, 'max_score': 1074.652, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk1074652.jpg'}, {'end': 1225.132, 'src': 'embed', 'start': 1142.919, 'weight': 0, 'content': [{'end': 1151.066, 'text': "And it's going to receive a string which is going to be for our first name and another string which is going to be for our last name.", 'start': 1142.919, 'duration': 8.147}, {'end': 1155.75, 'text': "And then finally, a string that's going to deal with telephone numbers.", 'start': 1151.186, 'duration': 4.564}, {'end': 1158.532, 'text': "And let's put these down here so you can actually see them.", 'start': 1156.17, 'duration': 2.362}, {'end': 1159.674, 'text': 'And there we go.', 'start': 1158.993, 'duration': 0.681}, {'end': 1166.5, 'text': "All right, so very first thing we're going to need to do is get the ability to connect to our database.", 'start': 1159.994, 'duration': 6.506}, {'end': 1173.147, 'text': 'And how we do that is we go Connection, and we already have this guy over here, the connector installed in the lib folder.', 'start': 1166.66, 'duration': 6.487}, {'end': 1173.907, 'text': "Make sure it's there.", 'start': 1173.167, 'duration': 0.74}, {'end': 1175.329, 'text': "If it's not there, it's not going to work.", 'start': 1174.128, 'duration': 1.201}, {'end': 1178.452, 'text': "All right, so there's going to be our database connection.", 'start': 1175.609, 'duration': 2.843}, {'end': 1183.109, 'text': "Again, we can have issues here, so I'm going to surround this with a try block.", 'start': 1178.928, 'duration': 4.181}, {'end': 1189.371, 'text': "And this is everything that we're going to need to define to be able to connect to our database.", 'start': 1183.349, 'duration': 6.022}, {'end': 1194.852, 'text': "So we're going to go class for name, com, and mysql.cj.jdbc.cj.", 'start': 1189.391, 'duration': 5.461}, {'end': 1206.459, 'text': "After that, we're going to define a URL here for our database.", 'start': 1201.134, 'duration': 5.325}, {'end': 1213.125, 'text': "So we're going to say jdbc://localhost and the name of our database, which is test1.", 'start': 1206.98, 'duration': 6.145}, {'end': 1225.132, 'text': "Then we're going to put inside of here, the user name for the database that we created.", 'start': 1218.866, 'duration': 6.266}], 'summary': 'The transcript discusses setting up a database connection with first name, last name, and telephone number inputs.', 'duration': 82.213, 'max_score': 1142.919, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk1142919.jpg'}], 'start': 797.65, 'title': 'Mysql setup and java bean implementation', 'summary': 'Covers setting up mysql, creating a database and a table, setting up a user, granting privileges, and creating a java bean with private attributes and constructors. it also discusses implementing a java bean by importing java io serializable, adding a default serial id, and creating a function to update a database by connecting to it and issuing a query.', 'chapters': [{'end': 1074.372, 'start': 797.65, 'title': 'Setting up mysql and creating a java bean', 'summary': 'Covers setting up mysql for the first time, creating a database and a table, setting up a user specific to the database, granting privileges, and creating a java bean with private attributes and constructors.', 'duration': 276.722, 'highlights': ["The chapter covers setting up MySQL for the first time, creating a database and a table, setting up a user specific to the database, granting privileges, and creating a Java Bean with private attributes and constructors. The tutorial provides step-by-step instructions for setting up MySQL for the first time, creating a database named 'test1', creating a table to store information, setting up a user specific to the database, granting privileges, and creating a Java Bean with private attributes and constructors.", "The root user doesn't have a set password when MySQL is first installed, and users need to update the root user credentials. The root user in MySQL initially does not have a set password, and the tutorial demonstrates the process of updating the root user's credentials, ensuring the security of the MySQL installation.", "The user creates a new user specific to the database and grants privileges to that user for the 'test1' database. The tutorial guides users in creating a new user specific to the 'test1' database and granting privileges to this user, ensuring controlled access to the database.", 'The Java Bean is created with private attributes and constructors, along with getters and setters for each attribute. The tutorial illustrates the creation of a Java Bean with private attributes (first name, last name, phone), constructors without attributes, and getters and setters for each attribute, facilitating data encapsulation and access control.']}, {'end': 1331.836, 'start': 1074.652, 'title': 'Implementing java bean and database connection', 'summary': 'Discusses implementing a java bean by importing java io serializable and adding a default serial id, as well as creating a simple function to update a database by connecting to it and issuing a query.', 'duration': 257.184, 'highlights': ['The chapter covers implementing a Java bean by importing Java IO serializable and adding a default serial ID, as well as explaining the purpose of the serial ID.', 'It discusses the process of connecting to a database by importing javasql.star and creating a simple function to update the database by receiving and processing input for first name, last name, and telephone number.', 'The chapter details the steps to establish a database connection, including defining the database class, URL, username, and password, as well as issuing queries using statement and executing an update.', 'It provides guidance on handling potential errors during the database connection process, including addressing class not found and SQL exceptions.']}], 'duration': 534.186, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk797650.jpg', 'highlights': ["The tutorial provides step-by-step instructions for setting up MySQL for the first time, creating a database named 'test1', creating a table to store information, setting up a user specific to the database, granting privileges, and creating a Java Bean with private attributes and constructors.", "The root user in MySQL initially does not have a set password, and the tutorial demonstrates the process of updating the root user's credentials, ensuring the security of the MySQL installation.", "The tutorial guides users in creating a new user specific to the 'test1' database and granting privileges to this user, ensuring controlled access to the database.", 'The tutorial illustrates the creation of a Java Bean with private attributes (first name, last name, phone), constructors without attributes, and getters and setters for each attribute, facilitating data encapsulation and access control.', 'The chapter covers implementing a Java bean by importing Java IO serializable and adding a default serial ID, as well as explaining the purpose of the serial ID.', 'It discusses the process of connecting to a database by importing javasql.star and creating a simple function to update the database by receiving and processing input for first name, last name, and telephone number.', 'The chapter details the steps to establish a database connection, including defining the database class, URL, username, and password, as well as issuing queries using statement and executing an update.', 'It provides guidance on handling potential errors during the database connection process, including addressing class not found and SQL exceptions.']}, {'end': 1575.096, 'segs': [{'end': 1361.837, 'src': 'embed', 'start': 1332.389, 'weight': 0, 'content': [{'end': 1337.77, 'text': "Now I'm going to jump over into the index JSP file and update this information.", 'start': 1332.389, 'duration': 5.381}, {'end': 1340.991, 'text': "So I'm going to have this still be process info, just like we did before.", 'start': 1337.79, 'duration': 3.201}, {'end': 1342.972, 'text': 'Everything here is going to be exactly the same.', 'start': 1341.111, 'duration': 1.861}, {'end': 1352.354, 'text': "I'm going to change this to first name, and then I will change this also to F name or first name, go get this guy.", 'start': 1343.052, 'duration': 9.302}, {'end': 1354.275, 'text': "And we're going to need three of these.", 'start': 1352.594, 'duration': 1.681}, {'end': 1361.837, 'text': 'So this is going to be last name, change this to L name, and then change this to phone and then change this to phone.', 'start': 1354.295, 'duration': 7.542}], 'summary': 'Updating index jsp file with process info and adding three fields: first name, last name, and phone.', 'duration': 29.448, 'max_score': 1332.389, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk1332389.jpg'}, {'end': 1428.544, 'src': 'embed', 'start': 1401.324, 'weight': 1, 'content': [{'end': 1405.888, 'text': "Then what we're going to do is, instead of passing the username back,", 'start': 1401.324, 'duration': 4.564}, {'end': 1412.193, 'text': "we're actually going to use this customer Java bean we created here and pass that over so we can look at that.", 'start': 1405.888, 'duration': 6.305}, {'end': 1415.295, 'text': 'But first we want to update our database.', 'start': 1412.533, 'duration': 2.762}, {'end': 1419.478, 'text': "So we'll call update database and then pass in F name.", 'start': 1415.315, 'duration': 4.163}, {'end': 1423.181, 'text': "And I'll show you that that worked also phone.", 'start': 1420.159, 'duration': 3.022}, {'end': 1425.203, 'text': "So that's going to update our database.", 'start': 1423.501, 'duration': 1.702}, {'end': 1428.544, 'text': "Then we're going to create a customer object.", 'start': 1425.782, 'duration': 2.762}], 'summary': 'Updating database with customer java bean to create customer object.', 'duration': 27.22, 'max_score': 1401.324, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk1401324.jpg'}, {'end': 1563.818, 'src': 'embed', 'start': 1537.046, 'weight': 2, 'content': [{'end': 1540.906, 'text': 'Thank you for the info and you can see it showed first name, last name and phone number.', 'start': 1537.046, 'duration': 3.86}, {'end': 1543.287, 'text': 'Now we just have to check if the database was updated.', 'start': 1540.966, 'duration': 2.321}, {'end': 1545.529, 'text': 'We can go into our database.', 'start': 1543.807, 'duration': 1.722}, {'end': 1554.196, 'text': "We're just going to type in use test1, database changed, then type in select and star from customer.", 'start': 1545.569, 'duration': 8.627}, {'end': 1558.62, 'text': 'And you can see there is my name, my telephone number, and so forth and so on.', 'start': 1554.617, 'duration': 4.003}, {'end': 1560.213, 'text': 'Alright, so there you go guys.', 'start': 1559.011, 'duration': 1.202}, {'end': 1563.818, 'text': 'There was a crash course in Java Enterprise Edition.', 'start': 1560.233, 'duration': 3.585}], 'summary': 'Checked database for updated info, found first/last name, phone number. demonstrated java ee.', 'duration': 26.772, 'max_score': 1537.046, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk1537046.jpg'}], 'start': 1332.389, 'title': 'Updating information and database in jsp and java', 'summary': 'Covers updating information in the index jsp file, including changing fields like first name, last name, and phone, and making corresponding updates in the process info file. it also describes the process of updating the database by passing a customer java bean, creating a customer object, displaying information, and verifying the database update, with details on the specific steps and the successful execution of the process.', 'chapters': [{'end': 1400.884, 'start': 1332.389, 'title': 'Updating information in jsp file', 'summary': 'Covers updating information in the index jsp file, including changing fields like first name, last name, and phone, and making corresponding updates in the process info file.', 'duration': 68.495, 'highlights': ['The chapter covers updating information in the index JSP file, including changing fields like first name, last name, and phone, and making corresponding updates in the process info file.', 'Changing fields in the index JSP file such as first name, last name, and phone, and making corresponding updates in the process info file.', 'Updating information in the index JSP file for fields like first name, last name, and phone.']}, {'end': 1575.096, 'start': 1401.324, 'title': 'Updating database and displaying information in java', 'summary': 'Describes the process of updating the database by passing a customer java bean, creating a customer object, displaying information, and verifying the database update, with details on the specific steps and the successful execution of the process.', 'duration': 173.772, 'highlights': ['The process includes updating the database by passing a customer Java bean and calling update database to update the first name and phone, with successful execution. update database, F name, phone', 'Creating a customer object by passing the first name, last name, and phone, and updating the database with the new customer information. creating customer object, updating database, first name, last name, phone', 'The chapter details the process of passing the entire customer object using set attributes and making necessary changes to the display information. passing entire customer object, set attributes, display information', 'The demonstration shows the successful display of the updated information including first name, last name, and phone number on the webpage. displaying updated information, first name, last name, phone number', 'Verification of the database update is performed by accessing the database and checking for the updated information, with successful execution and display of the updated records. verification of database update, accessing database, checking updated information']}], 'duration': 242.707, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/0dW577tJXkk/pics/0dW577tJXkk1332389.jpg', 'highlights': ['Covers updating information in the index JSP file, including changing fields like first name, last name, and phone, and making corresponding updates in the process info file.', 'The process includes updating the database by passing a customer Java bean and calling update database to update the first name and phone, with successful execution.', 'The demonstration shows the successful display of the updated information including first name, last name, and phone number on the webpage.', 'Verification of the database update is performed by accessing the database and checking for the updated information, with successful execution and display of the updated records.']}], 'highlights': ["The tutorial provides step-by-step instructions for setting up MySQL for the first time, creating a database named 'test1', creating a table to store information, setting up a user specific to the database, granting privileges, and creating a Java Bean with private attributes and constructors.", 'The process includes updating the database by passing a customer Java bean and calling update database to update the first name and phone, with successful execution.', 'The demonstration shows the successful display of the updated information including first name, last name, and phone number on the webpage.', 'The chapter emphasizes the importance of simplicity in configuring a servlet in Tomcat, focusing on basic actions such as closing tags and server setup.', 'The chapter mentions the need to download MySQL connector for connecting to a database, providing a URL and instructions for different operating systems.']}