26
Chapter 2 JRun Programming Model
JRun support for J2EE applications
JRun completely supports the latest industry standards for developing J2EE applications,
including the following J2EE modules:
•
Web applications
•
EJBs
•
Enterprise resource adapters
•
Enterprise applications
JRun lets you deploy J2EE modules from expanded directories or from archive files. The
following table lists these components and files:
In a production environment, you deploy archive files for greater portability; whereas
during development, expanded directories provide greater flexibility and ease-of-use.
The following figure shows the components in a J2EE enterprise application:
Prior to deploying a component, you must package its constituent parts in the
appropriate directory structure, and create the component’s deployment descriptor. Each
component has a deployment descriptor. A
deployment descriptor
is an XML file that
describes the component. For example, an EJB deployment descriptor declares
transaction attributes and security authorizations for an enterprise bean. Because this
information is declarative, you can change it without requiring modifications to the
bean’s source code. At runtime, the J2EE server reads the information and acts upon the
bean accordingly.
Component
Archive file
web application
WAR (.war file)
EJB
JAR (.jar file)
enterprise resource adapters
RAR (.rar file)
enterprise applications
EAR (.ear file)
Содержание 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...