18
Chapter 2 JRun Programming Model
JRun support for the three-tier model
You use JRun to implement J2EE applications for the middle tier of the three-tier model.
JRun completely supports the latest industry standards for developing enterprise
applications composed of the following:
•
Java Servlets
Java Servlets are server-side components written in Java that let you
add custom functionality to a web server. Servlets are ideally suited for web-based
applications because they support the HTTP request and response model and let you
access the EJB components used for data access and manipulation. For more
information on creating servlets, see
Chapter 4, “Using Servlets and JSP” on page 37
.
•
JavaServer Pages
JavaServer Pages (JSPs) let you create servlets from text files
containing a combination of HTML and scripting code. When a client requests a
JSP, the page is translated into a Java Servlet. The scripting portion of a JSP lets you
present dynamic content back to the client. In addition, you can access servlets,
custom tag libraries, and EJBs from JSPs. For more information on creating JSPs, see
Chapter 4, “Using Servlets and JSP” on page 37
.
•
Enterprise JavaBeans
EJBs let you develop and deploy reusable Java components
containing your business logic. The EJB specification defines a software component
model whereby you can deploy server-side application logic (enterprise beans) using
EJB-compliant application servers. JRun EJB support includes transaction and object
persistence, and a security service to control bean access. For more information on
creating EJBs, see
Chapter 5, “Introduction to EJB” on page 47
.
JRun lets you combine your business logic, implemented as EJBs, with presentation
logic, implemented as web applications, into a single J2EE application. The web
applications use servlets and JSPs to access the business logic contained within EJBs to
deliver dynamic content back to a web client.
Summary of Contents for 38000382 - Macromedia JRun - Mac
Page 1: ...Getting Started with JRun...
Page 16: ......
Page 68: ...54 Chapter 5 Introduction to EJB...
Page 82: ......
Page 110: ...96 Lesson 3 EJB Tutorial...
Page 128: ...114 Lesson 4 Web Services Tutorial...
Page 132: ...118 Index...