Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Events
Videos
Audiobooks
Packt Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Java Web Internals

You're reading from   Java Web Internals Unlock the secrets of Java web servers, frameworks, and application architecture

Arrow left icon
Product type Paperback
Published in Apr 2026
Publisher Packt
ISBN-13 9781835881484
Length 214 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Francisco Isidro Massetto Francisco Isidro Massetto
Author Profile Icon Francisco Isidro Massetto
Francisco Isidro Massetto
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Chapter 1: Networks, Protocols, and Packets 2. Chapter 2: Workings of a Web Server – A Case Study FREE CHAPTER 3. Chapter 3: Implementing a Simple Web Server 4. Chapter 4: Web Servers vs Application Servers 5. Chapter 5: Deep Dive into Simple Web Container Implementation 6. Chapter 6: Simple Web Container Improvements and Expansions 7. Chapter 7: Why Create a Web Framework 8. Chapter 8: Web Frameworks – The Necessary Abstraction for Professional Development 9. Chapter 9: Detailing the SimpleWebFramework Implementation 10. Chapter 10: The Emergence of Dependency Injection and Its Application in SimpleWebFramework 11. Chapter 11: Creating the First Application with SimpleWebFramework 12. Chapter 12: Unlock Your Exclusive Benefits 13. Other Books You May Enjoy 14. Index

Summary

In this chapter, we learned how to combine the concepts of sockets and all the study of the HTTP protocol we did in previous chapters. As a result, we implemented a small web server that can handle HTTP requests and responses, delivering content from several types of files (text and images, among others). Furthermore, we understood its initial limitation of only being able to handle a single request at a time. Because of this, we implemented a strategy using multithreaded processing to increase the capacity for service requests.

In the next chapter, we will understand how to naturally evolve a web server into an application server. Now, from an HTTP request, we will not only deliver file content, but also deliver the result of the execution of a method as a response. This is where all the dynamic behavior of web applications begins.

Get this book's PDF copy, code bundle, and more

Scan the QR code (or go to packtpub.com/unlock). Search for this book by name, confirm the edition...

lock icon The rest of the chapter is locked
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Java Web Internals
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon