Troubleshooting Java, Second Edition

· Vândut de Simon and Schuster
Carte electronică
390
Pagini
Eligibilă
Această carte va deveni disponibilă pe 18 noiembrie 2025. Nu vei fi taxat(ă) înainte de lansare.

Despre această carte electronică

Learn how to quickly work out what your Java code is doing so you can understand when and why it misbehaves.

Searching for bugs, detangling messy legacy code, or evaluating your codebase for new features sucks up much of a developer's time. Effectively reading and understanding existing code is a true superpower! Troubleshooting Java, Second Edition teaches you to efficiently analyze and debug Java applications using time-tested tools and new AI-powered techniques.

In Troubleshooting Java, Second Edition you’ll learn:

• Efficiently use debuggers to quickly understand complex code
• Utilize AI-driven tools to automate log analysis, trace execution, and predict problems
• Correctly implement and interpret application logs
• Identify performance bottlenecks and optimize slow execution paths
• Profile SQL queries to diagnose and optimize database interactions
• Evaluate heap dumps to detect and fix memory leaks
• Analyze thread dumps to resolve deadlocks and concurrency issues
• Navigate the intricacies of service-oriented and microservices systems

In Troubleshooting Java, Second Edition Java veteran Laurentiu Spilca shares techniques for reading, profiling, debugging, and optimizing Java code that he’s honed over years working with high-stakes systems. This fully-revised second edition, updates coverage for new Java tools and adds methods for saving time and effort using AI. You’ll master techniques to identify memory leaks, optimize database queries, and resolve threading issues with ease. The code samples are in Java, but the skills you learn in this guide can be applied to any JVM language.

About the book

Troubleshooting Java, Second Edition introduces code investigation techniques that will help you efficiently understand how Java apps work, how to optimize them, and how to fix the bugs that break them. In it, you’ll learn timesaving practices for discovering hidden dependencies, discovering the root causes of crashes, and interpreting unexpected results. Explore debugging tools like IntelliJ IDEA Debugger, JConsole, and Heap Dump Analyzer; and find new coverage on modern Java, cloud-native Java applications, and microservices. Each technique is explored with a hands-on project, such as debugging a slow REST API, resolving a memory leak in a web app, and tuning for high performance.

About the reader

For intermediate Java developers.

About the author

Laurentiu Spilca is a skilled Java and Spring developer and an experienced technology instructor. He is the author of Spring Start Here and Spring Security in Action.

Despre autor

Laurentiu Spilca is a skilled Java and Spring developer and an experienced technology instructor. He is the author of Manning’s Spring Start Here and Spring Security in Action.

Informații despre lectură

Smartphone-uri și tablete
Instalează aplicația Cărți Google Play pentru Android și iPad/iPhone. Se sincronizează automat cu contul tău și poți să citești online sau offline de oriunde te afli.
Laptopuri și computere
Poți să asculți cărțile audio achiziționate pe Google Play folosind browserul web al computerului.
Dispozitive eReader și alte dispozitive
Ca să citești pe dispozitive pentru citit cărți electronice, cum ar fi eReaderul Kobo, trebuie să descarci un fișier și să îl transferi pe dispozitiv. Urmează instrucțiunile detaliate din Centrul de ajutor pentru a transfera fișiere pe dispozitivele eReader compatibile.