Jsp & Servlets

CloudLabs

Projects

Assignment

24x7 Support

Lifetime Access

.

Course Overview

The JSP and Servlets training course teaches beginning and early intermediate Java developers how to build database-driven Web applications using JavaServer Pages and Java Servlets.

At the end of the training, participants will be able to:

  1. Design and build robust and maintainable web applications
  2. Create dynamic HTML content with Servlets and JavaServer Pages, using the JSP Standard Tag Library (JSTL)
  3. Make Servlets and JSP work together cleanly
  4. Use JSTL and other Custom Tag Libraries to separate Java and HTML code
  5. Access databases with JDBC
  6. Use Enterprise JavaBeans effectively from Servlets and JSP

Pre-requisite

All participants should be fluent in HTML and have a prior knowledge of object-oriented or object-based programming, as well as some knowledge of SQL and relational databases.

Duarion

5 days

Course Outline

  1. Java EE Overview
  2. Java EE Technologies
  3. Java EE Architecture
  4. MVC
  1. Web Application Basics
  2. – How the Web works, Thin Clients, TCP/IP
  3. – HTTP overview, Brief HTML review
  4. – Overview of Java EE, servlets & Web applications
  5. – Servlet Basics –
  6. Servlet API
  7. – HTML Forms
  8. – HTTP: Request-response, headers, GET, POST
  9. – Overview: How Servlets Work
  10. – tServlet Lifecycle: init(), service(), destroy()
  11. – ttRequests and responses
  12. – t
  13. – Core Servlet API: GenericServlet, ServletRequest, and ServletResponse
  14. – HTTP Servlets: HttpServletRequest, HttpServletResponse and HttpServlet
  15. – Accessing Parameters –
  16. Additional Servlet Capabilities
  17. – HTTP headers and MIME types
  18. – RequestDispatcher: Including and forwarding
  19. – Sharing data with the request object attributes
  20. – Sharing data with ServletContext attributes
  21. – Error Handling –
  22. JavaServer Pages
  23. – Basics and Overview
  24. – tJSP architecture
  25. – ttJSP tags and JSP expressions
  26. – ttFixed Template Data
  27. – ttLifecycle of a JSP
  28. – t
  29. – Model View Controller (MVC)
  30. – tModel 1/Model 2 Architecture
  31. – t
  32. – Data Sharing among servlets & JSP
  33. – tObject scopes or *buckets*
  34. – ttRequest, application, session and page scope
  35. – ttPredefined JSP implicit objects (request, session, application, page)
  36. – tt
  37. – tt,
  38. – tt, – t –
  39. Using Custom Tags
  40. – Custom tags overview
  41. – Reducing JSP complexity
  42. – Tag Libraries
  43. – tTag Library Descriptor (TLD)
  44. – ttLoading a tag library in a web app
  45. – t
  46. – The JSTL
  47. – JSP Expression Language (EL)
  48. – Using custom tags
  49. – tThe c:url, c:param, c:forEach, c:out tags – t –
  50. More JSP Capabilities and Session Management
  51. – HTTP as a stateless protocol
  52. – Hidden form fields
  53. – Cookies: Overview, API, Using cookies
  54. – Session overview: Cookies and session tracking
  55. – HttpSession
  56. – tPutting data into a session object
  57. – ttRetrieving data from a session object
  58. – t
  59. – Using session data in servlets and JSPs
  60. – Additional JSP Capabilities
  61. – tException handling and error pages
  62. – ttDirectives (page, include, others)
  63. – t
  64. – Import declarations
  65. – Multithreading considerations and data safety
  66. – tSingleThreadModel interface – t –
  67. Additional JSP Capabilities
  68. – JSP Directives
  69. – JSP Error Pages
  70. – JSP and Java
  71. – tDeclarations, Scriptlet overview, Scriptlet syntax – t –
  72. More JSTL
  73. – Overview of JSTL libraries
  74. – The JSTL Expression Language
  75. – tExpressions, Type Coercion, Operators, String concatenation, Implicit Objects
  76. – t
  77. – The Core JSTL Library
  78. – tGeneral Purpose: c:out, c:set, c:catch
  79. – ttConditional: c:if, c:choose
  80. – t
  81. – Overview of other capabilities –
  82. Additional Topics
  83. – Servlet Filter overview
  84. – tFiltering examples, lifecycle, & filter chains
  85. – ttFilter API, Modifying a request, Modifying a response
  86. – t
  87. – Struts Overview
  88. – tAdvanced MVC ??? Struts overview
  89. – ttCommand and State patterns
  90. – ttStruts View and Controller elements – t –
  1. Introduction
  2. Relational Database and JDBC Overview
  3. – Overview, Table Relationships, Web Based Data Access, JDBC Characteristics –
  4. JDBC Architecture, JDBC API Overview
  5. – DriverManager, JDBC Drivers
  6. – Naming databases with JDBC URLs –
  7. Connecting to a database
  8. – Connection interface, Establishing a connection –
  9. DataBaseMetaData
  10. Handling Database Exceptions
  11. Data Access
  12. – DAO ??? Data Access Objects, O-R Mapping, Value Objects
  13. – Processing Database Data
  14. – tExecuting statements, precompiled statements and stored procedures
  15. – ttProcessing ResultSets
  16. – ttDealing with None data
  17. – ttUpdating, inserting, retrieving data
  18. – ttControlling Transactions
  19. – t
  20. – JDBC Driver Types
  21. – DataSource
  22. – tJava EE and DataSource, Using JNDI
  23. – t
  24. – Connection Pooling
  25. – tOverview, Usage, Advantages – t –
  26. Advanced Topics
  27. – Other Database Access Technologies
  28. – tSQLJ, O-R Mapping Tools, JDO (Java Data Objects), EJB Entity Beans
  29. – t
  30. – Advanced JDBC Features
  31. – tBatch Updates, Scrollable Result Sets, Rowsets, User Defined Types, BLOBS, CLOBS – t –
  1. Database Integration
  2. – Web Architecture choices
  3. – Connecting servlets to a database via DataSource –
  4. EJB
  5. – Overview of EJB
  6. – High-level EJB architecture
  7. – Roles within EJB
  8. – Client view of a session bean
  9. – JNDI (Java Naming and Directory Interface)
  10. – Remote and Home Interfaces
  11. – Writing an EJB client
  12. Other Technologies
  13. – XML and Web Services
  14. – JMS ??? Java Message Service –
  15. Labs
  16. – Accessing a database from a servlet
  17. – Accessing an EJB from a servlet –
Accordion Content
Accordion Content
Accordion Content
Accordion Content
Accordion Content

Reviews