Java Web JSP / Servlets Development and Database Design
4.2 (36 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,418 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Java Web JSP / Servlets Development and Database Design to your Wishlist.

Add to Wishlist

Java Web JSP / Servlets Development and Database Design

JSP / servlet development of an Q&A Java web project. Complete knowledge kit to highest salaries!
4.2 (36 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,418 students enrolled
Created by Talha Ocakçı
Last updated 10/2015
English
Current price: $10 Original price: $20 Discount: 50% off
1 day left at this price!
30-Day Money-Back Guarantee
Includes:
  • 6 hours on-demand video
  • 2 Articles
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Learn JSP / Servlet technologies
  • Understand Database Design Methodologies
  • Understand Common Practices for Solving Problems
  • Learn best architectures
  • Learn design patterns and apply them to project
View Curriculum
Requirements
  • Basic Java Knowledge
  • Will to be a professional but not a lamer
  • Basic HTML knowledge
Description

[ALL SOURCE CODE AND DATABASE SCRIPTS ARE INCLUDED - YOU CAN TRACK THE LAST PRODUCT AT THE END OF EACH CHAPTER ]

[GREAT TIPS ADDED THAT RARELY KNOWN BY BEGINNERS TO MAKE YOU SHINE IN YOUR TEAM]

This course will make you understand the basics of JSP / servlet technlogies, designing a relational database, DB operations, design patterns, working with other developers and let you know the must-do operations in professional projects such as performance increasing, logging errors.

If you want to develop a web-site in a couple of hours without understanding what you are doing, you may go ahead and find other resources. But if you really want to understand what you are doing and learn the theory at the same time, this course will be a great oppurtunity for you. You will develop a real working project. Yow will first write quick and dirty code then you will apply professional patterns one by one while investigating the problems.

You will walk through a real development flow:

1- Write a quick and dirty code for doing the job.

2- You will design database tables and high performance queries

3 - You will apply design patterns to make the code reusable and high performance.

Who is the target audience?
  • Developers who know basic Java and want to move on web development
  • Developers who want to learn DB design principles
  • Developers who want to learn basic DB operations
  • Developers who want to learn design patterns
Students Who Viewed This Course Also Viewed
Curriculum For This Course
Expand All 40 Lectures Collapse All 40 Lectures 06:00:33
+
Principles of web development and J2EE
13 Lectures 01:02:57

You may download the full source code at https://www.dropbox.com/s/ag8wuncgzdwbs67/QA_Pro_Final_Before_beautify.zip?dl=0

This covers all the lectures and the finalized version of the code.

For intermediate lecture codes, you may check the attachments in the lectures.

Happy learning!



Source code
00:08

  1. Simplest form of web applications
  2. Definitions for servlet and Java Server Page (JSP)
  3. Web application servers and servlet containers
  4. Why we need web application servers?
Preview 06:24

What tools and softwares we will use for development

Preview 02:05

  1. Create QA_Pro web application in Eclipse
  2. Introduction to web application structure
General structure of the Java web project
06:30

  1. What is HttpServlet?
  2. How HttpServlet acquires data from GET and POST methods?
  3. How HttpServlet respond to HTTP calls?
HTTP servlets in details
06:58

  1. Using deployment descriptor for servlet mapping
  2. Deploying web application to Apache Tomcat
  3. Requesting a resource by GET method
web.xml deployment descriptor and deploying the application to servlet container
06:55

  1. Handling a post request
  2. Write HTML output to servlet response
Using HTTP post methods in JSP and servlet
05:52

HTTP Methods
3 questions

  1. Writing Java code inside JSP file by scriptlets
  2. Accessing web application's special object by using implicit objects of JSP
  3. Forwarding a response to a JSP file
HttpServletResponse object and accessing it with scriptlets
05:43

  1. Application, session and request scopes and their relations
  2. HttpSession object
  3. Demonstration of session with JSESSIONID values
Request, session and application scopes
05:51

This aplication counts that how many times a servlet method is invoked from a specific client

Demonstration of session scope
01:59

Navigate users between JSPs and servlets by forwarding or redirecting

Request forwarding and request redirection
05:37

In JSP files you shoud not use naked Java code.

Instead, you need to access server side objects by JSP actions.

This chapter is about how to access objects in request, session, application scopes.

JSP actions (get/set property) to access objects in every scope easily
05:42

A quick application to see everything we have learnt in action so far.

getBean()/setBean() scriptlets and getAttribute()/setAttribute methods in action
03:13
+
WORKING WITH DATABASES
8 Lectures 01:14:56
Executing DB script and downloading source code
00:10

Database Management Systems

Why we need them?

What points we should care while designing database tables?

Preview 11:41

Database Design Basics
3 questions

In this chapter, we will learn select, insert, delete and update queries with a solid scenario, user registration system.

select, insert, delete, update queries
17:36

Learn DB connections

Better memory usage by pooling the connections

Database connections, JDBC basics and DB connection pools
04:09

Database transactions - All or nothing principle
03:08

Transactions must meet some requirements for multiple user synchronization.

They are known as ACID rules which stands for Atomicity, Consistency, Isolation and Durability

These are hard to understand concepts. This chapter demonstrates each one in the simplest way.

Enjoy it!

ACID properties of database transactions
09:15

You will learn database table relations with solid implementation of our user role management module.

DB table relations - One to many, many to many with example scenario
12:00

You can query for different properties of an entity form different tables one by one and then join them.

But this would be so slow and consumes so much memory. Instead of this, we join tables with special keywords. Lets learn them.

Joining tables - Inner join, outer join with examples
16:57
+
CODING OUR QA PLATFORM
9 Lectures 01:43:16
Understanding the flow that we will code
06:05

Get DB connection with JDBC - Use case: User management module
08:44


Statement and PreparedStatement - Use case: User Management Module
17:23

Select queries, count queries and ResultSet object with examples
10:33

Initializing DB connection pools on application bootstrapping
17:51

Database Connection Pools
3 questions

Showing the results of DB operations to the user
12:17

Developing complete email validation system
14:36

Developing complete login system
13:07
+
Design Patterns and Applying Them to QA Project
9 Lectures 01:38:25
Definition and importance of design patterns
08:43

Design Patterns
3 questions

Template pattern and Data Access Object (DAO) pattern
11:32

DAO pattern and template pattern
4 questions

Coding DAO pattern, template pattern, dynamic SQL values and row mappers
12:36

Code walkthrough 1 - Search for a member in member DAO
09:23

Code walkthrough 2 - Insert a member in member DAO
03:42

Combining DAO and service layers
11:17

We will start cleaning up our servlet code. Servlet code will get the parameters from the request, create a transfer object, send it to related service method and redirect the user to a proper page according to the result of the service method. That's all. There should not be further complexity inside a servlet.

Combining service layer and view layer
06:29

Code walkthrough 3 - Integrated view layer, service layer, DAO layer
17:33

+
MAKE THE PROJECT WEB 2.0
1 Lecture 20:55
About the Instructor
Talha Ocakçı
4.6 Average rating
109 Reviews
2,149 Students
3 Courses
Java SE, Java EE and Android Trainer

I have bachelor and Msc degree on computer science engineering from one of the best universities in Turkey, Yeditepe University.

I have been working as software architecture for more than 6 years and developed many scalable, reusable CRM, e-state, campaign management systems in companies like Huawei, Ebay Turkey and Nortel Netas. I am specialized in JSF 2.0 and PrimeFaces,Struts 2.0 and Spring MVC for MVC structure, Spring for dependency injection, Hibernate for ORM, Oracle, PostgreSql as RDBMS, MongoDB for NoSQL, EhCache for caching, Android Programming, Semantic Web Programming.

I have taught Java EE, JSP/ Servlet basics and Android Programming to many colleagues in several companies like Huawei, EBay Turkey and universities like Yeditepe University.