From the course: Learning Java Enterprise Edition

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

EJB in practice

EJB in practice - Java EE Tutorial

From the course: Learning Java Enterprise Edition

Start my 1-month free trial

EJB in practice

- [Narrator] In this video, we turn our attention to the use of EJBs in the Cargo Tracker application, and see how EJBs are used to manage the essential logic of the cargo booking feature of the application, and how all booking-related functionality is encapsulated in one EJB. We're going to see the use of stateless session beans, and take a quick look at Singleton. We're going to go back to the Administrative Interface, where cargo bookings are made. Various things are handled here. You can see the cargo that has just been routed, cargo that has not been routed, and cargo that is currently unclaimed. In the Routed section, we can inspect the route that the cargo is booked to take. So for example here, we can see the routes that the cargo is expected to take. So let's actually go and book a cargo into the system. So first of all we need to select a location. Then we need to select a destination. We're going to choose Helsinki. And let's choose a date. We'll choose this weekend. And…

Contents