- Course Introduction
- Installing the Java Development Kit
- Windows only Java configuration
- Installing Eclipse IDE
- Registering your JDK with Eclipse
- Installing Glassfish Server and Eclipse tools for Glassfish
- Running Glassfish server
- Importing existing projects into Eclipse IDE
- Creating a Servlet (for adding passengers to a flight)
- Creating a JSP (for showing an add passenger form)
- Creating an HTML form in our JSP (for adding passengers)
- Adding static resources to our JSP for better styling
- Creating a Java class that represents a passenger on a flight
- Getting passenger form data into a new passenger object on form submission
- Validating the form values the user submitted
- Showing form error messages
- Handling successful passenger form submissions
- Creating a Servlet Context Listener and adding the passenger list to the context
- Synchronization and Thread Safety when adding new passengers
- Improving form validation
- Introduction to Enterprise Java Beans (EJB)
- Creating a Stateless Session Bean
- Injecting an EJB into a Servlet
- Nature of Stateless Session Enterprise Java Beans - part I
- Nature of Stateless Session Enterprise Java Beans - part II
- Looking up EJBs through Java Naming and Directory Interface (JNDI)
- Session Beans Implementing a Local Interface
- Session Beans Implementing a Remote Interface
- Stateful Session Enterprise Java Beans
- Differences between Stateful and Stateless EJBs
- Looking up Stateful EJBs through Java Naming and Directory Interface (JNDI)
- Singleton Session Enterprise Java Beans
- Differences between Singleton and Stateful Enterprise Java Beans
- Adding a Stateful bean to the Session Context through Session Context Listener
- Introduction to the Java Persistence API
- Starting the Derby (JavaDB) Database
- Creating a DataSource on the Glassfish server
- Connecting to the database with Eclipse
- Creating a Persistence Unit
- Creating a JPA Entity class for passengers
- Injecting an Entity Manager associated with out Persistence Unit
- Persisting a passenger object into the database
- Possible minor issue with Eclipse validation of our Persistence Unit
- Adding new JPA Entity classes for flight and airplane
- One to One relationship between Flight and Airplane
- Persisting objects in a One to One relationship (Flight and Airplane) - part I
- Persisting objects in a One to One relationship (Flight and Airplane) - part II
- One to Many relationship annotations (flights and its pilots)
- Persisting pilot objects - One to Many relationship groundwork
- Named Queries on Entity classes
- Using named queries to query by id
- Adding pilots to a flight - One to Many relationship completed
- Demo of the One to Many relationship between flight and its pilots
- Reading the list of available flights
- Creating a list of flights JSP
- Displaying in our flights JSP the pilots that belong to each flight
- Cascading and propogation of persist and remove actions
- Reading the list of all passengers
- Creating a list of passengers JSP
- Adding a JSP file of forms to add flights, passengers, pilots and airplanes
- Adding a flights through our JSP form
- Adding pilots to flights through our JSP form
- Demo of adding pilots to flights through our JSP form
- Many to Many annotations (flights and passengers)
- Groundwork to prepare our Servlets and EJBs for Many to Many operations
- Adding passengers through our JSP form
- Criteria queries of passenger and flight by id
- Completing adding a passenger to a flight (Many to Many)
- Demo of adding passenger to flight & Many to Many relationship discussion
- Displaying in the passengers JSP file the flight tickets that each passenger has
- Adding flight tickets to passengers (Many to Many) and demo
- Introduction to Web Services with JAX-RS
- Installing a REST client application in a browser
- Adding a REST web services entry point to our airline application
- Creating a JAX-RS manged class
- Exposing WS that return the list of flights & passengers in JSON & XML
- Exposing WS that return a specific flight or passenger by id in JSON and XML
- Handling Not Found exceptions in our web services
- Adding new passengers WS
- Updating a passenger WS
- Demo of updating a passenger WS
- Updating a passenger WS done in a different way
- Deleting a flight WS (& cascade deleting its airplane and pilots)
- Introduction to Maven
- Installing Maven
- First console Java application with Maven
- Using Maven dependencies
- Maven Goals, Phases and Lifecycles (in theory)
- Maven Goals, Phases and Lifecycles (in practice)
- Maven Servlets and JSP webapp
- Multimodule Maven app 1
- Multimodule Maven app 2
- Troubleshooting and Multimodule Maven app 3