title
Advance Java Tutorial | J2EE, Java Servlets, JSP, JDBC | Java Certification Training | Edureka
description
**** Java Certification Training: https://www.edureka.co/java-j2ee-training-course ****
This Edureka tutorial on “Advanced Java” will talk about 3 main concepts i.e. JAVA Database Connectivity, Servlets, and Java Server Pages. It will also talk about the various features, connections, statements, advantages, and need for advanced Java etc. Through this tutorial you will learn the following topics:
Introduction to J2EE- 2:24
JDBC Architecture- 3:24
JDBC Connections- 11:45
JDBC Statements- 15:05
Introduction to servlets- 21:22
Servlet Life Cycle- 22:18
Steps to create Servlet in Eclipse- 25:49
Session Tracking and Cookies- 35:58-
Introduction to Java Server Pages-39:26
JSP Life Cycle-41:25
JSP Scripting Elements-42:30
Check out our Java Tutorial blog series: https://goo.gl/osrGrS
Check out our complete Youtube playlist here: https://goo.gl/gMFLx3
-------------------------------------
Do subscribe to our channel and hit the bell icon to never miss an update from us in the future: https://goo.gl/6ohpTV
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
#Java #AdvancedJava #AdvancedJavaTutorial #LearnJava #JavaOnlineTraining #AdvancedJavaProgramming
-------------------------------------
How it Works?
1. This is a 7 Week Instructor-led Online Course, 45 hours of assignment and 20 hours of project work
2. We have a 24x7 One-on-One LIVE Technical Support to help you with any problems you might face or any clarifications you may require during the course.
3. At the end of the training, you will be working on a real-time project for which we will provide you a Grade and a Verifiable Certificate!
-------------------------------------
About the Course
Edureka's Advanced Java J2EE and SOA training and certification course is designed for students and professionals who want to be a Java Developer. This is a 42-hour course which will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XML Handling etc. We will also learn various Java frameworks like Hibernate and Spring. During our Java/ Certification training, our instructors will help you:
1. Develop the code with various Java data types, conditions, and loops.
2. Implement arrays, functions and string handling techniques.
3. Understand object-oriented programming through Java using Classes, Objects and various Java concepts like Abstract, Final etc.
4. Implement multi-threading and exception handling.
5. Use parse XML files using DOM and SAX in Java.
6. Write a code in JDBC to communicate with the Database.
7. Develop web applications and JSP pages.
8. Interact with the database using hibernate framework.
9. Write code with spring framework components like Dependency Injection and Auto Wiring.
10. Implement SOA using web services.
-------------------------------------
Who should go for this course?
This course is designed for professionals aspiring to become Java Developers. Programmers, Web Developers, Web Designers, Programming Hobbyists, Database Administrators, Youngsters who want to kick-start their career are the key beneficiaries of this course.
-------------------------------------
Why learn Java?
Java is a general-purpose, class-based, object-oriented computer programming language that was designed by James Gosling at Sun Microsystems in 1995.
Key Highlights of Java:
Platform Independent: This allows programmers to develop applications that can run on any operating system.
Usability of Java: Java is most widely used programming language. It is present everywhere. It really doesn't matter which domain you are working in, you will surely come across Java sooner or later!
Open Source: The good news is that Java is available for free! All the development tools and the environment (JRE & JDK) that is used to develop Java applications are absolutely free of cost.
Android: Irrespective of the fact that you are tech savvy or not, most of us are badly bitten by the Android bug! Android is in great demand today and fortunately you need Java for Android development. Hence, the importance of Java has increased even more.
Hadoop: Hadoop is one of the most trending frameworks for processing Big Data. It has been designed and developed in Java.
In spite of having a tough competition on the server side from Microsoft and other companies, Java is doing extremely well on mobile platforms, thanks to Android! It has also been the primary language for Hadoop Developers.
-------------------------------------
Got a question on the topic?
Please share it in the comment section below and our experts will answer it for you.
For Java Training and Certification, please write back to us at sales@edureka.co or call us at IND: 9606058406 / US: 18338555775 (toll free).
detail
{'title': 'Advance Java Tutorial | J2EE, Java Servlets, JSP, JDBC | Java Certification Training | Edureka', 'heatmap': [{'end': 136.788, 'start': 97.908, 'weight': 0.766}, {'end': 1345.458, 'start': 1257.805, 'weight': 0.705}], 'summary': "This advanced java tutorial covers jdbc, servlets, jsp, and j2ee, emphasizing fundamental concepts, jdbc architecture, database creation, running queries using mysql, servlets' life cycle, creation process, and session tracking using apache tomcat and eclipse, as well as the advantages of java server pages (jsp) technology for web application development.", 'chapters': [{'end': 253.811, 'segs': [{'end': 68.742, 'src': 'embed', 'start': 11.237, 'weight': 0, 'content': [{'end': 11.998, 'text': 'Hello everyone.', 'start': 11.237, 'duration': 0.761}, {'end': 16.862, 'text': 'This is Neha from Edureka and I welcome you all to the session on advanced Java tutorial.', 'start': 12.078, 'duration': 4.784}, {'end': 19.705, 'text': "Let's take a look at the topics to be covered in this session.", 'start': 17.263, 'duration': 2.442}, {'end': 26.532, 'text': 'I have divided whole session into three main topics that is JDBC servlets and JSP in JDBC.', 'start': 20.226, 'duration': 6.306}, {'end': 31.356, 'text': 'I will tell you the fundamental concepts of JDBC and steps to create JDBC application.', 'start': 26.672, 'duration': 4.684}, {'end': 35.941, 'text': 'I will also be covering various types of drivers connections and statements.', 'start': 31.877, 'duration': 4.064}, {'end': 37.543, 'text': 'Along with an example.', 'start': 36.502, 'duration': 1.041}, {'end': 42.928, 'text': 'I will explain you how to connect to database and execute all the queries now coming to servlets.', 'start': 37.663, 'duration': 5.265}, {'end': 49.513, 'text': 'I will talk about life cycle of servlet and steps to create servlet along with an example and moving further to the discussion.', 'start': 43.068, 'duration': 6.445}, {'end': 55.679, 'text': 'I will also introduce you the concept of session tracking and cookies in the last section of our discussion.', 'start': 49.914, 'duration': 5.765}, {'end': 56.72, 'text': 'That is JSP.', 'start': 55.779, 'duration': 0.941}, {'end': 64.025, 'text': 'You will be seeing what is JSP its life cycle advantages of JSP over servlets and also JSP scripting elements.', 'start': 57.1, 'duration': 6.925}, {'end': 68.742, 'text': "Let's get started with the very first topic and understand what is advanced Java.", 'start': 64.659, 'duration': 4.083}], 'summary': 'Neha from edureka covers jdbc, servlets, and jsp in advanced java tutorial, including fundamental concepts, connections, servlet life cycle, session tracking, and jsp scripting elements.', 'duration': 57.505, 'max_score': 11.237, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ11237.jpg'}, {'end': 136.788, 'src': 'heatmap', 'start': 97.908, 'weight': 0.766, 'content': [{'end': 106.373, 'text': 'then one should be very well versed with Advanced Java fundamentals like JSP, serverless JDBC extra before we dive into JDBC.', 'start': 97.908, 'duration': 8.465}, {'end': 110.476, 'text': "Let's see different editions of Java and why it is used.", 'start': 106.773, 'duration': 3.703}, {'end': 112.517, 'text': 'first, Java to standard edition.', 'start': 110.476, 'duration': 2.041}, {'end': 119.682, 'text': 'It is basically used for standalone application like applets, desktop applications, form based applications, Etc.', 'start': 113.14, 'duration': 6.542}, {'end': 122.323, 'text': 'Next Java to Enterprise Edition.', 'start': 120.282, 'duration': 2.041}, {'end': 129.566, 'text': 'This can be used to develop server-side applications like say Java servlets next Java to micro edition.', 'start': 122.743, 'duration': 6.823}, {'end': 136.788, 'text': 'It runs on resource constrained devices like cell phones and it is basically for mobile applications like games Etc.', 'start': 130.145, 'duration': 6.643}], 'summary': 'Advanced java fundamentals include jsp, serverless jdbc. java has standard, enterprise, and micro editions for different applications.', 'duration': 38.88, 'max_score': 97.908, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ97908.jpg'}, {'end': 181.772, 'src': 'embed', 'start': 157.245, 'weight': 3, 'content': [{'end': 163.15, 'text': 'which provides a functionality that is necessary for developing multi-tiered web-based applications online.', 'start': 157.245, 'duration': 5.905}, {'end': 165.933, 'text': 'So why do we need J2W?', 'start': 163.831, 'duration': 2.102}, {'end': 169.356, 'text': 'it simplifies the complexity of building entire applications.', 'start': 165.933, 'duration': 3.423}, {'end': 178.97, 'text': 'It standardizes an API between components and application server container, and the application server and container provides a framework services,', 'start': 170.123, 'duration': 8.847}, {'end': 181.772, 'text': "and that's why we need Java to Enterprise Edition.", 'start': 178.97, 'duration': 2.802}], 'summary': 'J2w simplifies web app development, standardizes api, and provides framework services.', 'duration': 24.527, 'max_score': 157.245, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ157245.jpg'}, {'end': 227.022, 'src': 'embed', 'start': 203.351, 'weight': 4, 'content': [{'end': 211.694, 'text': 'So what is the architecture behind JDBC the JDBC API supports both two-tier and three-tier processing models for database access.', 'start': 203.351, 'duration': 8.343}, {'end': 217.815, 'text': 'but in general it consists of two layers that is JDBC API and the JDBC driver API.', 'start': 212.23, 'duration': 5.585}, {'end': 227.022, 'text': 'JDBC API provides the application to JDBC manager connection and the driver API supports the JDBC manager to driver connection.', 'start': 218.355, 'duration': 8.667}], 'summary': 'Jdbc api supports two-tier and three-tier models for database access.', 'duration': 23.671, 'max_score': 203.351, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ203351.jpg'}], 'start': 11.237, 'title': 'Advanced java concepts', 'summary': 'Provides an overview of advanced java concepts including jdbc, servlets, jsp, and j2ee. it emphasizes fundamental concepts, drivers, connections, and statements in jdbc, as well as the architecture and features of j2ee and jdbc, highlighting the need for learning advanced java for web application development.', 'chapters': [{'end': 49.513, 'start': 11.237, 'title': 'Advanced java tutorial overview', 'summary': 'Introduces the advanced java tutorial covering topics such as jdbc, servlets, and jsp, with a focus on fundamental concepts, drivers, connections, and statements in jdbc, as well as the life cycle and creation of servlets.', 'duration': 38.276, 'highlights': ['The session covers three main topics: JDBC, servlets, and JSP, with a focus on fundamental concepts, drivers, connections, and statements in JDBC.', 'Neha will explain the steps to create a JDBC application and cover various types of drivers, connections, and statements, along with an example.', 'The discussion will also include the life cycle of servlets and steps to create servlets, with practical examples.', 'The advanced Java tutorial will provide insights into connecting to a database and executing queries, emphasizing practical application and understanding.']}, {'end': 253.811, 'start': 49.914, 'title': 'Advanced java: jsp, jdbc, and j2ee', 'summary': 'Introduces the concepts of jsp, jdbc, and j2ee, emphasizing the need to learn advanced java for web application development and discussing the key features and architecture of j2ee and jdbc.', 'duration': 203.897, 'highlights': ['J2EE simplifies the complexity of building entire applications and standardizes API between components and application server container. J2EE simplifies application development and standardizes API for better interoperability, making it essential for web-based application development.', 'JDBC API supports both two-tier and three-tier processing models for database access. JDBC API supports both two-tier and three-tier processing models, providing flexibility in database access for Java applications.', 'JSP scripting elements and advantages of JSP over servlets are covered in the discussion. The chapter discusses JSP scripting elements and highlights the advantages of JSP over servlets, providing practical insights for web application development.']}], 'duration': 242.574, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ11237.jpg', 'highlights': ['The advanced Java tutorial will provide insights into connecting to a database and executing queries, emphasizing practical application and understanding.', 'Neha will explain the steps to create a JDBC application and cover various types of drivers, connections, and statements, along with an example.', 'The session covers three main topics: JDBC, servlets, and JSP, with a focus on fundamental concepts, drivers, connections, and statements in JDBC.', 'J2EE simplifies the complexity of building entire applications and standardizes API between components and application server container.', 'JDBC API supports both two-tier and three-tier processing models for database access, providing flexibility in database access for Java applications.', 'The discussion will also include the life cycle of servlets and steps to create servlets, with practical examples.', 'JSP scripting elements and advantages of JSP over servlets are covered in the discussion, providing practical insights for web application development.']}, {'end': 946.251, 'segs': [{'end': 377.508, 'src': 'embed', 'start': 348.992, 'weight': 2, 'content': [{'end': 353.613, 'text': "So the table got created now, let's insert values into the table.", 'start': 348.992, 'duration': 4.621}, {'end': 358.414, 'text': 'So to insert the values you can click on insert and go on specifying the values.', 'start': 354.393, 'duration': 4.021}, {'end': 363.595, 'text': 'And click on go.', 'start': 362.755, 'duration': 0.84}, {'end': 367.436, 'text': 'So the two rows of values got inserted.', 'start': 365.415, 'duration': 2.021}, {'end': 373.077, 'text': 'Okay, so this is how you can create the database and table and insert the values into that.', 'start': 368.016, 'duration': 5.061}, {'end': 377.508, 'text': 'Before we understand how to establish a connection to a database.', 'start': 373.886, 'duration': 3.622}], 'summary': 'Table created, 2 rows inserted, database connection next.', 'duration': 28.516, 'max_score': 348.992, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ348992.jpg'}, {'end': 510.109, 'src': 'embed', 'start': 485.239, 'weight': 3, 'content': [{'end': 495.163, 'text': 'basically, there are four types of drivers and they are JDBC, ODBC Bridge, JDBC native API, JDBC not pure and 100% Java pure first.', 'start': 485.239, 'duration': 9.924}, {'end': 495.883, 'text': "Let's see.", 'start': 495.463, 'duration': 0.42}, {'end': 497.724, 'text': 'What does JDBC ODBC Bridge?', 'start': 495.943, 'duration': 1.781}, {'end': 501.702, 'text': 'This is also called as a type 1 driver, where,', 'start': 498.359, 'duration': 3.343}, {'end': 510.109, 'text': 'in a JDBC Bridge is used to access Oracle database drivers installed on each client machine and using Oracle database connectivity.', 'start': 501.702, 'duration': 8.407}], 'summary': 'Four types of drivers in jdbc, including jdbc odbc bridge (type 1 driver) used to access oracle database drivers on client machines.', 'duration': 24.87, 'max_score': 485.239, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ485239.jpg'}, {'end': 655.267, 'src': 'embed', 'start': 631.192, 'weight': 0, 'content': [{'end': 638.437, 'text': 'This is a type 4 driver, which is a pure Java based driver that communicates with the vendors database to socket connection.', 'start': 631.192, 'duration': 7.245}, {'end': 644.44, 'text': 'This is the highest performance driver available for the database and is usually provided by the vendor itself.', 'start': 638.917, 'duration': 5.523}, {'end': 652.626, 'text': "This kind of driver is also extremely flexible by because you don't have to install special software on the client or server further.", 'start': 645.221, 'duration': 7.405}, {'end': 655.267, 'text': 'These drivers can be downloaded dynamically.', 'start': 653.146, 'duration': 2.121}], 'summary': 'Type 4 driver offers high performance and flexibility, downloadable dynamically.', 'duration': 24.075, 'max_score': 631.192, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ631192.jpg'}, {'end': 703.012, 'src': 'embed', 'start': 677.14, 'weight': 1, 'content': [{'end': 684.103, 'text': 'and if your Java application is accessing multiple types of databases at the same time, then type 3 is a preferred driver.', 'start': 677.14, 'duration': 6.963}, {'end': 699.15, 'text': 'and type 2 drivers are useful in situations where a type 3 or 4 driver is not available for your database and the type 1 driver is not considered as a deployment level driver and is typically used for development and testing purposes only.', 'start': 684.841, 'duration': 14.309}, {'end': 703.012, 'text': 'So this is all about the various driver types of JDBC.', 'start': 699.85, 'duration': 3.162}], 'summary': 'Java application should use type 3 driver for accessing multiple databases simultaneously.', 'duration': 25.872, 'max_score': 677.14, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ677140.jpg'}], 'start': 253.931, 'title': 'Jdbc and database drivers', 'summary': 'Covers jdbc architecture, database creation, and running queries using mysql, along with the various jdbc driver types, their functionalities, and usage, including recommendations for preferred driver types based on specific database access needs and situations.', 'chapters': [{'end': 440.45, 'start': 253.931, 'title': 'Jdbc architecture and database creation', 'summary': 'Covers jdbc architecture, database creation, and running queries using mysql, including steps to create a jdbc application and establish a connection to a database.', 'duration': 186.519, 'highlights': ['Steps to create a JDBC application The process involves importing packages containing JDBC classes, registering the driver, opening a connection, executing the query, extracting data from result set, and cleaning up the environment.', "Creating and inserting values into a database table in MySQL using XAMPP server Demonstrates the process of creating a database, creating a table, and inserting values into the table, with the example of creating an 'employee' database and inserting values into the 'EMP1' table.", 'Establishing a connection to a database Explains the steps to establish a connection to a database, including initializing a driver, opening a communication channel with the database, and creating a connection object representing a physical connection with the database.']}, {'end': 946.251, 'start': 440.53, 'title': 'Understanding jdbc driver types', 'summary': 'Covers the various jdbc driver types including their functionalities and usage, such as the jdbc odbc bridge, jdbc native api, jdbc not pure java, and the 100% pure java driver, along with recommendations for preferred driver types based on specific database access needs and situations.', 'duration': 505.721, 'highlights': ['The 100% pure Java driver is the preferred choice for high performance database communication and is recommended when accessing one type of database, such as Oracle, Sybase, or IBM.', 'The JDBC ODBC Bridge, also known as the type 1 driver, is now recommended only for experimental use or when no other alternative is available due to its limited support and functionality.', 'The JDBC native API, or type 2 driver, provides speed increase and is typically provided by database vendors, but it is becoming obsolete due to the need for changes if the database is modified.', 'The type 3 driver, known as the JDBC not pure Java, offers extreme flexibility for accessing multiple databases using a three-tier approach and requires no code on the client.', 'The preferred driver type for accessing multiple types of databases at the same time is type 3, while type 2 drivers are useful when type 3 or 4 drivers are not available for the database.', 'To establish a connection, the driver manager dot get connection method is used, allowing for connection creation using the database URL, username, password, and properties object.', 'It is required to explicitly close all the connections to the database at the end of the JDBC program, either using the connection dot close method or by providing a finally block in the code to ensure proper closure.', 'The JDBC statement, prepared statement, and callable statement interfaces define methods for sending SQL commands and receiving data from the database, with the prepared statement interface accepting input parameters at runtime.']}], 'duration': 692.32, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ253931.jpg', 'highlights': ['The 100% pure Java driver is the preferred choice for high performance database communication and is recommended when accessing one type of database, such as Oracle, Sybase, or IBM.', 'The preferred driver type for accessing multiple types of databases at the same time is type 3, while type 2 drivers are useful when type 3 or 4 drivers are not available for the database.', "Creating and inserting values into a database table in MySQL using XAMPP server Demonstrates the process of creating a database, creating a table, and inserting values into the table, with the example of creating an 'employee' database and inserting values into the 'EMP1' table.", 'The JDBC ODBC Bridge, also known as the type 1 driver, is now recommended only for experimental use or when no other alternative is available due to its limited support and functionality.', 'The type 3 driver, known as the JDBC not pure Java, offers extreme flexibility for accessing multiple databases using a three-tier approach and requires no code on the client.']}, {'end': 1268.373, 'segs': [{'end': 1054.936, 'src': 'embed', 'start': 946.631, 'weight': 0, 'content': [{'end': 955.314, 'text': 'This is used when you want to access the database stored procedures the callable statement interface can also accept runtime input parameters.', 'start': 946.631, 'duration': 8.683}, {'end': 963.413, 'text': "So this is all about the various JDBC statements Now, let's see how to create a connection to database and execute all the queries.", 'start': 956.075, 'duration': 7.338}, {'end': 970.294, 'text': "I'll open my Eclipse just a while before I told you how to create a database using XAMPP server.", 'start': 964.313, 'duration': 5.981}, {'end': 975.435, 'text': 'Now, we will see how to create database tables execute statements from the database.', 'start': 970.874, 'duration': 4.561}, {'end': 980.416, 'text': 'Also the statements that we have created from XAMPP server and so on first.', 'start': 975.895, 'duration': 4.521}, {'end': 987.638, 'text': 'I will create a new package called edureka1 and click on finish.', 'start': 981.057, 'duration': 6.581}, {'end': 993.038, 'text': "and now I'll click on the Edureka one package and create a class.", 'start': 988.655, 'duration': 4.383}, {'end': 998.06, 'text': 'I will give example as the name of the class and click on finish.', 'start': 993.058, 'duration': 5.002}, {'end': 1007.226, 'text': 'So what is the first step to create a JDBC application? We have to import the required packages that is import.', 'start': 999.481, 'duration': 7.745}, {'end': 1013.149, 'text': 'And we also have to import the sequel to driver manager.', 'start': 1010.268, 'duration': 2.881}, {'end': 1023.123, 'text': 'Now both the packages are imported First what we have to do we have to specify the driver name and the database URL.', 'start': 1016.011, 'duration': 7.112}, {'end': 1029.573, 'text': "So how to do that? I'll write the whole program and explain you how to do that.", 'start': 1023.404, 'duration': 6.169}, {'end': 1040.304, 'text': "So this is a complete program, that is, I've specified the JDBC driver that a sequel or JDBC dot driver and specified the database URL, that is,", 'start': 1031.036, 'duration': 9.268}, {'end': 1040.944, 'text': 'localhost.', 'start': 1040.304, 'duration': 0.64}, {'end': 1049.051, 'text': 'That is my IP and employee is my database that we have created just a while before and coming to database credentials.', 'start': 1041.405, 'duration': 7.646}, {'end': 1053.875, 'text': 'The username will be always root as I have not set any privileges for password.', 'start': 1049.171, 'duration': 4.704}, {'end': 1054.936, 'text': "I've kept it as blank.", 'start': 1053.975, 'duration': 0.961}], 'summary': 'Learn about jdbc statements, creating database tables, executing statements, and creating a jdbc application.', 'duration': 108.305, 'max_score': 946.631, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ946631.jpg'}, {'end': 1129.595, 'src': 'embed', 'start': 1095.14, 'weight': 2, 'content': [{'end': 1102.282, 'text': "all from the table that I have created, and I'm specifying result set to extract the data from the result that is using,", 'start': 1095.14, 'duration': 7.142}, {'end': 1108.585, 'text': 'while loop and retrieving the result by column name, that is, ID, age, first name and last name,', 'start': 1102.282, 'duration': 6.303}, {'end': 1112.427, 'text': 'and then displaying the values using system.out.print.', 'start': 1108.585, 'duration': 3.842}, {'end': 1116.328, 'text': 'and, as I have told, the last step is, we have to clean up the environment.', 'start': 1112.427, 'duration': 3.901}, {'end': 1118.369, 'text': "that is, I'm closing all the connections.", 'start': 1116.328, 'duration': 2.041}, {'end': 1126.693, 'text': "So in case if there are any errors that is SQL exception and all I'm just handling the errors here that is using catch and finally blocks.", 'start': 1119.13, 'duration': 7.563}, {'end': 1129.595, 'text': "Now, let's execute this and see.", 'start': 1127.874, 'duration': 1.721}], 'summary': 'Extracted data from table using while loop, displayed values, and handled sql exceptions.', 'duration': 34.455, 'max_score': 1095.14, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ1095140.jpg'}, {'end': 1179.27, 'src': 'embed', 'start': 1150.255, 'weight': 6, 'content': [{'end': 1156.32, 'text': 'Now if you want to create a database and table and insert the values right in this we can even do that.', 'start': 1150.255, 'duration': 6.065}, {'end': 1160.543, 'text': "So let's see how to do and modify the same program here.", 'start': 1156.66, 'duration': 3.883}, {'end': 1171.265, 'text': 'All these steps will be the same except this string SQL that is I will give creating table given in the database that is after this statement.', 'start': 1161.404, 'duration': 9.861}, {'end': 1179.27, 'text': 'It will execute the statement and then it creates a table with ID first name last name age Etc.', 'start': 1171.386, 'duration': 7.884}], 'summary': 'Demonstrates creating a table in a database and inserting values.', 'duration': 29.015, 'max_score': 1150.255, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ1150255.jpg'}], 'start': 946.631, 'title': 'Jdbc application basics', 'summary': 'Covers fundamental steps for creating a jdbc application, including specifying driver and database url, executing queries, and modifying database records using mysql.', 'chapters': [{'end': 998.06, 'start': 946.631, 'title': 'Jdbc statements and database connection', 'summary': 'Covers the usage of jdbc statements for database stored procedures and creating a database connection using xampp server, including creating tables and executing statements, highlighting the process of creating a new package and class in eclipse.', 'duration': 51.429, 'highlights': ['The chapter covers the usage of JDBC statements for database stored procedures and creating a database connection using XAMPP server.', 'Creating database tables and executing statements from the database.', "Creating a new package called edureka1 and a class named 'example' in Eclipse."]}, {'end': 1268.373, 'start': 999.481, 'title': 'Jdbc application basics', 'summary': 'Covers the fundamental steps for creating a jdbc application, including importing packages, specifying driver and database url, establishing connection, executing queries, handling errors, and accessing and modifying database tables and records using mysql.', 'duration': 268.892, 'highlights': ["The program specifies the JDBC driver and the database URL, using localhost and 'employee' as the database name. This highlights the initial step of specifying the JDBC driver and the database URL, crucial for establishing the connection to the database.", "The program establishes a connection using the specified driver manager, database URL, username, and password. This step is essential for connecting to the database and performing further operations, ensuring the program's functionality.", "The program executes a query to retrieve data from the 'employee' table and displays the results using a while loop and column names. This demonstrates the execution of a query to retrieve and display data from the database, showcasing the practical application of the JDBC application.", 'The program handles errors using catch and finally blocks, ensuring proper error management for potential SQL exceptions. This highlights the importance of error handling in the program, ensuring the robustness and reliability of the JDBC application.', 'The program shows the process of creating a table in the database, executing the statement, and confirming the successful creation of the table. This showcases the process of creating a table in the database, providing a comprehensive understanding of modifying the database structure.']}], 'duration': 321.742, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ946631.jpg', 'highlights': ["The program specifies the JDBC driver and the database URL, using localhost and 'employee' as the database name. This highlights the initial step of specifying the JDBC driver and the database URL, crucial for establishing the connection to the database.", "The program establishes a connection using the specified driver manager, database URL, username, and password. This step is essential for connecting to the database and performing further operations, ensuring the program's functionality.", "The program executes a query to retrieve data from the 'employee' table and displays the results using a while loop and column names. This demonstrates the execution of a query to retrieve and display data from the database, showcasing the practical application of the JDBC application.", 'The program handles errors using catch and finally blocks, ensuring proper error management for potential SQL exceptions. This highlights the importance of error handling in the program, ensuring the robustness and reliability of the JDBC application.', 'The chapter covers the usage of JDBC statements for database stored procedures and creating a database connection using XAMPP server.', 'Creating database tables and executing statements from the database.', 'The program shows the process of creating a table in the database, executing the statement, and confirming the successful creation of the table. This showcases the process of creating a table in the database, providing a comprehensive understanding of modifying the database structure.', "Creating a new package called edureka1 and a class named 'example' in Eclipse."]}, {'end': 1542.228, 'segs': [{'end': 1371.047, 'src': 'embed', 'start': 1338.459, 'weight': 0, 'content': [{'end': 1340.301, 'text': "We'll see the life cycle of servlet.", 'start': 1338.459, 'duration': 1.842}, {'end': 1345.458, 'text': 'The entire life cycle of a servlet is managed by the servlet container,', 'start': 1340.934, 'duration': 4.524}, {'end': 1351.784, 'text': 'which uses the Java X dot servlet dot servlet interface to understand the servlet object and manage it.', 'start': 1345.458, 'duration': 6.326}, {'end': 1359.451, 'text': 'stages of the servlet are loading and instantiation, initializing the servlet request, handling and destroying the servlet.', 'start': 1351.784, 'duration': 7.667}, {'end': 1363.655, 'text': "Let's look at each of the phases first loading a servlet.", 'start': 1360.172, 'duration': 3.483}, {'end': 1371.047, 'text': 'The first stage of the servlet lifecycle involves loading and initializing the servlet by the servlet container.', 'start': 1364.045, 'duration': 7.002}], 'summary': 'Servlet life cycle: loading, initializing, handling, and destroying by servlet container.', 'duration': 32.588, 'max_score': 1338.459, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ1338459.jpg'}, {'end': 1459.67, 'src': 'embed', 'start': 1435.436, 'weight': 2, 'content': [{'end': 1443.721, 'text': 'Now, if the servlet fails to initialize, then it performs servlet container by throwing servlet exception or unavailable exception.', 'start': 1435.436, 'duration': 8.285}, {'end': 1446.783, 'text': 'next, third step handling the request.', 'start': 1443.721, 'duration': 3.062}, {'end': 1451.785, 'text': 'after initialization, the servlet instance is ready to serve the client request.', 'start': 1446.783, 'duration': 5.002}, {'end': 1454.447, 'text': 'the servlet container performs the following operations', 'start': 1451.785, 'duration': 2.662}, {'end': 1459.67, 'text': 'That is it creates servlet request and servlet response objects in this case.', 'start': 1454.567, 'duration': 5.103}], 'summary': 'Servlet initialization failure leads to servlet container throwing exceptions; servlet then handles client requests.', 'duration': 24.234, 'max_score': 1435.436, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ1435436.jpg'}], 'start': 1268.893, 'title': 'Jdbc and servlets overview', 'summary': 'Discusses jdbc, covering the process of connecting to a database and creating statements. it also provides an in-depth understanding of servlets, including their definition, life cycle, and methods.', 'chapters': [{'end': 1542.228, 'start': 1268.893, 'title': 'Jdbc and servlets overview', 'summary': 'Discusses jdbc, highlighting the process of connecting to a database and creating statements, and then provides an in-depth understanding of servlets, including their definition, life cycle, and methods.', 'duration': 273.335, 'highlights': ['Servlet life cycle stages include loading and instantiation, initializing the servlet request, handling the request, and destroying the servlet. The entire life cycle of a servlet is managed by the servlet container, which uses the Java X dot servlet dot servlet interface to understand the servlet object and manage it.', 'Servlet container performs operations like loading the servlet class, creating an instance of the servlet, initializing the servlet object, handling the client request, and destroying the servlet. The servlet container performs various operations during the servlet life cycle, including loading, initializing, handling client requests, and destroying the servlet.', 'The servlet container invokes servlet.init method only once to initialize the servlet object, and it is used to initialize resources such as JDBC data sources. After the servlet is instantiated successfully, the servlet container initializes the instantiated servlet object by invoking servlet.init method, which is used to initialize resources such as JDBC data sources.']}], 'duration': 273.335, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ1268893.jpg', 'highlights': ['Servlet life cycle stages include loading, instantiation, initializing, handling request, and destroying servlet.', 'Servlet container manages servlet life cycle using Java X dot servlet dot servlet interface.', 'Servlet container performs operations like loading servlet class, creating instance, initializing servlet object, handling client request, and destroying servlet.']}, {'end': 2328.884, 'segs': [{'end': 1585.943, 'src': 'embed', 'start': 1542.849, 'weight': 0, 'content': [{'end': 1549.354, 'text': 'Remember that in it and destroy methods are called only once so this is all about the life cycle of servlet.', 'start': 1542.849, 'duration': 6.505}, {'end': 1553.202, 'text': 'Next, what are the steps to create simple servlet?', 'start': 1550.08, 'duration': 3.122}, {'end': 1562.646, 'text': 'first we have to create a dynamic web project and create a servlet, and then copy servlet class file and add the mappings to web.xml,', 'start': 1553.202, 'duration': 9.444}, {'end': 1569.61, 'text': 'and then we have to start the Apache Tomcat and then we have to run the servlet and start the web browser and request the servlet.', 'start': 1562.646, 'duration': 6.964}, {'end': 1574.852, 'text': "So let's see how to do that to create a servlet example or a servlet project.", 'start': 1570.23, 'duration': 4.622}, {'end': 1579.695, 'text': 'You need the advanced version of Eclipse that is Eclipse for Java Enterprise Edition.', 'start': 1574.993, 'duration': 4.702}, {'end': 1585.943, 'text': 'You can go to your Google and search Eclipse for Java developers.', 'start': 1580.501, 'duration': 5.442}], 'summary': 'Servlet life cycle includes creation and destruction; steps for creating a simple servlet involve creating a dynamic web project, adding servlet mappings, starting apache tomcat, and running the servlet in a web browser using eclipse for java ee.', 'duration': 43.094, 'max_score': 1542.849, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ1542849.jpg'}, {'end': 1688.587, 'src': 'embed', 'start': 1664.389, 'weight': 2, 'content': [{'end': 1670.235, 'text': 'unless and until you configure the build path and add the external charge like servlet API,', 'start': 1664.389, 'duration': 5.846}, {'end': 1673.519, 'text': 'your servlet program will not take any of the inbuilt methods.', 'start': 1670.235, 'duration': 3.284}, {'end': 1677.544, 'text': 'So servlet API is very essential for this now.', 'start': 1673.999, 'duration': 3.545}, {'end': 1678.905, 'text': 'Let me open my Eclipse.', 'start': 1677.604, 'duration': 1.301}, {'end': 1682.129, 'text': 'So now my server is all being set.', 'start': 1679.886, 'duration': 2.243}, {'end': 1684.645, 'text': "I'll click on file new.", 'start': 1682.924, 'duration': 1.721}, {'end': 1686.826, 'text': "I'll create a dynamic web project.", 'start': 1685.265, 'duration': 1.561}, {'end': 1688.587, 'text': 'This is a very first thing to do.', 'start': 1687.246, 'duration': 1.341}], 'summary': 'Configuring build path and adding servlet api is essential for servlet programs to use inbuilt methods. creating a dynamic web project in eclipse is the initial step.', 'duration': 24.198, 'max_score': 1664.389, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ1664389.jpg'}, {'end': 2034.502, 'src': 'embed', 'start': 2007.765, 'weight': 5, 'content': [{'end': 2015.35, 'text': 'If you click some big numbers also it will add see you are getting the output.', 'start': 2007.765, 'duration': 7.585}, {'end': 2022.455, 'text': 'So this is how your servlet usually works and make sure you always write three files that as index.html,', 'start': 2015.91, 'duration': 6.545}, {'end': 2026.677, 'text': 'web.xml file for the servlet mappings and adding.java.', 'start': 2022.455, 'duration': 4.222}, {'end': 2028.338, 'text': 'that is, your Java class file.', 'start': 2026.677, 'duration': 1.661}, {'end': 2032.281, 'text': 'only then the servlet application will be complete and you can execute the servlet.', 'start': 2028.338, 'duration': 3.943}, {'end': 2034.502, 'text': "Similarly, let's do one more thing.", 'start': 2032.941, 'duration': 1.561}], 'summary': 'Servlet application requires index.html, web.xml, and adding.java files to work properly.', 'duration': 26.737, 'max_score': 2007.765, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ2007765.jpg'}, {'end': 2245.731, 'src': 'embed', 'start': 2206.534, 'weight': 7, 'content': [{'end': 2208.275, 'text': 'it considered as a second new request.', 'start': 2206.534, 'duration': 1.741}, {'end': 2214.804, 'text': 'So basically this is what a session tracking is and in order to recognize a particular user we need session tracking.', 'start': 2208.982, 'duration': 5.822}, {'end': 2222.027, 'text': 'So these are the various session tracking techniques that has cookies hidden form field HTTP session and URL rewriting.', 'start': 2215.225, 'duration': 6.802}, {'end': 2231.091, 'text': "So in this we'll discuss what is cookies a cookie is a small piece of information that is persisted between the multiple client request.", 'start': 2222.628, 'duration': 8.463}, {'end': 2240.287, 'text': 'and cookie has a name a single value and optional attributes such as comment path and domain qualifiers like maximum age and a version number.', 'start': 2231.781, 'duration': 8.506}, {'end': 2241.808, 'text': 'So how cookie works?', 'start': 2240.707, 'duration': 1.101}, {'end': 2245.731, 'text': 'refer this diagram again, as it is a technique of session tracking.', 'start': 2241.808, 'duration': 3.923}], 'summary': 'Session tracking involves cookie, hidden form field, http session, and url rewriting to recognize a user, with a cookie persisting information between client requests.', 'duration': 39.197, 'max_score': 2206.534, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ2206534.jpg'}, {'end': 2337.753, 'src': 'embed', 'start': 2310.085, 'weight': 9, 'content': [{'end': 2317.33, 'text': 'and if you have to delete the value in the cookie, you have to again use the same technique, but instead of specifying the parameter object,', 'start': 2310.085, 'duration': 7.245}, {'end': 2318.732, 'text': 'you have to not specify anything.', 'start': 2317.33, 'duration': 1.402}, {'end': 2320.193, 'text': 'you have to delete that.', 'start': 2318.732, 'duration': 1.461}, {'end': 2325.457, 'text': 'and let me tell you one thing you have to set the maximum age to 0 and then add the response again.', 'start': 2320.193, 'duration': 5.264}, {'end': 2328.884, 'text': 'So by doing all this you can delete the value in the cookie.', 'start': 2326.121, 'duration': 2.763}, {'end': 2337.753, 'text': 'So, in order to know more depth about cookies, session tracking and servlets, please stay tuned for the next video on introduction to servlets.', 'start': 2329.484, 'duration': 8.269}], 'summary': 'To delete a cookie value, set maximum age to 0 and add the response again.', 'duration': 27.668, 'max_score': 2310.085, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ2310085.jpg'}], 'start': 1542.849, 'title': 'Servlet lifecycle, creation, and session tracking', 'summary': 'Details servlet lifecycle and creation process, including steps to create a servlet using apache tomcat and eclipse, creating servlets, html forms, servlet mappings, and implementing session tracking with cookies.', 'chapters': [{'end': 1791.997, 'start': 1542.849, 'title': 'Servlet lifecycle and creation process', 'summary': 'Details the lifecycle of a servlet, including the steps to create a simple servlet, such as creating a dynamic web project, configuring the build path, and writing the servlet code, using apache tomcat and eclipse for java enterprise edition.', 'duration': 249.148, 'highlights': ["The servlet lifecycle involves methods like init and destroy being called only once, emphasizing the importance of understanding the servlet's lifecycle. The init and destroy methods in the servlet lifecycle are called only once, highlighting the crucial understanding of the servlet's lifecycle.", 'The steps to create a simple servlet include creating a dynamic web project, adding the servlet class file, configuring the build path, and writing the servlet code. Creating a simple servlet involves steps such as creating a dynamic web project, adding the servlet class file, configuring the build path, and writing the servlet code.', 'Configuring the build path for the servlet program involves ensuring that the servlet API is present to utilize the inbuilt methods, emphasizing its essentiality. Configuring the build path for the servlet program requires ensuring the presence of the servlet API to utilize the inbuilt methods, highlighting its essentiality.', 'The process of creating a servlet project in Eclipse for Java Enterprise Edition involves selecting the appropriate runtime, module version, and specifying the project and class details. Creating a servlet project in Eclipse for Java Enterprise Edition includes selecting the appropriate runtime, module version, and specifying the project and class details.', 'Importing the servlet API as an external JAR into the build path ensures the availability of servlet-related functionalities in the servlet project. Importing the servlet API as an external JAR into the build path ensures the availability of servlet-related functionalities in the servlet project.']}, {'end': 2136.087, 'start': 1794.758, 'title': 'Creating servlet and html form', 'summary': 'Explains the process of creating a servlet and html form, including creating a simple form to add two numbers, setting up servlet mappings in web.xml, and creating a login page with validation for username and password.', 'duration': 341.329, 'highlights': ['The chapter explains the process of creating a servlet and HTML form, including creating a simple form to add two numbers, setting up servlet mappings in web.xml, and creating a login page with validation for username and password. It covers the steps involved in creating a servlet and HTML form, including setting up a form to add two numbers, setting servlet mappings in web.xml, and creating a login page with username and password validation.', 'The servlet application will be complete only when you write three files: index.html, web.xml file for servlet mappings, and adding.java, which is the Java class file. Emphasizes the importance of writing three essential files for a complete servlet application: index.html, web.xml for servlet mappings, and adding.java (Java class file).', "The process includes modifying the index.html file to create a login page with form action as 'login' and method as 'post', passing username and password as parameters, and specifying servlet name, class, and URL pattern in the web.xml file. Describes the steps involved in modifying the index.html file to create a login page, including setting form action as 'login', method as 'post', passing username and password as parameters, and specifying servlet name, class, and URL pattern in the web.xml file."]}, {'end': 2328.884, 'start': 2136.908, 'title': 'Servlet session tracking', 'summary': 'Discusses the creation of a simple servlet, its working, and the importance of session tracking in recognizing users, along with a detailed explanation of cookies as a session tracking technique, including its implementation and useful methods.', 'duration': 191.976, 'highlights': ['The chapter discusses the importance of session tracking in recognizing users and various session tracking techniques such as cookies, hidden form field, HTTP session, and URL rewriting. Session tracking is crucial in recognizing users, and the chapter details various session tracking techniques, including cookies, hidden form field, HTTP session, and URL rewriting.', 'The detailed explanation of cookies as a session tracking technique, including its implementation and useful methods like set maximum age, get name, get value, set name, and set value. The transcript provides a comprehensive explanation of cookies as a session tracking technique, covering its implementation and useful methods such as set maximum age, get name, get value, set name, and set value.', 'The process of creating and deleting a cookie, including specifying the username, adding the response in the cookie, and setting the maximum age to 0 for deletion. The transcript details the steps for creating and deleting a cookie, involving specifying the username, adding the response in the cookie, and setting the maximum age to 0 for deletion.']}], 'duration': 786.035, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ1542849.jpg', 'highlights': ["The servlet lifecycle involves methods like init and destroy being called only once, emphasizing the importance of understanding the servlet's lifecycle.", 'The steps to create a simple servlet include creating a dynamic web project, adding the servlet class file, configuring the build path, and writing the servlet code.', 'Configuring the build path for the servlet program involves ensuring that the servlet API is present to utilize the inbuilt methods, emphasizing its essentiality.', 'Creating a servlet project in Eclipse for Java Enterprise Edition includes selecting the appropriate runtime, module version, and specifying the project and class details.', 'Importing the servlet API as an external JAR into the build path ensures the availability of servlet-related functionalities in the servlet project.', 'The chapter explains the process of creating a servlet and HTML form, including creating a simple form to add two numbers, setting up servlet mappings in web.xml, and creating a login page with validation for username and password.', 'The servlet application will be complete only when you write three files: index.html, web.xml file for servlet mappings, and adding.java, which is the Java class file.', 'The chapter discusses the importance of session tracking in recognizing users and various session tracking techniques such as cookies, hidden form field, HTTP session, and URL rewriting.', 'The detailed explanation of cookies as a session tracking technique, including its implementation and useful methods like set maximum age, get name, get value, set name, and set value.', 'The process of creating and deleting a cookie, including specifying the username, adding the response in the cookie, and setting the maximum age to 0 for deletion.']}, {'end': 2629.715, 'segs': [{'end': 2372.434, 'src': 'embed', 'start': 2329.484, 'weight': 2, 'content': [{'end': 2337.753, 'text': 'So, in order to know more depth about cookies, session tracking and servlets, please stay tuned for the next video on introduction to servlets.', 'start': 2329.484, 'duration': 8.269}, {'end': 2339.715, 'text': 'next pros and cons of cookies.', 'start': 2337.753, 'duration': 1.962}, {'end': 2343.498, 'text': 'It is a very useful and easy technique to maintain the state.', 'start': 2340.535, 'duration': 2.963}, {'end': 2348.924, 'text': 'that is one of the advantage, and also it is maintained at client side, which is a very good advantage of this.', 'start': 2343.498, 'duration': 5.426}, {'end': 2355.752, 'text': 'and the cookie will not work if it is disabled from the browser and only textual information can be set.', 'start': 2349.725, 'duration': 6.027}, {'end': 2359.477, 'text': 'There is no any graphics or pictorial information being set on this.', 'start': 2355.933, 'duration': 3.544}, {'end': 2362.901, 'text': 'So these are some of the pros and cons of cookies.', 'start': 2360.058, 'duration': 2.843}, {'end': 2365.104, 'text': 'So this was all about servlets.', 'start': 2363.582, 'duration': 1.522}, {'end': 2372.434, 'text': "Now, let's move to the last part of today's discussion that does JSP which is known as Java server pages.", 'start': 2365.928, 'duration': 6.506}], 'summary': 'Servlets offer state maintenance, with pros like client-side storage and cons including disabled browser limitations. also, an introduction to java server pages (jsp).', 'duration': 42.95, 'max_score': 2329.484, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ2329484.jpg'}, {'end': 2464.128, 'src': 'embed', 'start': 2441.92, 'weight': 0, 'content': [{'end': 2451.143, 'text': 'Next easy to maintain JSP can be easily managed because we can easily separate our business logic with presentation logic and servlet technology.', 'start': 2441.92, 'duration': 9.223}, {'end': 2452.163, 'text': 'We cannot mix it.', 'start': 2451.303, 'duration': 0.86}, {'end': 2461.387, 'text': 'So it is bit complicated next fast development that is no need to recompile and redeploy if JSP page is modified.', 'start': 2452.704, 'duration': 8.683}, {'end': 2464.128, 'text': 'We do not have to recompile or redeploy the project.', 'start': 2461.447, 'duration': 2.681}], 'summary': 'Jsp allows easy management and fast development without recompilation or redeployment.', 'duration': 22.208, 'max_score': 2441.92, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ2441920.jpg'}, {'end': 2509.974, 'src': 'embed', 'start': 2487.719, 'weight': 4, 'content': [{'end': 2497.345, 'text': 'It follows many phases, that is, translation of JSP page using the JSP translator and then compilation of the page class loading, that is,', 'start': 2487.719, 'duration': 9.626}, {'end': 2500.367, 'text': 'the class loader loads, the class file instantiation.', 'start': 2497.345, 'duration': 3.022}, {'end': 2504.63, 'text': 'That is the object of the generated servlet is created initialization.', 'start': 2500.467, 'duration': 4.163}, {'end': 2509.974, 'text': 'That is the container invokes JSP in it method and same like servlet.', 'start': 2505.03, 'duration': 4.944}], 'summary': 'Jsp page goes through translation, compilation, and class loading before being invoked by the container.', 'duration': 22.255, 'max_score': 2487.719, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ2487719.jpg'}, {'end': 2578.828, 'src': 'embed', 'start': 2551.246, 'weight': 3, 'content': [{'end': 2555.708, 'text': 'the scripting elements provide the ability to insert Java code inside the GSP.', 'start': 2551.246, 'duration': 4.462}, {'end': 2559.911, 'text': 'There are three types at a scriptlet expression and declaration.', 'start': 2555.969, 'duration': 3.942}, {'end': 2564.755, 'text': 'First scriptlet tag it is used to execute the Java source code in GSP.', 'start': 2560.35, 'duration': 4.405}, {'end': 2566.456, 'text': 'That is you can see here.', 'start': 2565.115, 'duration': 1.341}, {'end': 2570.1, 'text': 'It is simply used for Java source code coming to expression.', 'start': 2566.556, 'duration': 3.544}, {'end': 2574.785, 'text': 'the code that is placed within the expression pack is written to the output stream of the response.', 'start': 2570.1, 'duration': 4.685}, {'end': 2578.828, 'text': 'So you need not have to write the out dot print to write the data.', 'start': 2575.525, 'duration': 3.303}], 'summary': 'Gsp allows inserting java code with three types of scripting elements: scriptlet expression, declaration, and tag.', 'duration': 27.582, 'max_score': 2551.246, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ2551246.jpg'}], 'start': 2329.484, 'title': 'Web technologies', 'summary': 'Discusses the advantages and disadvantages of cookies for maintaining state and client-side storage, and provides an overview of java server pages (jsp) technology, highlighting its benefits over servlets in terms of easier maintenance, faster development, and simpler life cycle.', 'chapters': [{'end': 2372.434, 'start': 2329.484, 'title': 'Cookies, session tracking, and servlets', 'summary': 'Covers the advantages and disadvantages of cookies, emphasizing its usefulness in maintaining state and client-side storage, and also briefly touches on servlets and jsp.', 'duration': 42.95, 'highlights': ['Cookies are a useful and easy technique to maintain the state, and they are maintained at the client side, which is advantageous.', 'One of the disadvantages of cookies is that they will not work if disabled from the browser and can only store textual information, without support for graphics or pictorial data.']}, {'end': 2629.715, 'start': 2372.995, 'title': 'Understanding jsp technology', 'summary': "Provides an overview of java server pages (jsp), highlighting its advantages over servlets, such as easier maintenance, faster development, and a simpler life cycle, as well as discussing jsp's translation to servlets, and the use of scripting elements.", 'duration': 256.72, 'highlights': ['JSP is an extension to servlet technology and provides more functionality, such as expression language and JSTL. JSP is an extension to servlet technology, providing more functionality like expression language and JSTL.', 'JSP allows for easy maintenance by separating business logic from presentation logic, unlike servlets. JSP enables easy maintenance by separating business logic from presentation logic, unlike servlets.', 'JSP enables fast development as modifications to JSP pages do not require recompilation or redeployment, unlike servlets. JSP allows for fast development as modifications to JSP pages do not require recompilation or redeployment, unlike servlets.', 'The life cycle of JSP involves phases like translation, compilation, class loading, instantiation, and initialization, following a similar structure to servlets. The life cycle of JSP involves phases like translation, compilation, class loading, instantiation, and initialization, following a similar structure to servlets.', 'JSP provides scripting elements like scriptlet, expression, and declaration, allowing insertion of Java code inside the JSP. JSP provides scripting elements like scriptlet, expression, and declaration, allowing insertion of Java code inside the JSP.']}], 'duration': 300.231, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/vJ-Zn4fo0MQ/pics/vJ-Zn4fo0MQ2329484.jpg', 'highlights': ['JSP enables fast development as modifications to JSP pages do not require recompilation or redeployment, unlike servlets.', 'JSP allows for easy maintenance by separating business logic from presentation logic, unlike servlets.', 'Cookies are a useful and easy technique to maintain the state, and they are maintained at the client side, which is advantageous.', 'JSP provides scripting elements like scriptlet, expression, and declaration, allowing insertion of Java code inside the JSP.', 'The life cycle of JSP involves phases like translation, compilation, class loading, instantiation, and initialization, following a similar structure to servlets.', 'One of the disadvantages of cookies is that they will not work if disabled from the browser and can only store textual information, without support for graphics or pictorial data.']}], 'highlights': ['The advanced Java tutorial will provide insights into connecting to a database and executing queries, emphasizing practical application and understanding.', 'The session covers three main topics: JDBC, servlets, and JSP, with a focus on fundamental concepts, drivers, connections, and statements in JDBC.', 'J2EE simplifies the complexity of building entire applications and standardizes API between components and application server container.', 'The discussion will also include the life cycle of servlets and steps to create servlets, with practical examples.', "The servlet lifecycle involves methods like init and destroy being called only once, emphasizing the importance of understanding the servlet's lifecycle.", 'The steps to create a simple servlet include creating a dynamic web project, adding the servlet class file, configuring the build path, and writing the servlet code.', 'The chapter discusses the importance of session tracking in recognizing users and various session tracking techniques such as cookies, hidden form field, HTTP session, and URL rewriting.', 'JSP enables fast development as modifications to JSP pages do not require recompilation or redeployment, unlike servlets.', 'JSP allows for easy maintenance by separating business logic from presentation logic, unlike servlets.']}