Here is what I wanted to achieve in my investigation: Use GWT only for generating the Javascript code that is to be archived together with everything else into the executable jar. Use Spring Boot for REST endpoints and avoid GWT RPC completely Use Spring Boot’s executable jar to start the...
However, the information is still useful and the investigation can continue with tools such as HPROF or jhat to find out where the strings are allocated, as well as what references are keeping them alive and preventing them from being garbage collected....
The next step would be to identify the source of the issue. However, the stack trace only provides a starting point and further investigation is required. It's reccomended that you check your server, network connection and database to ensure that there aren’t any physical or digital impeda...
Searching for bugs, detangling messy legacy code, or evaluating your codebase for new features sucks up much of a developer’s time. This book teaches code investigation techniques that will help you efficiently understand how Java apps work, how to optimize them, and how to fix the bugs that...
After activating “Freeze containers shutdown”, executing the ProductRepositoryTest from your IDE will prevent the application from shutting down, effectively prolonging the test indefinitely. Once your investigation is complete, simply uncheck the “freeze” option to resume normal test execution, inclu...
The process should include notifying the IT or security team, initiating remote wipe actions, revoking device access, and logging the incident for audit and investigation. d. Physical Access Restrictions Only authorized personnel should have access to sensitive physical spaces like server rooms, labs,...
The next step of the investigation was to perform a code walkthrough of our application code, especially around the life cycle management of the JPA EntityManagerFactory and EntityManager objects. Root cause and solution A code walkthrough of the application code did reveal that the application was...
Debugging a JVM Crash for LinkedIn – Part 2 Brian Stafford Introduction Welcome to Part 2 of our investigation into a JVM crash for LinkedIn. This blog post continues the investigation we began in Debugging a JVM Crash for LinkedIn - Part 1. In Part 1, we analyzed the HotSpot error log ...
Preliminary investigation How to find candidates for refactoring Introducing the new feature Applying the legacy code algorithm Writing end-to-end test cases Automating the test cases Injecting the BookRepository dependency Extract and override call Parameterizing a constructor Adding a new feature Removing...
The difference between quality checking and quality assurance The approach to testing can also be distinguished by looking at the objectives they are trying to accomplish. Those objectives are often split between quality checking (QC) and quality assurance (QA). While QC is focused on defects ident...