In this training course, you acquire the experience needed to implement high-performing, scalable, and secure web-based applications, and learn how Java Enterprise Edition (Java EE) offers a simple and comprehensive approach to building state-of-the-art enterprise applications.
- Three to six months of Java programming experience
- You should have:
- An understanding of Java classes and the inheritance model
- The ability to use standard Java APIs
- Basic working knowledge of XML
- Familiarity with intranet/internet development technologies, such as HTML, HTTP, and TCP/IP
Java Web Application Development Training Delivery Methods
- After-course instructor coaching benefit
- Learning Tree end-of-course exam included
- After-course computing sandbox included
Java Web Application Development Training Course Benefits
Build robust, data-driven web applications by integrating key components of Java EE.Create dynamic, session-managed, data-driven web applications with Java servlets.Build dynamic web page views with JSP.Implement the MVC design pattern for Java web applications.Use listeners to initialise web sessions and applications.Employ best practises for storing application data.Use database connection pools to reduce latency.Lock down a web application using container managed security.
Java Web Application Development Course Outline
Web application development
- The requirements of a web application
- Components of an n-tier architecture
Getting started with servlets
- Integrating servlets into the web application architecture
- Configuring the servlet development environment
- Avoiding common servlet pitfalls
Utilising the Java Servlet API
- Servlet life cycle methods
- Accessing servlet environment variables
Creating web-based forms for user input
- Adding text fields and drop-down lists
- Retrieving form data in the servlet
Harnessing Data Access Objects with Java Database Connectivity
- Connecting to the database
- Resource Injection
- Submitting SQL statements
- Retrieving and processing data
Formatting database results
- Constructing an HTML table
- Latency Considerations
- Database Connection Pooling
Writing cookies to personalise web content
- Retrieving cookies from a client request
- Sending cookies to the client
- Circumventing cookie limitations
Managing application state with sessions
- Creating a unique session for each user
- Storing and retrieving Java objects within sessions
- Controlling a session's life span
- Creating application and session event listeners
- Implementing a shopping cart
Key components of Java EE for web development
JSP fundamentals
- Using JSP scriptlets, expressions and declarations
- Communicating with the client using built-in JSPserver objects
- Leveraging the JSP 2 Expression Language (EL)
State management with JSP
- Accessing cookies and sessions
- Storing common application data
Integrating JSP and JavaBeans
- Promoting object reuse
- Separating application logic from the presentation
Calling JSP from servlets
- Forwarding Java objects to JSP
- Using request, session, and application objects to store data
- Servlet and JSP design patterns
Managing configuration parameters with the deployment descriptor
- Generating the WAR file
- Using the hot-deploy directory
Developing custom tags
- Creating custom tags with JSP 2 tag files
- Customising tag behaviour with attributes
Defining security requirements
- Identifying the security realm
- Applying security constraints
- Leveraging Transport Layer Security
Implementing Container-Managed Security
- Defining security requirements
- Identifying the security realm
- Applying security constraints
- Leveraging Transport Layer Security