
Web Development using Java Technologies
Build dynamic and secure web applications using Java-based technologies like JSP and Servlets.

Track
Software Development
Level
Advanced
Language
English
Duration
30 hours
Learning Mode
Learn at ALC or at Home
Introduction
- Classify the key features and components of web development tools, such as Tomcat server and Eclipse IDE.
- Describe the steps involved in installing and configuring Tomcat server and Eclipse IDE for web development.
- Identify the various implicit objects in JSP and explain their roles in Java web applications.
- Organize the practical examples of JSP tags into categories based on their functionalities.
- Reorganize the content within a JSP page to demonstrate the difference between jsp:forward and jsp:include.
- Summarize the usage of Java classes within Scriptlet tags and their impact on JSP code readability.
- Discuss the importance and practical applications of HTML in the context of web development.
- Explain the concepts of sessions and cookies in JSP, highlighting their significance in user data management.
- Compare and contrast the advantages and disadvantages of using JSTL versus traditional JSP tags.
- Report on the integration of JDBC (Java DataBase Connectivity) with Servlets, outlining the steps for executing SQL commands and displaying results.
What you'll learn ?
- By the end of the course, learners will be able to:
- Discriminate between various web development technologies, articulating their distinctive features and applications.
- Formulate conclusive insights into effective web design practices, drawing upon industry standards and creative solutions.
- Scrutinize web development code to inspect for quality, efficiency, and adherence to best practices.
- Illustrate and draw relationships within web architecture, deducing meaningful conclusions for optimized system design.
- Evaluate and appraise the effectiveness of User Experience (UX) design elements in web interfaces, ensuring user satisfaction.
- Present compelling arguments for robust security measures in web development, defending against potential threats and vulnerabilities.
- Assess and recommend performance optimization strategies, ensuring responsive and efficient web applications.
- Defend the importance of web accessibility and inclusivity, advocating for user-friendly experiences for diverse audiences.
- Estimate project timelines and resource requirements accurately, demonstrating a keen understanding of project management in web development.
- Exercise judgment in evaluating ethical implications of web solutions, fostering responsible and socially conscious web development practices.
Syllabus
Level 1
- Level 2
- Level 3
- Level 4
Introduction to Web Development
- Requirements
- Introduction to web applications
- Installing Tomcat server
- Installing Eclipse IDE
- Connecting Eclipse to Tomcat
Let us dive into JSP Programming
- The very first program of JSP
- JSP Tags
- Implicit objects in JSP
- Request implicit object of JSP
- JSP tags practical examples - Part 1
- JSP tags practical examples - Part 2
- Using import
- JSP tags practical examples - Part 3
- JSP tags practical examples - Part 4
- Including pages into a JSPpage
- Difference between jsp:forward and jsp:include
Using Java Classes in JSP
- Creating a Java class within the Scriptlet tag
- Using Products class within the Scriptlet tag
- Using Authors class within the Scriptlet tag
- Steps to write a java class outside JSP code
- Interest calculation class outside JSP code
- Students class outside JSP code
- Partial execution on the console window
- Using Eatables class outside the JSP code
- Using two paclkges in JSP code
- Using inheritance example in JSP code
Basic HTML
- Introduction to HTML
- Writing firs program
- Changing background color and text color
- Inserting headings
- Alignments of headings
- Paragraphs and pre-formatting tags
- Formatting tags
- Comments in HTML
- Drawing a horizontal line
- Inserting images
- Using hyperlinks
- Understanding HTML entities
- Examples of HTML entities
Some important tags in HTML
- Some more important tags
- Using style attribute for color and font size
- Div and span tags
- Marquee tag for scrolling text
- Unordered lists
- Subsists under unordered list
- Ordered lists
- Subsists under ordered list
- Definition list
- Creating tables
- Adding caption of a table
- Basics of HTML forms
JSP coding for reading data from forms
- Reading data from Textboxes
- Reading data from countries form
- Reading data from schools’ form
- Alternative to getParameter() method
- Reading data from laptops form
- Reading data from dropdown list
- Reading data from careers form
- Reading data from radio buttons (option buttons)
- Reading data from businesses types form
- Reading data from a single checkbox
- Reading data from a group of checkboxes
Sessions and Cookies in JSP
- Basics of session management
- Storing & retrieving from a session object
- Storing food items in a session
- Another practical example of sessions
- Concepts of cookies
- Storing & retrieving cookies
- Cookies for storing credentials of user
- Working with multiple cookies
- Storing courses names in cookies
JSP Standard Tag Library (JSTL)
- Basic concepts of JSTL
- Using <c:set> & <c:out> JSTL tags - Part 1
- Using <c:set> & <c:out> JSTL tags - Part 2
- Dairy products JSTL example
- Using <c:if> JSTL tag
- Testing grades examples
- Using <c:forEach> JSTL tag
- Printing reverse counting
- Using <c:choose>, <c:when> & <c:otherwise> JSTL tags
- Choosing examination centre example
JDBC in JSP
- Understanding DBMS, databases & tables etc.
- Getting familiar with JDBC API
- Steps for JDBC coding
- Downloading XAMPP for MySQL
- Alert ! Listen before you proceed
- Learning SQL - Part 1
- Learning SQL - Part 2
- Learning SQL - Part 3
JDBC in JSP (Contd.)
- How to create a database and tables using GUI in XAMPP
- Importing MySQL connector
- Executing SQL command select in JDBC code
- Displaying the rows in HTML table
- Executing SQL command insert in JDBC code
Introduction to Servlets
- Basics of servlets
- Difference between servlets and JSP
- Introduction to important classes and interfaces
- First servlet Program - Reading from an HTML form
- Employees servlet
- Creating an HTML form within a servlet
- Creating teachers form within a serfvlet
- Dealing with numbers in servlets
- Interest calculation servlet
Interaction between Multiple Pages
- Introduction to RequestDispatcher interface
- Coding with RequestDispatcher interface
- Introduction to SendRedirect method and difference from forward method
- *Coding with sendRedirect method
- *Working with hidden fields
- URL rewriting
- Passing voters’ details using URL rewriting
Cookies and Sessions in Servlets
- Introduction to cookies
- Writing and reading cookies
- Login and logout with cookies example
- Storing customer’s details in cookies
- Introduction to sessions
- Writing and reading session objects
- Storing students’ details in sessions
Context Parameters and Config Parameters
- Introduction to ServletContext and ServletConfig interfaces
- Storing and retrieving a single context parameter
- Storing & retrieving multiple context parameters
- Storing product details as context parameters
- Storing & retrieving a single config parameter
- Storing & retrieving multiple config parameters
- Storing train details as config parameters
Java DataBase Connectivity (JDBC) with Servlets
- JDBC code for select SQL statement
- Displaying the records of universities database
- JDBC code for insert SQL statement
- Inserting records in the citizen’s table
- JDBC code for delete SQL statement
- Deleting a university record
Work-Centric Approach
The academic approach of the course focuses on ‘work-centric’ education. With this hands-on approach, derive knowledge from and while working to make it more wholesome, delightful and useful. The ultimate objective is to empower learners to also engage in socially useful and productive work. It aims at bringing learners closer to their rewarding careers as well as to the development of the community.
- Step 1: Learners are given an overview of the course and its connection to life and work
- Step 2: Learners are exposed to the specific tool(s) used in the course through the various real-life applications of the tool(s).
- Step 3: Learners are acquainted with the careers and the hierarchy of roles they can perform at workplaces after attaining increasing levels of mastery over the tool(s).
- Step 4: Learners are acquainted with the architecture of the tool or tool map so as to appreciate various parts of the tool, their functions, utility and inter-relations.
- Step 5: Learners are exposed to simple application development methodology by using the tool at the beginner’s level.
- Step 6: Learners perform the differential skills related to the use of the tool to improve the given ready-made industry-standard outputs.
- Step 7: Learners are engaged in appreciation of real-life case studies developed by the experts.
- Step 8: Learners are encouraged to proceed from appreciation to imitation of the experts.
- Step 9: After the imitation experience, they are required to improve the expert’s outputs so that they proceed from mere imitation to emulation.
- Step 10: Emulation is taken a level further from working with differential skills towards the visualization and creation of a complete output according to the requirements provided. (Long Assignments)
- Step 11: Understanding the requirements, communicating one’s own thoughts and presenting are important skills required in facing an interview for securing a work order/job. For instilling these skills, learners are presented with various subject-specific technical as well as HR-oriented questions and encouraged to answer them.
- Step 12: Finally, they develop the integral skills involving optimal methods and best practices to produce useful outputs right from scratch, publish them in their ePortfolio and thereby proceed from emulation to self-expression, from self-expression to self-confidence and from self-confidence to self-reliance and self-esteem!