Desarrollo de componentes Web con Servelet & JSP

Programa del Curso(42 Horas)

Introduction to Web Applications
  • Web applications and their advantages
  • Architecture and components of Web application
  • Role of HTTP protocol and its methods used for accessing Web pages
  • Use of Common Gateway Interface (CGI) language
  • Different types of components used in developing Web application
  • Advantages and disadvantages of Servlets
  • Services provided by a Web container
  • Life cycle and directory structure of a Web application
  • Packaging Web application
  • Develop a Web application in NetBeans Integrated Development Environment (IDE)

Java Servlet
  • Servlet API
  • Servlet architecture and life cycle of Servlet
  • Methods of ServletRequest and HttpServletRequest interfaces
  • Methods of ServletResponse and HttpServletResponse interfaces
  • Use of response headers
  • Read text and binary data from a request
  • ServletConfig and ServletContext interface
  • Redirection of client requests
  • RequestDispatcher interface
  • Error handling in Servlet

Session Tracking
  • Stateless nature of HTTP protocol
  • Need of tracking client identity and state
  • URL rewriting method for session tracking
  • Use hidden form fields Use of Cookie class and its methods
  • Store and retrieve information in a session
  • HttpSession interface and its methods
  • Invalidate a session

Filters and Annotations
  • Working of filters
  • Benefits of filters Filter API interfaces and their methods
  • Wrapper classes
  • Alter a request and response using filters
  • Basic concept of annotations
  • Different types of annotations supported in Servlet API
  • Steps to upload the file using HTML form elements
  • Upload files on the server using Servlet

Database Access and Event Handling
  • Database handling using JDBC
  • Connecting database using JDBC
  • JPA and its role, Connecting database using JPA
  • Session handling and session events
  • Different types of listener interfaces used in Servlets

Asynchronous Servlet Communication
  • Asynchronous Servlet and Asynchronous Listener
  • Server push mechanism
  • Asynchronous JavaScript client using XMLHttpRequest object
  • Non-blocking I/O support in Servlet
  • Implement non-blocking I/O in asynchronous Servlet
  • Protocol upgrade

JavaServer Pages
  • JSP architecture
  • Various phases in the life cycle of a JSP page
  • Various scriptlet elements in JSP
  • Use of various directives in JSP

JSP Implicit Objects
  • Implicit objects in JSP
  • Request object
  • Response object
  • Out object
  • Session object
  • Application object
  • PageContext object
  • Page object
  • Config object
  • Exception object application

Standard Actions and JavaBeans
  • Standard actions in JSP
  • <jsp:include> element
  • <jsp:forward> element
  • <jsp:param> element
  • <jsp:plugin> element
  • <jsp:fallback> element
  • <jsp:text> element
  • Declare and access JavaBeans components in JSP
  • JavaBean properties from scripting elements
  • Access non-string data type properties from scripting elements
  • Access indexed properties from scripting elements

Model-View-Controller Architecture
  • JSP models in Web applications
  • JSP Model 1
  • JSP Model 2
  • Model-View-Controller architecture
  • Relationship between the components of MVC
  • Controller and its purpose in MVC
  • View and its purpose in MVC
  • Model and its purpose in MVC
  • Develop a Web application based on MVC architecture

JSP Expression Language
  • Use script expressions in JSP
  • Implicit objects used in EL
  • Operators used in EL
  • Create static method and tag library descriptor using EL
  • Modify deployment descriptor using EL
  • Access EL functions within JSP
  • Boxing and unboxing
  • Coerce a value to string or number type

JavaServer Pages Standard Tag Library
  • JSTL
  • Different tag libraries available in JSTL
  • Configure JSTL library in NetBeans
  • General purpose tags
  • Decision-making in the tags
  • Iteration tags in the core tag library
  • Different tags available in the SQL tag library

JSP Custom Tags
  • JSP custom tags in JSP
  • Custom tag libraries
  • Types of custom tags available in JSP
  • Create classic custom tags
  • Use of Tag Extension API
  • Simple Tags API


  • Unicode character set in internationalization
  • Resource bundling mechanism and resource bundle for various locales
  • Format dates in servlets for internationalization
  • Format currency in servlets for internationalization
  • Format numbers in servlets for internationalization
  • Format percentages in servlets for internationalization
  • Format messages in servlets for internationalization
  • JSTL internationalization tag library
  • Format dates and currencies using JSTL I18N tags
  • Format percentages and messages using JSTL I18N tags

Securing Web Applications
  • HTTP basic, digest, client, and form-based authentication method of ensuring security
  • Configure users in Tomcat
  • Specify authentication mechanisms using web.xml
  • Seven steps to implement declarative security
  • Five steps to implement programmatic security
  • HttpServletRequest methods for identifying users