Web Development with Java Servlets and JSPs
Course length: 5 days
Prerequisites: Java Programming Introduction. Knowledge of HTML and background in Web applications experience is helpful.
Topics
-
- Explain the fundamentals of HTML and HTTP in the World Wide Web
- Describe JavaServer Pages and their relationship to servlets and J2EE generally
- Describe how a JSP is translated into a servlet and processed at runtime
- Explain the use of directives on JSPs and outline the principal directives
- Implement simple JSPs that use Java code in declarations, expressions and scriptlets
- Enumerate and use the implicit objects available to scripting elements
- Implement an interactive Web application using HTML forms and JSP
- Use Java exception handling and JSP error pages to handle errors in JSP applications
- Implement session management for a JSP application
- Manage cookies to store client-specific information at various scopes and durations
- Use JavaBeans to implement effective interactive JSP applications
- Describe custom tags in JSP and explain how they are implemented, both using Java and JSP itself, and how they are used
- Discuss threading issues in JSP and describe the use of directives to control how threading is handled
- Describe the various uses of XML in JSP applications
- Deploy a logical Web application to a Web server in a WAR file
- Describe the use of the JSP expression language to simplify dynamic page output
- Write JSP expressions and implement JSPs that use them in favor of scripts
- Implement JSPs that use basic JSTL actions to simplify presentation logic
- Decompose a JSP application design into fine-grained, reusable elements including JavaBeans, custom tag handlers and tag files that use JSTL
- Use core JSTL actions to complement standard actions, custom actions, and JSP expressions for seamless, script-free page logic
- Direct conditional and iterative processing of page content by looping through ranges of numbers, over elements in a collection, or over tokens in a master string
- Set locale and time zone information in JSPs, and use them to correctly format numbers, dates and times for all clients
- Use resource bundles to manage application strings, and produce the appropriate strings at runtime for a particular client locale
- Locate a data source, query for relational data, and parse result sets
- Perform updates, inserts and deletes on relational data using SQL actions
- Manage queries and updates in transaction contexts
- Derive information from parsed XML content using XPath expressions
- Implement conditional processing and loops based on XML information
- Apply XSLT transformations to XML content
- Implement a simple Web service that reads and writes SOAP
- Understand and appreciate the role of Java Servlets in the overall Java 2 Enterprise Edition architecture, and as the best Java solution to HTTP application development
- Use request and response objects provided to a servlet to read CGI parameters and to produce an HTML response
- Develop interactive Web applications using HTML forms and servlets
- Manage complex conversations with HTTP clients using session attributes
- Understand the role of JDBC in Java persistence code, and use JDBC for persistence in servlet applications
- Preserve portability and ease of administration for a servlet application by parameterizing servlet code, using initialization parameters, properties files, and JNDI
- Use JavaBeans classes to share complex business data between components
- Implement filters to adapt existing servlets with new features, and to maximize the decomposition of logic between vertical business functions and horizontal facilities
Return to Courses