|
|
|
Enterprise Java
JSPs or Servlets--Which Architecture is Right for You?
SINCE THE INTRODUCTION of JSP technology, two architectures have emerged for building server-side Web applications in Java. The first involves JSPs only, and the second uses JSPs and Servlets together. Referred to as Model 1 and Model 2 architectures, respectively, each model has its advantages and disadvantages. The Model 2 architecture has become quite popular recently, and has received a great deal of coverage on the Web and in trade magazines. In fact, many developers mistakenly believe this architecture has replaced the Model 1 architecture and is the "right" way to use JSPs.
|
|
Understanding JavaServer Pages Model 2 architecture
By developing a familiar Web-based shopping cart, you'll learn how to utilize the Model-View-Controller (MVC) design pattern and truly separate presentation from content when using JavaServer Pages. Govind Seshadri shows you out how easy it can be
|
|
JSP Architecture
When Sun introduced Java ServerPages, some were quick to claim that Servlets had been replaced as the preferred request handling mechanism in web-enabled enterprise architectures. Although JSP is a key component of the Java 2 Platform Enterprise Edition (J2EE) specification, serving as the preferred request handler and response mechanism, we must investigate further to understand its relationship with Servlets
|
|
More on JSP Architecture
This chapter will examine a variety of ways to architect a system with JavaServer Pages, Servlets, and JavaBeans. We will see a series of different architectures, each a development of the one before. The diagram below shows this process in outline; the individual parts of the diagram will be explained in turn later in the chapter.
|
|
JAVASERVER PAGESTM
Powering the Web Experience with Dynamic Content
With JavaServer PagesTM (JSPTM) technology, Sun makes creating dynamic HTML and XML Web pages even simpler. JSP technology is a major extension of Java Servlet technology that makes building and maintaining dynamic pages much easier, and supports the distributed development model common in larger enterprises. JSP technology opens up dynamic pages to a wide range of page authors, while offering all of the benefits of the Java platform.
|
|
JSP Professional, Chapter 12 JSP/Servlets Architecture Quiz
This short quiz is based on JSP Professional: Chapter 12, JSP Architecture. Test your knowledge on the differences between servlets and JavaServer PagesTM (JSPTM), factor forward-factor back, page-centric versus the dispatcher approach, and more. Then read the source code and see how this quiz was developed.
|
|
JSP Architecture
The JDC is pleased to present two chapters from Professional JSP: Using JavaServer Pages, Servlets, EJB, JNDI, JDBC, XML, XSLT, and WML to create dynamic and customizable web content, by multiple authors (see below), and published in May 2000 by Wrox Press Ltd.
|
|
Case Study: J2EE, EJBs, and Tag Libraries
The JDC is pleased to present two chapters from Professional JSP: Using JavaServer Pages, Servlets, EJB, JNDI, JDBC, XML, XSLT, and WML to create dynamic and customizable web content, by multiple authors (see below), and published in May 2000 by Wrox Press Ltd.
|
|
|