Blog
Be on top of what’s happening with the java world, QA automation and AI.
Java
Integrating JWT with Spring Security 6 in Spring Boot 3
This article focuses towards a more advanced topic: integrating JWT (JSON Web Token) with Spring Security in our Spring Boot application which enables us to enhance our security framework by incorporating robust authentication and authorization mechanisms using JWT.
Gaurav Sharma
April 22, 2024
Java
Securing Spring Boot 3 Applications with Spring Security 6.1 and Beyond
Enhancing the way security may be implemented into Spring Boot applications, the latest version of Spring Security introduces numerous major changes. The goal of this tutorial is to make the process of integrating the Spring Security module into your Spring Boot project more understandable.
Gaurav Sharma
April 14, 2024
Java
Best Java Mocking Frameworks - mockito vs junit vs powermock vs wiremock
Java Mocking Frameworks were developed with the idea of unit-testing Java classes to find subtle errors and improve their performance. This article compares three such mocking frameworks highlighting their gains and pit-falls to give you a clear context of usage.
Pratik Dwivedi
March 28, 2024
Java
All you need to know about Spring AI
Explore the power of Spring AI, a project within the Spring Framework, bringing artificial intelligence to Java developers. Learn about Generative AI and what Spring AI has to offer. Dive into chapters covering building a basic generative AI application with Spring Boot and OpenAI, and leveraging vector databases with Spring Ai. Follow step-by-step tutorials, from setting up environments, to integrating with pgVector for vector similarity searches.
Gaurav Sharma
February 13, 2024
Java
SpringBoot vs Quarkus vs Micronaut
Explore three Java frameworks—SpringBoot, Quarkus, and Micronaut. Dive into their key characteristics, focusing on SpringBoot's features, Quarkus' cloud-centric design, and Micronaut's emphasis on modularity.
Pratik Dwivedi
February 5, 2024
Java
A Comprehensive Guide to Mastering Parameterized JUnit Tests
Elevate your Java testing with JUnit's parameterized tests, unravelling their efficiency in running diverse scenarios. From setting up Unlogged IDE integration to expanding coverage with @ArgumentsSource, this post guides you to resilient, bug-free Java development.
Shardul Lavekar
January 30, 2024
Java
Code Coverage Tools in Java Spring Boot: A Comprehensive Guide
Learn the essence of code coverage in Java Spring Boot development. This concise guide introduces key tools like Unlogged, JaCoCo, Cobertura, and Clover, ensuring your code is robust, reliable, and maintainable.
Shardul Lavekar
January 29, 2024
Java
Java mocks: A guide to mocking in Java
Master the art of Java mocking for seamless unit testing! Learn the ins and outs of creating and using mock objects using Mockito, with a step-by-step guide and practical examples. Elevate your testing skills and boost your code's reliability. Dive into the world of efficient Java mocking now!
Shardul Lavekar
January 17, 2024
Java
Making the Best Use of Spring Observability
Discover the enhanced Spring Observability in versions 6 and Boot 3.0! Built-in metrics, tracing, and logs eliminate the need for third-party tools. Uncover the power of Observability's three pillars and optimize your system's performance effortlessly. Explore distributed tracing, internal workings, and streamline development cycles with Unlogged.io.
Pratik Dwivedi
January 12, 2024
Java
Migrating from Java 8/11 to Java 21, and Spring Boot 2 to the latest Spring Boot 3.2
Java 21 and Spring Boot 3.2 redefine possibilities in performance and security. Upgrade from Java 8 to embrace the latest advancements and stay at the forefront of software development.
Pratik Dwivedi
December 26, 2023
Java
Enhanced Observability with Java 21 and Spring Boot 3.2
Explore the cutting-edge world of Observability with the dynamic duo of Spring Boot 3.2 and Java 21! Uncover the power of Virtual threads, simplified Observability annotations, and Micrometer metrics magic. Plus, dive into additional Observability options like OpenTelemetry. Click to unravel the secrets and master best practices for peak performance in your Java applications!
Pratik Dwivedi
December 18, 2023
Java
Record Patterns and enhanced SWITCH statement in Java 21
Unlock the potential of Java 21! Experience simplified data modelling with Record Patterns and a powerful SWITCH statement, enabling seamless handling of complex data structures and boosting your programming efficiency.
Pratik Dwivedi
December 8, 2023
Java
Java and the String Odyssey: Navigating Changes from JDK 1 to JDK 21
Explore Java's string evolution from immutability in JDK 1 to the cutting-edge String Templates in JDK 21. Witness the journey of innovation that transformed string handling in Java over the years!
A N M Bazlur Rehman
November 20, 2023
Java
Enhanced Vector API in Java21
The blogpost explores Java 21's Enhanced Vector API, in its 6th Incubator, empowering Java programmers to easily express and optimize vector computations for superior performance on supported CPUs. The Vector API, applicable in domains like machine learning and cryptography, allows precise control over vector algorithms, enhancing efficiency and versatility in Java code.
Pratik Dwivedi
November 16, 2023
Java
Java Concurrency Unlocked: A Comparative Guide to Synchronization Tools
This blog post discusses different lock mechanisms in Java for managing concurrency. It covers the usage of ReentrantLock to prevent deadlocks, ReadWriteLock for scenarios with frequent read operations, and StampedLock as an improvement over ReadWriteLock for higher throughput. Each lock mechanism has its own advantages and considerations, and choosing the right one depends on the specific requirements of the application.
A N M Bazlur Rehman
November 12, 2023
Java
How to test an IntelliJ plugin?
Learn how to test your IntelliJ plugin with automated UI interactions using Remote Robot. This blog post guides you through setting up your IntelliJ plugin project, interacting with IntelliJ's UI components, and running tests to open specific files, click buttons, and check for IDE states like "dumb" mode. Discover how automation can help you find bugs and improve your plugin's performance.
Amogh CR
November 6, 2023
Java
Bridging the Gap with Unlogged: How Developers and QA Engineers Can Speak the Same Language
Learn how 'Unlogged' simplifies bug communication between QA engineers and developers, speeding up software releases with instant feedback and efficient debugging
Kyle Lemons
October 24, 2023
Java
All you need to know about Java21
Discover the exciting world of Java 21, where groundbreaking features like Scoped Values, Key Encapsulation Mechanisms (KEMs), and simplified unnamed classes are redefining the language for modern applications. Explore the power of Generational ZGC, which optimizes memory management. Dive into the future of Java and stay ahead in the world of programming!
Pratik Dwivedi
October 20, 2023
Java
How does the lombok magic work underneath?
Delve into the inner workings of Lombok and unravel the magic that makes it a go-to tool for Java developers. Learn about its namespace isolation, dependency management, and debugging capabilities, as well as how it seamlessly integrates with different build systems and IDEs.
Parth
October 4, 2023
Java
Shedding Light on Tech Debt! (Quite literally!)
Unlogged's latest release, version 1.18.5, illuminates tech debt in your codebase, offering instant code execution highlighting and Postman integration. This tool empowers developers to make informed decisions, enhance test coverage, and refactor strategically, all for free. Say goodbye to tech debt lurking in the dark and welcome a brighter, more efficient software future!
Shardul Lavekar
September 25, 2023
Java
Java Serialization and Deserialization explained with a simple example
Uncover the magic of Java serialization and deserialization. Dive into their mechanics, explore implementation steps, and grasp their significance. Learn how to effortlessly transform object states and exchange data. Master these crucial techniques for efficient Java development.
Shardul Lavekar
August 14, 2023
Java
Spring WebFlux explained with a simple CRUD example
Dive into the world of reactive programming using Spring WebFlux with this blog. Discover how to create a responsive and high-performance RESTful API for managing tasks through a step-by-step CRUD demonstration. Learn how Spring WebFlux harnesses reactive principles to handle asynchronous operations efficiently, making your applications more scalable and robust.
Shardul Lavekar
August 11, 2023
Java
Unlogged vs. JUnit: A Comprehensive Comparison for Efficient Java Testing
In the realm of Java testing, Unlogged simplifies the process with effortless method interaction capture, saving time and offering flexible testing. JUnit excels in architectural management and test-driven development. Choose Unlogged for streamlined testing or JUnit for architectural integrity based on project needs.
Shardul Lavekar
August 9, 2023
Java
Revolutionizing Java Code Testing: Unlogged's Seamless Test Automation and Custom Assertion Capabilities
Unlogged revolutionizes Java code testing by automating the recording of method inputs and return values, along with custom assertions through an intuitive user interface. With seamless integration and instant feedback, developers can enhance code quality and confidence, reducing manual effort and ensuring a reliable testing process. Unlogged sets a new standard in software testing, elevating efficiency and code excellence for Java developers.
Shardul Lavekar
August 3, 2023
Java
Automated Regression Testing with Unlogged: The Superior Choice Among the Regression Testing Tools for Java
Unlogged is an open-source, no-code testing solution for Java developers, offering automated regression testing with instant replay and easy integration. It eliminates the need for maintaining generated code, making it a superior choice over competitors like Randoop, SquareTest, and EvoSuite. With Unlogged, developers can quickly identify and fix regressions while receiving instant feedback on code coverage goals.
Shardul Lavekar
August 1, 2023
Use Unlogged to
mock instantly
record and replay methods
mock instantly
Install Plugin