- Tel: +44 (0)1275 859666
EC31 - Java EE Server-Side Programming Workshop - 4 Days
Date | Location | Duration | Cost | Enrol | Enquiry |
---|---|---|---|---|---|
2022-10-03 | Virtual | 4 Days | £1500.00 (plus VAT) | Enquire |
Course Description
Customisation
For on-site courses (i.e. at your premises), we are more than happy to tailor the course agenda to suit your exact requirements. In many cases, we are able to build your in-house standards and naming conventions into the delivered course.
Course Details
- INTRODUCTION TO SERVER-SIDE PROGRAMMING
- Overview of Server side programming
- Servlets, Java Server Pages, Web Servers, Java Beans
- Model, View, Controller architecture
- Servlets, Java Server Pages, Web Servers, Java Beans
- DATABASE ACCESS
- What is JDBC?
- What alternatives are there? JDBC vs SQLJ
- How does JDBC work?
- JDBC Drivers and the JDBC API, Statements & Prepared Statements
- Working with data
- Accessing data - Working with Result Sets
- Handling Warnings, Errors and NULL Values
- Scalability Issues
- Transaction Control and Isolation Levels
- Configuring and using DataSources (using JNDI)
- What alternatives are there? JDBC vs SQLJ
- SQLJ
- SQLJ Programming - Development Cycle using DB2
- SQLJ Cursor Techniques
- SQLJ Cursor Techniques
- SERVLETS
- Servlet Overview
- Servlet vs CGI Advantages
- The Java Servlet API
- Servlet Life Cycle
- Multi-threading issues / pitfalls
- What Servlets Are
- Non-Http Servlets - Implementing the Servlet Interface
- Non-Http Servlets - Extending the GenericServlet class
- Http Servlets - Extending the HttpServlet class
- What Servlets do
- HTML Get and Post Requests & Catering for both
- Getting data to Servlets - the HttpRequest Object
- Sending HTML back to the client - the HttpResponse Object
- Using the Data sent to a Servlet
- Form Validation
- Data Validation
- Servlet Security
- Servlets can invoke other servlets
- Dispatching a Resource from within a Servlet
- Servlet vs CGI Advantages
- USING ECLIPSE/WSAD/RAD TO CODE SERVLETS (if applicable)
- The J2EE Heirarchy
- Web Projects, Where Servlets should go
- Creating Servlets
- Testing Web Applications
- Server Perspective, Servers, Server Configurations and Instances
- Debugging Servlets
- Web Projects, Where Servlets should go
- ACCESSING DATABASES VIA SERVLETS
- Servlets, JDBC and Connection Pooling
- DataSource Definitions and JNDI
- Getting Database Connections via a DataSource
- DataSource Definitions and JNDI
- DATA SCOPE / PERSISTENCE
- Variable Scope & Protection
- Servlet Multithreading - Instance variables are shared!
- Thread Safety - Synchronized Code
- What is Request Scope?
- Storing Objects for the lifetime of the Request
- What is Session Scope?
- Storing Objects for the lifetime of the Session
- Session Tracking using Cookies, URL Rewriting, HiddenFields
- Session Tracking API
- Session Creation and Lookup, Storing and Retrieving Session API Information, Lifecycle, session tracking without Cookie support
- Session Binding
- What is Application Scope?
- Sharing Data between different Servlets
- Servlet Multithreading - Instance variables are shared!
- JAVASERVER PAGES
- JSP Overview
- The Problem with Servlets - Why use JSPs?
- How JSP Pages Are Executed
- Writing a JavaServer Page
- JSP Tags, Directive Tags, Scripting Tags & Scriptlets, Action Tags
- JSP Pre-Defined Objects
- Including Static and Dynamic Content
- Forwarding execution to Servlets, JSPxxs or HTML pages.
- JSP Initialisation and Cleanup
- The Problem with Servlets - Why use JSPs?
- USING ECLIPSE/WSAD/RAD FOR JSP DEVELOPMENT (if applicable)
- Overview
- HTML Page Designer, Creating and editing HTML files
- Testing JSPs
- Testing and Debugging JSPs
- HTML Page Designer, Creating and editing HTML files
- JSP DESIGN PATTERNS
- MVC Architecture
- Where are JSPs used?
- Other JSP Design Patterns
- Where are JSPs used?
- MORE JSP CAPABILITIES
- JavaBeans
- Using JavaBeans
- Form / Bean / JSP Interaction
- Variable and JavaBean Scopes
- Invoking a JSP from a Servlet
- Passing Objects from Servlet to JSP
- Passing JavaBeans from Servlet to JSP
- Error Handling and JSP Error Pages
- Full Shopping Cart Example
- Using JavaBeans
- CUSTOM TAG OVERVIEW
- Why use Custom Tags?
- How are Custom Tags implemented?
- Custom Tag Elements, the Tag Library Descriptor (TLD)
- The Tag Handler Class, using JavaBeans to Implement Tags
- How are Custom Tags implemented?
- TAG FILES
- Defining tag files
- Using Tag Files in your JSP
- Using Tag Files for Simple Templating
- Using Tag Files in your JSP
- JAVASERVER PAGES STANDARD TAG LIBRARY (JSTL)
- JSTL Expression Language
- Core Tags
- Internationalisation (I18N) Tags
- Functions
- Core Tags