Developing Java Servlets - James Goodwill, Bryan Morgan

Developing Java Servlets

Buch | Softcover
624 Seiten
2001 | 2nd edition
Sams Publishing (Verlag)
978-0-672-32107-8 (ISBN)
41,65 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
Developing Java Servlets provides sophisticated, example-driven coverage of the Java Servlet programming model, including coverage of JSP and wireless deployment.
Developing Java Servlets, Second Edition, is a comprehensive, code-intensive book for professional Java developers. It explains the Java Servlet API architecture and client/server development concepts and contains detailed, professional programming techniques for building sophisticated e-commerce and database servlet applications. New topics covered in the updated edition are:



JavaMail
Servlets with XML, JSP, and EJB
Pluggable web applications
Wireless servlets with WML/WMLScripts

James Goodwill is the co-founder and chief architect at Virtuas Solutions, LLC., located in Denver, Colorado. He has extensive experience in designing and architecting e-business applications. James is also the author of Pure JavaServer Pages, which provides a thorough examination of the JavaServer Pages technology. James is currently leading Virtuas's efforts in developing cutting edge tools designed for J2EE e-business acceleration. You can find the source code and support for this text at the Virtuas Solutions Web site, http://www.virtuas.com. Select the Publications link. Bryan Morgan is an experienced writer and software developer and founder of the Wireless Developer Network (http://www.wirelessdevnet.com) in 1999. He is a respected voice in the wireless industry, is a regular contributor to industry publications, and has been a featured speaker at numerous events. He holds a B.S. in electrical engineering from Clemson University and lives in Pensacola, FL with his wife Becky and beautiful daughter Emma.

Introduction.


1. Web Applications and the Model View Controller (MVC) Design Pattern.


The Model View Controller (MVC) Design Pattern. A Server-Side. Implementation of the MVC. Summary.

I. SERVLET FUNDAMENTALS.

2. Servlet Overview and Architecture.


Movement to Server-Side Java. Definition of a Java Servlet. Practical. Applications for Java Servlets. Java Servlet Alternatives. Reasons to Use Java Servlets. The Java Servlet Architecture. Summary.

3. Servlet Basics.


The Life Cycle of a Servlet. A Basic Servlet. Dissecting the Basic Servlet. Summary.

4. Servlets and HTML.


Retrieving Form Data in a Servlet. Summary.

5. Servlet Sessions.


What Is Session Tracking? Using Hidden Form Fields. Working with Cookies. URL Rewriting. Session Tracking with the Servlet API. Summary.

6. HTTP Tunneling.


What Is HTTP Tunneling? Object Serialization. Creating an HTTP. Tunneling Client. Creating an HTTP Tunneling Servlet. A Practical HTTP Tunneling Example. Pros and Cons of Applet-to-Servlet Communication. Summary.

7. Servlets, JDBC, and Inter-Servlet Communications.


What is the JDBC? Two- and Three-Tier Database Access Models. JDBC Driver Types. JDBC Basics. A Basic JDBC Servlet. A JDBC Connection Pool. Inter-Servlet Communications. Summary.

8. Servlets and JavaMail.


JavaMail and Internet E-mail. Preparing to Use JavaMail. A JavaMail Example. Using JavaMail in a Servlet. Summary.

9. Servlet Security.


Introduction to Security. Roll Your Own. Basic Authentication. Digest Authentication. Secure Sockets Layer (SSL). Summary.

10. Servlets and XML.


XML and Java. Using XML in a Servlet. Summary.

11. Servlets and LDAP.


A Brief Discussion of Directories. LDAP. JNDI. Using JNDI to Access LDAP. Accessing LDAP from a Servlet. Summary.

12. Servlets and Enterprise JavaBeans.


What Are Enterprise JavaBeans? EJB Terminology. Installing Jrun. The Enterprise JavaBean. Session Beans. Entity Beans. Deploying Your EJB to Your Application Server. Servlets as EJB Clients. Summary.

13. A Servlet Controller.


What Is a Controller? A Servlet Controller. The Service Interface. A Sample Service. Summary.

II. JSP FUNDAMENTALS.

14. JSP Overview and Architecture .


What are JavaServer Pages? The Components of a JavaServer Page. Summary.

15. JSP Implicit Objects.


What are Implicit Objects? The request Object. The response Object. The pageContext Object. The session Object. The application Object. The out Object. The config Object. The page Object. The exception Object. Summary.

16. JSP Standard Actions.


What Are Standard Actions? JavaBean Standard Actions. Other Standard Actions. Summary.

17. Using JavaBeans and JSP Scopes.


The Counter JavaBean. page Scope. request Scope. session Scope. application Scope. Summary.

18. Handling JSP Errors.


JSP Translation-Time Errors. JSP Request-Time Errors. Summary.

19. Custom JSP Tag Libraries.


JSP Customs Tags. Deploying Tag Libraries. Developing Custom JSP Tags. Handlers. Summary.

III. SERVLET AND JSP WEB APPLICATIONS.

20. Catalog Case Study.


Catalog Requirements. Models. Views. Controllers. Using the Online Catalog. Summary.

21. An LDAP Web Client.


Directory Requirements. Models. Views. Controllers. Using the LDAP Application. Summary.

22. A Stock Trader.


Trader Requirements. Models. Views. Controllers. Using the Trader Application. Summary.

23. Wireless Application Development Using WAP.


WAP History: Past, Present, and Future. Why WAP? WAP Architecture. Emulators, Browsers, and Developer Tools. Suggested Resources. Summary.

24. WML/WMLScript Development.


The Wireless Markup Language (WML). A WML Example. WMLScript. Wireless Application Developing Using Servlets. Summary.

IV. APPENDIXES.

Appendix A. Web Applications and Configuring the Servlet Engine.


Web Applications. Web Archive (WAR) Files. Servlet Requirements. Apache Tomcat. Summary.

Appendix B. The javax.servlet Package.


The javax.servlet Interfaces. Classes. Exceptions.

Appendix C. The javax.servlet.http Package.


Interfaces. Classes.

Appendix D. The javax.servlet.jsp Package.


Interfaces. Classes. Exceptions.

Appendix E. The javax.servlet.jsp.tagext Package.


Interfaces. Classes.

Appendix F. WML (The Wireless Markup Language).


WML Elements.

Appendix G. WMLScript.


Lang Library. Float Library. String Library. URL Library. WML Browser Library. Dialogs Library.

Index.

Erscheint lt. Verlag 31.5.2001
Verlagsort Indianapolis
Sprache englisch
Maße 186 x 230 mm
Gewicht 1015 g
Themenwelt Informatik Programmiersprachen / -werkzeuge Java
Mathematik / Informatik Informatik Web / Internet
ISBN-10 0-672-32107-6 / 0672321076
ISBN-13 978-0-672-32107-8 / 9780672321078
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
mit über 150 Workouts in Java und Python

von Luigi Lo Iacono; Stephan Wiefling; Michael Schneider

Buch (2023)
Carl Hanser (Verlag)
29,99
Einführung, Ausbildung, Praxis

von Christian Ullenboom

Buch | Hardcover (2023)
Rheinwerk (Verlag)
49,90