Java Servlet Programming. 2nd Edition

- Autorzy:
- Jason Hunter, William Crawford


- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 782
- Dostępne formaty:
-
ePubMobi
Opis ebooka: Java Servlet Programming. 2nd Edition
Servlets are an exciting and important technology that ties Java to the Web, allowing programmers to write Java programs that create dynamic web content.Java Servlet Programming covers everything Java developers need to know to write effective servlets. It explains the servlet lifecycle, showing how to use servlets to maintain state information effortlessly. It also describes how to serve dynamic web content, including both HTML pages and multimedia data, and explores more advanced topics like integrated session tracking, efficient database connectivity using JDBC, applet-servlet communicaton, interservlet communication, and internationalization. Readers can use the book's numerous real-world examples as the basis for their own servlets.The second edition has been completely updated to cover the new features of Version 2.2 of the Java Servlet API. It introduces chapters on servlet security and advanced communication, and also introduces several popular tools for easier integration of servlet technology with dynamic web pages. These tools include JavaServer Pages (JSP), Tea, XMLC, and the Element Construction Set.In addition to complete coverage of 2.2 specification, Java Servlet programming, 2nd Edition, also contains coverage of the new 2.3 final draft specification.
Wybrane bestsellery
-
Architects of buildings and architects of software have more in common than most people think. Both professions require attention to detail, and both practitioners will see their work collapse around them if they make too many mistakes. It's impossible to imagine a world in which buildings get b...(160.65 zł najniższa cena z 30 dni)
160.65 zł
189.00 zł(-15%) -
Ta książka jest kolejnym, zaktualizowanym i uzupełnionym wydaniem kultowego podręcznika dla profesjonalnych programistów Javy. To pierwszy tom, w którym opisano podstawy języka i najważniejsze zagadnienia związane z programowaniem interfejsu użytkownika, a także kolekcje, wyrażenia lambda, techni...(77.40 zł najniższa cena z 30 dni)
83.85 zł
129.00 zł(-35%) -
What will you learn from this book?Head First Java is a complete learning experience in Java and object-oriented programming. With this book, you'll learn the Java language with a unique method that goes beyond how-to manuals and helps you become a great programmer. Through puzzles, mysteries, an...(237.15 zł najniższa cena z 30 dni)
237.15 zł
279.00 zł(-15%) -
W tej książce opisano wiele funkcjonalności, narzędzi i procedur, dzięki którym można poprawić efektywność kodu napisanego w Javie 8 i 11 LTS. Główny nacisk położono na zagadnienia istotne dla środowisk produkcyjnych, ale przedstawiono również ciekawe nowe technologie, takie jak kompilacja z wypr...
Wydajność Javy. Szczegółowe porady dotyczące programowania i strojenia aplikacji w Javie. Wydanie II Wydajność Javy. Szczegółowe porady dotyczące programowania i strojenia aplikacji w Javie. Wydanie II
(47.40 zł najniższa cena z 30 dni)51.35 zł
79.00 zł(-35%) -
To książka przeznaczona dla programistów, którzy chcą tworzyć aplikacje biznesowe z użyciem wzorców projektowych, wzorców biznesowych i najlepszych praktyk. Zawiera wyjaśnienie podstawowych koncepcji Javy EE 8, opis jej warstw oraz omówienie najlepszych praktyk tworzenia aplikacji biznesowych. Pr...(34.20 zł najniższa cena z 30 dni)
37.05 zł
57.00 zł(-35%) -
Język Java jest konsekwentnie udoskonalany i unowocześniany dzięki zaangażowaniu wielu ludzi. Nowoczesny język Java staje się coraz bardziej wieloparadygmatowy, co oznacza, że stosowanie najlepszych praktyk w coraz większym stopniu determinuje jakość kodu. Obecnie napisanie kodu, który prawidłowo...(59.40 zł najniższa cena z 30 dni)
64.35 zł
99.00 zł(-35%) -
Książka, którą trzymasz w dłoni, stanowi przegląd praktyk BDD na wszystkich poziomach procesu rozwoju oprogramowania. Znajdziesz w niej informacje na temat odkrywania i określania wysokopoziomowych wymagań, implementacji funkcji aplikacji oraz pisania automatycznych testów akceptacyjnych i jednos...
BDD w działaniu. Sterowanie zachowaniem w rozwoju aplikacji BDD w działaniu. Sterowanie zachowaniem w rozwoju aplikacji
(38.50 zł najniższa cena z 30 dni)42.35 zł
77.00 zł(-45%) -
Dzięki Java. Kurs video nauczysz się programować także aplikacje rozrywkowe i gry według własnego uznania. Nasz ekspert wprowadzi Cię w najważniejsze zasady programowania oraz poruszania się na platformie Eclipse. Dowiesz się, czym jest polimorfizm i jak stosować operacje wejścia-wyjścia. Kolejne...
Java. Kurs video. Poziom pierwszy. Podstawy tworzenia aplikacji Java. Kurs video. Poziom pierwszy. Podstawy tworzenia aplikacji
(24.50 zł najniższa cena z 30 dni)41.40 zł
69.00 zł(-40%) -
Otwórz się na Javę i projektowanie obiektowe. Przystąp do nauki unikalną metodą, wykraczającą poza suche opisy składni oraz sposobów omijania codziennie spotykanych raf programistycznych. To doskonały podręcznik dla osób, które lubią uczyć się nowych języków programowania i nie mają wykształcenia...(48.50 zł najniższa cena z 30 dni)
53.35 zł
97.00 zł(-45%)
Ebooka przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video zobaczysz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP4 (pliki spakowane w ZIP)
Szczegóły ebooka
- ISBN Ebooka:
- 978-14-493-9067-9, 9781449390679
- Data wydania ebooka:
-
2001-04-03
Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 2.2MB
- Rozmiar pliku Mobi:
- 2.2MB
Spis treści ebooka
- Java Servlet Programming, 2nd Edition
- SPECIAL OFFER: Upgrade this ebook with OReilly
- A Note Regarding Supplemental Files
- Preface
- Servlet API 2.2
- Servlet API 2.3
- Servlet API 2.2
- Readers of the First Edition
- Audience
- What You Need to Know
- About the Examples
- Organization
- Conventions Used in This Book
- Request for Comments
- Acknowledgments
- Acknowledgments from the First Edition
- 1. Introduction
- History of Web Applications
- Common Gateway Interface
- FastCGI
- PerlEx
- mod_perl
- Common Gateway Interface
- Other Solutions
- Server extension APIs
- Server-side JavaScript
- Active Server Pages
- JavaServer Pages
- History of Web Applications
- Java Servlets
- Support for Servlets
- Standalone Servlet Containers
- Add-on Servlet Containers
- Embeddable Servlet Containers
- Additional Thoughts
- The Power of Servlets
- Portability
- Power
- Efficiency and Endurance
- Safety
- Elegance
- Integration
- Extensibility and Flexibility
- 2. HTTP Servlet Basics
- HTTP Basics
- Requests, Responses, and Headers
- GET and POST
- Other Methods
- HTTP Basics
- The Servlet API
- Page Generation
- Writing Hello World
- Running Hello World
- Handling Form Data
- Handling POST Requests
- Handling HEAD Requests
- Web Applications
- The WEB-INF Directory
- The Deployment Descriptor
- Moving On
- 3. The Servlet Lifecycle
- The Servlet Alternative
- A Single Java Virtual Machine
- Instance Persistence
- A Simple Counter
- A Simple Synchronized Counter
- A Holistic Counter
- The Servlet Alternative
- Servlet Reloading
- Init and Destroy
- A Counter with Init
- A Counter with Init and Destroy
- Single-Thread Model
- Background Processing
- Load on Startup
- Client-Side Caching
- Server-Side Caching
- 4. Retrieving Information
- The Servlet
- Getting a Servlet Init Parameter
- Getting Servlet Init Parameter Names
- Getting a Servlets Name
- The Servlet
- The Server
- Getting Information About the Server
- Writing to a Temporary File
- Locking a Servlet to a Server
- Getting a Context Init Parameter
- Determining the Servlet Version
- The Client
- Getting Information About the Client Machine
- Restricting Access
- Getting Information About the User
- A Personalized Welcome
- The Request
- Request Parameters
- Generating a License Key
- Path Information
- Getting path information
- Ad hoc path translations
- Getting the context path
- Getting MIME types
- Serving Files
- Reading from an Abstract Resource
- Serving Resources
- Serving Resources for Download
- Determining What Was Requested
- How It Was Requested
- Request Headers
- Accessing header values
- Wading the Input Stream
- Handling POST requests using the input stream
- Receiving files using the input stream
- Extra Attributes
- 5. Sending HTML Information
- The Structure of a Response
- Sending a Normal Response
- Using Persistent Connections
- Response Buffering
- Controlling the Response Buffer
- Status Codes
- Setting a Status Code
- Improving ViewFile Using Status Codes
- HTTP Headers
- Setting an HTTP Header
- Redirecting a Request
- Watching Links to Other Sites
- Client Pull
- When Things Go Wrong
- Status Codes
- Configuring Error Pages
- Logging
- Reporting
- Exceptions
- ServletException
- UnavailableException
- Configuring Exception Pages
- Knowing when no ones listening
- Six Ways to Skin a Servlet Cat
- 6. Sending Multimedia Content
- WAP and WML
- WML
- WAP Device Simulators
- Serving WAP Content
- Dynamic WAP Content
- And Thats a WAP
- WAP and WML
- Images
- Image Generation
- A Hello World image
- A dynamically generated chart
- Image Generation
- Image Composition
- Drawing over an image
- Combining images
- Image Effects
- Converting an image to grayscale
- Caching a converted image
- Compressed Content
- Server Push
- 7. Session Tracking
- User Authentication
- Hidden Form Fields
- URL Rewriting
- Persistent Cookies
- Working with Cookies
- Shopping Using Persistent Cookies
- The Session Tracking API
- Session-Tracking Basics
- A Hit Count Using Session Tracking
- The Session Lifecycle
- Setting the Session Timeout
- Choosing the right timeout
- Lifecycle Methods
- Manually Invalidating a Stale Session
- How Sessions Really Work
- Applet-Based Session Tracking
- Noncookie Fallbacks
- SessionSnoop
- Session Binding Events
- Shopping Using Session Tracking
- 8. Security
- HTTP Authentication
- Configuring HTTP Authentication
- Role-based authentication
- Restricting access to a servlet
- Configuring HTTP Authentication
- Retrieving Authentication Information
- HTTP Authentication
- Form-Based Authentication
- Custom Authentication
- Form-Based Custom Authorization
- Digital Certificates
- Secure Sockets Layer (SSL)
- SSL Client Authentication
- Configuring SSL Security
- Configuring SSL Authentication
- Retrieving SSL Authentication Information
- 9. Database Connectivity
- Relational Databases
- The JDBC API
- JDBC Drivers
- Getting a Connection
- Getting a Connection from a Servlet
- Executing SQL Queries
- Handling SQL Exceptions
- Result Sets in Detail
- Handling Null Fields
- Updating the Database
- Using Prepared Statements
- Reusing Database Objects
- Reusing Database Connections
- Reusing Prepared Statements
- Transactions
- Using Transactions with JDBC
- Optimized Transaction Processing
- Connection Pooling
- Connections as Part of a Session
- A Guestbook Servlet
- Advanced JDBC Techniques
- Stored Procedures
- Binaries and Books
- Beyond the Core
- 10. Applet-Servlet Communication
- Communication Options
- HTTP and Raw Socket Connections
- Servlets and Object Serialization
- JDBC, RMI, and a Little CORBA
- The Hybrid Approach
- Communication Options
- Daytime Server
- The Applet
- Text-Based HTTP Communication
- The servlet
- Back to the applet
- Object-Based HTTP Communication
- The servlet
- The applet
- Posting a serialized object or file
- Socket Communication
- The servlet
- The superclass
- The applet
- RMI Communication
- The servlet
- The superclass
- The applet
- A full-service servlet
- Chat Server
- The Design
- The Servlet
- The HTTP Applet
- The Socket-Connecting Applet
- The RMI Applet
- The Dispatcher
- 11. Servlet Collaboration
- Sharing Information
- Sharing with the ServletContext
- Using the context to sell burritos
- Sharing with the ServletContext
- Sharing with Another ServletContext
- Class loader issues
- Sharing Information
- Sharing Control
- Getting a Request Dispatcher
- Dispatching a Forward
- Dispatching by name
- Forward Versus Redirect
- Dispatching an Include
- 12. Enterprise Servletsand J2EE
- Distributing Load
- How to Be Distributable
- Many Styles of Distribution
- Distributing Load
- Integrating with J2EE
- J2EE Division of Labor
- Environment Entries
- References to EJB Components
- References to External Resource Factories
- Servlet Distribution in a J2EE Environment
- 13. Internationalization
- Western European Languages
- HTML Character Entities
- Unicode Escapes
- Western European Languages
- Conforming to Local Customs
- Non-Western European Languages
- Charsets
- Writing Encoded Output
- Reading and Writing Encoded Output
- Multiple Languages
- UCS-2 and UTF-8
- Writing UTF-8
- Dynamic Language Negotiation
- Language Preferences
- Charset Preferences
- Resource Bundles
- Writing to Each His Own
- The LocaleNegotiator Class
- System-Provided Locales
- HTML Forms
- The Hidden Charset
- 14. The Tea Framework
- The Tea Language
- Getting Started
- Request Information
- Digging Deeper
- Tea Administration
- Tea Applications
- Text Processing
- Content Handling
- Request/Response Handling
- Writing a Tea Application
- A Tool Application
- Final Words
- 15. WebMacro
- The WebMacro Framework
- Saying Hello with WebMacro
- The WebMacro Framework
- Installing WebMacro
- The WebMacro Template Language
- WebMacro Context Tools
- WebMacro Directives
- #if
- #set
- #foreach
- #parse
- #include
- #param
- #use
- WebMacro Templates
- A Reusable MacroView Servlet
- Template Processing
- A Tool Application
- Filters
- Custom Filters
- 16. Element Construction Set
- Page Components as Objects
- Displaying a Result Set
- Customizing the Display
- 17. XMLC
- A Simple XML Compile
- The Manipulation Class
- Modifying a List
- A Tool Application
- 18. JavaServer Pages
- Using JavaServer Pages
- Behind the Scenes
- Expressions and Declarations
- Directives
- Using Directives
- Avoid Java Code in JSP Pages
- JSP and JavaBeans
- Embedding a Bean
- Controlling Bean Properties
- Saying Hello Using a Bean
- Includes and Forwards
- A Tool Application
- Custom Tag Libraries
- Using Custom Tag Libraries
- A Tool Application Using Custom Tag Libraries
- 19. Odds and Ends
- Parsing Parameters
- ParameterParser Code
- Parsing Parameters
- Sending Email
- Using the MailMessage Class
- Emailing Form Data
- Using Regular Expressions
- Finding Links with Regular Expressions
- Executing Programs
- Finger
- Executing the finger Command
- Executing finger with Arguments
- Executing finger with Redirected Output
- Using Native Methods
- Acting as an RMI Client
- Debugging
- Check the Logs
- Output Extra Information
- Use a Standard Debugger
- Examine the Client Request
- Create a Custom Client Request
- Use a Third-Party Tool
- Some Final Tips
- Performance Tuning
- Go Forth, but Dont Prosper
- Dont Append by Concatenation
- Limit Synchronization
- Buffer Your Input and Output
- Try Using an OutputStream
- Use a Profiling Tool
- 20. Whats New in the Servlet 2.3 API
- Changes in the Servlet API 2.3
- Servlets in J2SE and J2EE
- Filters
- Lifecycle Events
- Selecting Character Encodings
- JAR Dependencies
- Class Loaders
- New Error Attributes
- New Security Attributes
- Little Tweaks
- DTD Clarifications
- Changes in the Servlet API 2.3
- Conclusion
- A. Servlet API Quick Reference
- GenericServlet
- RequestDispatcher
- Servlet
- ServletConfig
- ServletContext
- ServletException
- ServletInputStream
- ServletOutputStream
- ServletRequest
- ServletResponse
- SingleThreadModel
- UnavailableException
- B. HTTP Servlet API Quick Reference
- Cookie
- HttpServlet
- HttpServletRequest
- HttpServletResponse
- HttpSession
- HttpSessionBindingEvent
- HttpSessionBindingListener
- HttpSessionContext
- HttpUtils
- C. Deployment Descriptor DTD Reference
- <auth-constraint>
- <auth-method>
- <context-param>
- <description>
- <display-name>
- <distributable>
- <ejb-link>
- <ejb-ref>
- <ejb-ref-name>
- <ejb-ref-type>
- <env-entry>
- <env-entry-name>
- <env-entry-type>
- <env-entry-value>
- <error-code>
- <error-page>
- <exception-type>
- <extension>
- <form-error-page>
- <form-login-config>
- <form-login-page>
- <home>
- <http-method>
- <icon>
- <init-param>
- <jsp-file>
- <large-icon>
- <load-on-startup>
- <location>
- <login-config>
- <mime-mapping>
- <mime-type>
- <param-name>
- <param-value>
- <realm-name>
- <remote>
- <res-auth>
- <res-ref-name>
- <res-type>
- <resource-ref >
- <role-link>
- <role-name>
- <security-constraint>
- <security-role>
- <security-role-ref >
- <servlet>
- <servlet-class>
- <servlet-mapping>
- <servlet-name>
- <session-config>
- <session-timeout>
- <small-icon>
- <taglib>
- <taglib-location>
- <taglib-uri>
- <transport-guarantee>
- <url-pattern>
- <user-data-constraint>
- <web-app>
- <web-resource-collection>
- <web-resource-name>
- <welcome-file>
- <welcome-file-list>
- D. HTTP Status Codes
- E. Character Entities
- F. Charsets
- Index
- About the Authors
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OReilly
O'Reilly Media - inne książki
-
Combing the web is simple, but how do you search for data at work? It's difficult and time-consuming, and can sometimes seem impossible. This book introduces a practical solution: the data catalog. Data analysts, data scientists, and data engineers will learn how to create true data discovery in ...(228.65 zł najniższa cena z 30 dni)
228.65 zł
269.00 zł(-15%) -
This updated edition of the Nutshell guide not only helps experienced Java programmers get the most out of versions through Java 17, it also serves as a learning path for new developers. Chock-full of examples that demonstrate how to take complete advantage of modern Java APIs and development bes...(228.65 zł najniższa cena z 30 dni)
228.65 zł
269.00 zł(-15%) -
Get started with Ray, the open source distributed computing framework that simplifies the process of scaling compute-intensive Python workloads. With this practical book, Python programmers, data engineers, and data scientists will learn how to leverage Ray locally and spin up compute clusters. Y...(228.65 zł najniższa cena z 30 dni)
228.65 zł
269.00 zł(-15%) -
Remove your doubts about AI and explore how this technology can be future-proofed using blockchain's smart contracts and tamper-evident ledgers. With this practical book, system architects, software engineers, and systems solution specialists will learn how enterprise blockchain provides permanen...(271.15 zł najniższa cena z 30 dni)
271.15 zł
319.00 zł(-15%) -
FinOps brings financial accountability to the variable spend model of cloud. Used by the majority of global enterprises, this management practice has grown from a fringe activity to the de facto discipline managing cloud spend. In this book, authors J.R. Storment and Mike Fuller outline the proce...(271.15 zł najniższa cena z 30 dni)
271.15 zł
319.00 zł(-15%) -
Edge AI is transforming the way computers interact with the real world, allowing IoT devices to make decisions using the 99% of sensor data that was previously discarded due to cost, bandwidth, or power limitations. With techniques like embedded machine learning, developers can capture human intu...(271.15 zł najniższa cena z 30 dni)
271.15 zł
319.00 zł(-15%) -
Why is it difficult for so many companies to get digital identity right? If you're still wrestling with even simple identity problems like modern website authentication, this practical book has the answers you need. Author Phil Windley provides conceptual frameworks to help you make sense of all ...(194.65 zł najniższa cena z 30 dni)
194.65 zł
229.00 zł(-15%) -
Python was recently ranked as today's most popular programming language on the TIOBE index, thanks to its broad applicability to design and prototyping to testing, deployment, and maintenance. With this updated fourth edition, you'll learn how to get the most out of Python, whether you're a profe...(305.15 zł najniższa cena z 30 dni)
305.15 zł
359.00 zł(-15%) -
With the accelerating speed of business and the increasing dependence on technology, companies today are significantly changing the way they build in-house business solutions. Many now use low-code and no code technologies to help them deal with specific issues, but that's just the beginning. Wit...
Building Solutions with the Microsoft Power Platform Building Solutions with the Microsoft Power Platform
(262.65 zł najniższa cena z 30 dni)271.15 zł
319.00 zł(-15%) -
Companies are scrambling to integrate AI into their systems and operations. But to build truly successful solutions, you need a firm grasp of the underlying mathematics. This accessible guide walks you through the math necessary to thrive in the AI field such as focusing on real-world application...(271.15 zł najniższa cena z 30 dni)
271.15 zł
319.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
W przypadku usługi "Druk na żądanie" termin dostarczenia przesyłki może obejmować także czas potrzebny na dodruk (do 10 dni roboczych)
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.


Oceny i opinie klientów: Java Servlet Programming. 2nd Edition Jason Hunter, William Crawford (0)
Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.