In this Engineering With Java newsletter edition, we have hand-picked some interesting Java and Spring articles worth reading. These articles include topics such as Spring security, Cucumber, GenAi, Opentelemetery, Java runtime, String template, serverless debugging etc.
🚀 Unlock Your Path to Success with the Ultimate Everything Bundle! 🚀
Introducing the Everything Bundle — your one-stop solution to mastering Java, Spring Boot, SQL, acing interviews, and securing certifications!
1. Getting Started with Spring Security and JWT
Using JWTs with Spring Security simplifies the authentication process, enhances security, and supports stateless application architectures. For developers looking to secure their Spring Boot applications effectively, adopting JWTs offers a modern and scalable solution.
https://reflectoring.io/spring-security-jwt/
2. Cucumber and Spring Boot Integration
Integrating Cucumber with Spring Boot brings significant advantages for developing and testing applications. It combines the strengths of BDD with the robustness of Spring Boot, allowing for comprehensive and readable tests that ensure your application meets its intended behavior. The article provides practical insights and tools to make this integration smooth and effective.
https://dzone.com/articles/cucumber-and-spring-boot-integration-passing-arguments
3. GenAI: Spring Boot Integration With LocalAI for Code Conversion
Integrating LocalAI with Spring Boot for code conversion offers a practical and efficient approach to managing codebase translations. This combination harnesses the power of AI to simplify and accelerate the conversion process, saving time and reducing the potential for errors. Developers can leverage this integration to handle diverse and evolving project needs more effectively.
https://dzone.com/articles/spring-boot-integration-with-localai-for-code-conversion
🚀 Grokking the Java Interview 🚀
Crack your Java interview by preparing important topics and mastering key concepts in a guided and structured way in a short time.Â
4. How To Compare DOCX Documents in Java
Integrating DOCX comparison capabilities in Java applications provides a powerful tool for managing document differences. By using libraries like Apache POI and Docx4j, developers can create automated solutions to detect changes, streamline document workflows, and maintain consistency across document versions. This article serves as a practical guide to implementing these features, offering clear steps and examples to get started.
https://dzone.com/articles/how-to-compare-docx-documents-in-java
5. Even More Opentelemetry!
OpenTelemetry offers a robust and evolving solution for achieving comprehensive observability in software systems. Its ability to standardize and streamline monitoring practices makes it an invaluable tool for developers and operations teams alike. With its active community and commitment to supporting diverse technologies, OpenTelemetry is set to remain at the forefront of observability tools.
https://foojay.io/today/even-more-opentelemetry/
6. Addressing Fragmentation in ZGC through Custom Allocators
ZGC represents a significant advancement in garbage collection for Java applications, especially those with large memory requirements. Despite challenges like fragmentation, ongoing research and development are leading to innovative solutions that enhance ZGC’s capabilities. These efforts ensure that ZGC remains a powerful tool for managing memory efficiently in demanding environments.
https://inside.java/2024/06/19/thesis-zgc-fragmentation/
7. What Happened to String Templates? Inside Java Newscast #71
String templates proposed a way to readably and safely mix strings with run-time values and were a preview feature in JDKs 21 and 22. Then, to everybody’s surprise, they were dropped in JDK 23! What where the reasons, what could a new proposal look like, when may we see it, and what does all this mean for the OpenJDK development process? Let’s discuss all that (and more).
https://inside.java/2024/06/20/newscast-71/
8. How to Build Custom Java Runtimes with Jlink
JLink provides a powerful tool for developers looking to optimize, simplify, and secure their Java applications. By enabling the creation of custom runtimes that include only the necessary components, JLink enhances the deployment process and aligns with modern software development practices. This capability is particularly valuable in environments where performance, security, and footprint are critical considerations.
https://inside.java/2024/06/21/build-runtimes-with-jlink/
9. Getting Started with Jakarta Data and Hibernate
The article discusses what Jakarta Data is and its goals. It also details how to get started with Jakarta Data using Hibernate ORM. Some of the important points are that Jakarta Data uses stateless repositories and that you need to manually trigger updates.
https://thorben-janssen.com/getting-started-with-jakarta-data/
10. Mastering Serverless Debugging
The article discusses serverless computing, emphasizing its benefits such as scalability and cost efficiency while highlighting its challenges for debugging. Serverless architectures, like AWS Lambda, abstract away infrastructure management but introduce complexities due to their distributed nature and lack of traditional debugging tools.
https://debugagent.com/mastering-serverless-debugging
🚀 Ace Your Next System Design Interview 🚀
Taught by a best-selling author, everything you need to take your system design skills to the next level.