Catálogo de publicaciones - libros

Compartir en
redes sociales


Pro JSP 2

Simon Brown Sam Dalton Daniel Jepp David Johnson Sing Li Matt Raible

Fourth Edition.

Resumen/Descripción – provisto por la editorial

No disponible.

Palabras clave – provistas por la editorial

Software Engineering/Programming and Operating Systems

Disponibilidad
Institución detectada Año de publicación Navegá Descargá Solicitá
No detectada 2005 SpringerLink

Información

Tipo de recurso:

libros

ISBN impreso

978-1-59059-513-8

ISBN electrónico

978-1-4302-0111-3

Editor responsable

Springer Nature

País de edición

Reino Unido

Fecha de publicación

Información sobre derechos de publicación

© Apress 2005

Tabla de contenidos

The Anatomy of JavaServer Page

Simon Brown; Sam Dalton; Daniel Jepp; David Johnson; Sing Li; Matt Raible

Hopefully this chapter has provided you with a general feel for where JSP technology fits within the Java Platform, Enterprise Edition 5, and how it fits with regard to the other web components such as servlets, tag libraries, and JavaBeans, which exist in the web tier for providing dynamic web-based content.

You were also introduced to some of the most popular JSP architectures that are regularly used for designing modern web applications so that you can see the bigger picture next time you’re confronted with design choices. Or maybe this chapter will help you analyze an existing application.

Last, and most important, you were introduced to all the core syntax-level attributes that are available to a JSP page author, including custom actions and the JSTL. This grounding will give you a head start when approaching some of the more complex chapters, which will build on the JSP basics that you’ve learned so far.

Pp. 1-43

Servlets and Development

Simon Brown; Sam Dalton; Daniel Jepp; David Johnson; Sing Li; Matt Raible

This chapter has covered a very large subject area in a very short space. It is intended as an overview, and you are encouraged to explore more detailed texts on the subjects that it contains. You’ve seen that the Java Servlet API allows you to build platform-independent server-side Java components to handle user requests. You’ve also seen that servlets are protocol-independent but that they can be developed for specific protocols, particularly HTTP.

You’ve also looked at the deployment of servlet-based web applications, with particular attention paid to the deployment descriptor. You’ve seen how the deployment descriptor describes servlets to the container. You’ ve learned about the new deployment-descriptor elements that support the configuration of JSP 2.1 pages. These elements provide the ability to enable and disable the EL and scripting as well as the ability to automatically include other pages at the start and end of a group of JSP pages.

Pp. 45-93

The JavaServer Pages Expression Language

Simon Brown; Sam Dalton; Daniel Jepp; David Johnson; Sing Li; Matt Raible

In this chapter, you’ve looked at the JSP EL. This EL is largely intended to replace scriptlets and to be used in combination with custom tags.

You’ve examined the following topics in this chapter:

In the next chapter, you’ll learn about the JSTL and the tags contained within it.

Pp. 95-134

JavaServer Pages Standard Tag Library

Simon Brown; Sam Dalton; Daniel Jepp; David Johnson; Sing Li; Matt Raible

In this chapter, you’ve learned about the reasons for the creation of the JSTL and about its dependencies on the Java Servlet and JSP specifications. You’ve taken an in-depth look at the actions provided by the individual tag libraries that collectively form the JSTL.

Here’s a quick recap of the topics covered:

After reading this chapter, you should be able to appreciate some of the drawbacks that developers came across before the release of the JSP 2.1 specification. Cluttering JSP pages with too much scriptlet code makes them hard to read and less maintainable. Because one of the primary goals of JSP 2.1 is to make JSP pages easier to write, the JSTL perfectly embodies this ideology and can be used to provide reusable, easy-to-maintain functionality for many simple, everyday tasks that JSP page authors are faced with.

After reading this chapter, you should immediately be able to see how you can install and use the actions provided by the JSTL in your web applications, thereby making them a lot cleaner, easier to read, and ultimately, of a higher quality.

Pp. 135-182

JavaServer Faces

Simon Brown; Sam Dalton; Daniel Jepp; David Johnson; Sing Li; Matt Raible

After completing this chapter, you should know the following:

Pp. 183-249

Tag Files and Simple Tags

Simon Brown; Sam Dalton; Daniel Jepp; David Johnson; Sing Li; Matt Raible

This chapter concludes creation of the CSLA .NET framework. Over the past three chapters, you have learned how to support a wide variety of functionality to support the development of business objects. This chapter combined a wide range of capabilities, including the following:

Combined with the support for editable and read-only business objects from Chapter 3, and the data access and mobile object support from Chapter 4, these capabilities make it relatively easy to build a powerful object-oriented business layer for an application.

The remainder of the book will focus on how to use this framework to create business objects, as well as a variety of UIs for those objects, including Windows Forms, Web Forms, and Web Services.

Pp. 251-287

Classic Tags

Simon Brown; Sam Dalton; Daniel Jepp; David Johnson; Sing Li; Matt Raible

In this chapter, you’ve learned about the reasons for the creation of the JSTL and about its dependencies on the Java Servlet and JSP specifications. You’ve taken an in-depth look at the actions provided by the individual tag libraries that collectively form the JSTL.

Here’s a quick recap of the topics covered:

After reading this chapter, you should be able to appreciate some of the drawbacks that developers came across before the release of the JSP 2.1 specification. Cluttering JSP pages with too much scriptlet code makes them hard to read and less maintainable. Because one of the primary goals of JSP 2.1 is to make JSP pages easier to write, the JSTL perfectly embodies this ideology and can be used to provide reusable, easy-to-maintain functionality for many simple, everyday tasks that JSP page authors are faced with.

After reading this chapter, you should immediately be able to see how you can install and use the actions provided by the JSTL in your web applications, thereby making them a lot cleaner, easier to read, and ultimately, of a higher quality.

Pp. 289-325

Custom Tag Advanced Features and Best Practices

Simon Brown; Sam Dalton; Daniel Jepp; David Johnson; Sing Li; Matt Raible

After completing this chapter, you should know the following:

Pp. 327-358

Data Access Options for Web Applications

Simon Brown; Sam Dalton; Daniel Jepp; David Johnson; Sing Li; Matt Raible

In this chapter, you’ve learned the basics of using JDBC in a simple JSP application, the advantages of using an object-relational persistence framework, and how to design a sophisticated data access architecture.

With your new knowledge of basic JDBC concepts, you should be able to add data access to simple JSP applications by using JDBC code in JSP pages or by using the JSTL SQL tags. You should be able to access any sort of database as long as it has a JDBC driver. In addition, you should also be able to configure a JDBC driver by using either the old data manager approach or the newer JNDI data source technique.

With your new knowledge of the concepts behind O/R persistence frameworks, you should be able to work with any of the frameworks available from commercial software vendors and from open-source projects. Your knowledge of one-, two-, and three-layer architectures as well as your understanding of the flexibility-complexity trade-off will help you choose the appropriate architecture for your next JSP application.

You’ve also taken a close look at a complete example JSP application, the RSS newsreader, which illustrates how to use an O/R persistence framework within a modular three-layer architecture. You can use the RSS newsreader example as a starting point for your own projects. The example relies only on open-source components that are free of charge and free for you to distribute with your own applications.

You should now have enough knowledge to evaluate database access technologies and to design and implement database access within your JSP applications.

Pp. 359-397

Introduction to Filtering

Simon Brown; Sam Dalton; Daniel Jepp; David Johnson; Sing Li; Matt Raible

This chapter has covered a very large subject area in a very short space. It is intended as an overview, and you are encouraged to explore more detailed texts on the subjects that it contains. You’ve seen that the Java Servlet API allows you to build platform-independent server-side Java components to handle user requests. You’ve also seen that servlets are protocol-independent but that they can be developed for specific protocols, particularly HTTP.

You’ve also looked at the deployment of servlet-based web applications, with particular attention paid to the deployment descriptor. You’ve seen how the deployment descriptor describes servlets to the container. You’ ve learned about the new deployment-descriptor elements that support the configuration of JSP 2.1 pages. These elements provide the ability to enable and disable the EL and scripting as well as the ability to automatically include other pages at the start and end of a group of JSP pages.

Pp. 399-431