Summary
95
Summary
In this tutorial lesson, you used EJBs to coordinate the process of booking a trip
reservation, including validating a credit card payment, and creating an order.
You learned how to invoke an EJB from a JSP and how to write an EJB that invokes
other EJBs. You looked at the code for a simple session bean and an entity bean. You also
learned how a session bean coordinates a transaction.
Tutorial lessons summary
In the tutorial lessons, you created a simple J2EE application for selecting a trip and
booking a reservation. Using JRun, you added an application server for the tutorial and
deployed the Compass tutorial application EAR file. In subsequent lessons, you coded a
Java Servlet and added Java code to JavaServer Pages (JSPs). You accessed a JavaBean and
EJB from a JSP. You learned how an EJB coordinates a transaction by invoking other
EJBs. Put together, these components comprise a simple, functional J2EE web
application.
What’s next?
For additional J2EE application coding techniques, start the JRun samples server, and
look at the Compass Travel application at
http://localhost:8200
. Examine the application
files in jrun_root/servers/samples/compass-ear.
You can proceed to the next lesson,
Lesson 4, “Web Services Tutorial” on page 97
, to
deploy a web application that uses web services to access and book adventure trips from
the Compass Travel sample application.
Содержание 38000382 - Macromedia JRun - Mac
Страница 1: ...Getting Started with JRun...
Страница 16: ......
Страница 68: ...54 Chapter 5 Introduction to EJB...
Страница 82: ......
Страница 110: ...96 Lesson 3 EJB Tutorial...
Страница 128: ...114 Lesson 4 Web Services Tutorial...
Страница 132: ...118 Index...