Duration
5 days
Chapter 1 – Introducing Classes, Objects, and Methods
- Class Fundamentals
- How Objects Are Created
- Reference Variables and Assignment
- Methods
- Returning from a Method
- Returning a Value
- Constructors
- Parameterized Constructors
- Adding a Constructor to the Vehicle Class
- The new Operator Revisited
- Garbage Collection
- The this keyword
Chapter 2 – A Close Look at Methods and Classes
- Controlling Access to Class Members
- Pass Objects to Methods
- Returning Objects
- Method Overloading
- Overloading Constructors
- Understanding static
- Introducing Nested and Inner Classes
- varargs: Variable-Length Arguments
Chapter 3 – Inheritance
- Inheritance Basics
- Member Access and Inheritance
- Constructors and Inheritance
- Using super to Call Superclass Constructors
- Using super to Access Superclass Members
- Creating a Multilevel Hierarchy
- When Are Constructors Executed?
- Superclass References and Subclass Objects
- Method Overriding
- Overridden Methods Support Polymorphism
- Why Override Methods?
- Using Abstract Classes
- Using final
- The Object Class
Chapter 4 – Packages and Interfaces
- Packages
- Packages and Member Access
- Understanding Protected Members
- Importing Packages
- Java’s Class Library Is Contained in Packages
- Interfaces
- Implementing Interfaces
- Using Interfaces References
- Variables in Interfaces
- Interfaces Can Be Extended
- Default Interface Methods
- Use static Methods in an Interface
- Private Interface Methods
- Final Thoughts on Packages and Interfaces
Chapter 5 – Exception Handling
- The Exception Hierarchy
- Exception Handling Fundamentals
- The Consequences of an Uncaught Exception
- Using Multiple catch Statements
- Catching Subclass Exceptions
- Try Blocks Can Be Nested
- Throwing and Exception
- Using finally
- Using throws
- Java’s Built-in Exceptions
- Creating Exception Subclasses
Chapter 6 – Enumerations, Autoboxing, Static Import, and Annotations
- Enumerations
- The values() and valueOf() Methods
- Constructors, Methods, Instance Variables, Enumerations
- Autoboxing
- Type Wrappers
- Autoboxing Fundamentals
- Autoboxing and Methods
- Autoboxing/Unboxing Occurs in Expressions
- Static Import
- Annotations
Chapter 7 – Generics
- Generic Fundamentals
- A Simple Generic Example
- Bounded Types
- Using Wildcard Arguments
- Bounded Wildcards
- Generic Methods
- Generic Constructors
- Generic Interfaces
- Continuing Your Study of Generics
Chapter 8 – Lambda Expressions and Method References
- Introducing Lambda Expressions
- Block Lambda Expressions
- Generic Functional Interfaces
- Lambda Expressions and Variable Capture
- Throw an Exception from Within a Lambda Expression
- Methods References
- Constructor References
- Predefined Functional Interfaces
Chapter 9 – Database Applications with JDBC
- Defining the layout of the JDBC API
- Connecting to a database by using a JDBC driver
- Submitting queries and get results from the database
- Specifying JDBC driver information externally
- Performing CRUD operations using the JDBC API
Chapter 10 – Developing Components with JavaServer Pages Technology
- Describing JSP Page Technology
- Writing JSP Code Using Scripting Elements
- Writing JSP Code Using the Page Directive
- Writing JSP Code Using Standard Tags
- Writing JSP code using Expression Language
- Configuring the JSP Page Environment in the web.xml File
- Writing an Error Page by Using JSP
Chapter 11 – Developing JSP Pages by Using Custom Tags
- Designing JSP Pages with Custom Tag Libraries
- Using a Custom Tag Library in JSP Pages
- Describing JSTL Tags
Chapter 12 – Implementing Session Beans
- Types of session beans
- Stateful Session beans
- Stateless Session beans
- Singleton Session beans
- Choosing a Session bean type
- Session Bean clients
- Tasks of creating a Session bean
- Packaging and deployment
Chapter 1 – Struts Action and ActionForm
- ForwardAction
- DispatchAction
- MappingDispatchAction
Chapter 3 – Struts Error and Logging
- Struts <global-exception> to display the custom error page to user.
- Integrate Struts with Log4j logging framework to log the system exceptions and errors.
- Handling classic 404 error page in Struts.
Chapter 4 – Struts Misc
- Struts Localization
- Struts Validator Framework
- Struts Tiles Framework
Chapter 5 – Struts 2 Action and Form
- Working with Struts 2 actions
- Struts 2 ActionError & ActionMessage Example
- Struts 2 ModelDriven example
Chapter 6 – Struts 2 Interceptors
- Mapping interceptors to action
- Override the interceptor parameters
- Interceptor stack example
- Creating own interceptor
- execAndWait interceptor example
Chapter 7 – Struts 2 Tags
- Struts 2 UI Tags
- Struts 2 Control tags
- Struts 2 Data Tags
Chapter 8 – Struts 2 Misc
- Struts 2 Theme
Chapter 1 – Selecting Elements
- Selecting elements for manipulation
- Basic selectors
- Retrieving elements by their hierarchy
- Selecting elements using attributes
- Introducing filters
- Enhancing performances using context
Chapter 2 – Work with properties, attributes, and data
- Defining element properties and attributes
- Working with attributes
- Manipulating element properties
- Storing custom data on elements
Chapter 3 – Events are where it happens!
- Understanding the browser event models
- The jQuery Event Model
Chapter 4: Sending Data with Ajax
- Loading data on demand
- Choosing a data format
- Passing data to the server
- Delivering different content for Ajax requests
- Keeping an eye on the request
- Error handling
- Ajax and events
- Security limitations
- Exploring additional options
Programme scope, delivery arrangements and suitability are confirmed during enquiry.