Skip to content

SingleApi

Internet, programming, artificial intelligence

Menu
  • Home
  • About
  • My Account
  • Registration
Menu

Recommended reading – 2023-11-02

Posted on November 2, 2023
Evaluation Driven Development, the Swiss Army Knife for RAG Pipelines

“Evaluation Driven Development (EDD) is the Swiss army knife for your RAG pipelines. LlamaIndex offers a comprehensive list of options in its Evaluation Modules to help you choose the right implementation strategy for your use case. EDD to RAG pipeline development is TDD to Java/Spring development.”

Why Should We Use the Strategy Pattern in Spring Boot

“Strategy design pattern is a behavioral design pattern which can be useful when you have multiple ways of performing an action. For example, imagine you have a notification application that allows users to notify for their notifications using different methods, such as SMS, email, Whatsapp. You could use the Strategy pattern to implement each method as a separate strategy class. Then, at runtime, you could inject the appropriate strategy class into your application and use it to process the notifications.”

Spring Boot Metrics with @Timed and @Counted Annotations

“Metrics are quantifiable measurements that provide a view into the performance, behavior, and health of an application. In the age of microservices and distributed applications, real-time metrics can be a lifesaver when diagnosing issues or understanding application behavior. Metrics can help identify bottlenecks or inefficiencies in the code that can be optimized.”

Elevate Your Spring Boot Application with Logback Logging Setup

“Logback is a well-established logging library in the Java ecosystem. To configure Logback, it’s imperative to create a logback-spring.xml or logback.xml file in the src/main/resources directory. Spring Boot provides its own logging configuration options in the application.properties or application.yml file.”

Going Serverless With Spring Cloud Function, AWS Lambda Java 17 Support, and SnapStart

“Developing and deploying a Java serverless function that invokes OpenAI API. Using Spring Cloud Function, Lambda Java 17 support and SnapStart turned on, let’s explore the details of developing a Java Lambda function. This function will be fronted by an HTTP API gateway.”

Please Stop Using @Autowired Field Injection in the Spring

“Spring-IOC’s Dependency injection feature is the most commonly used feature and the most convenient feature for programmers to develop. After Spring Framework 4.0, Spring no longer recommends using field injection and instead recommends constructor injection and setter injection. There are three dependency injection ways in spring.”

Developing Custom Libraries With Spring Boot Starter

“Custom libraries are the key solution for code duplication between microservices. DRY (Don’t Repeat Yourself) principle encourages us to create code that can be reused. Custom libraries pull duplicated code into abstractions such as a custom library that we can then call from multiple places.”

Social login with Spring Boot 3.1 — part 1

“Social login with Spring Boot 3.1 with Google OAuth2 Client. OAuth 2.0 flow typically involves several components, including Resource Owner, Client, Authorization Server and Resource Server. The user initiates login and clicks on the “Login with Google” button.”

Zero Trust Security in Spring Microservices

“Zero Trust Security is a modern approach that treats every access attempt as potentially harmful. By integrating Zero Trust principles with Spring-based microservices, businesses can establish a security model that is both flexible and robust. The concept of “Zero Trust” might sound radical at first, but it’s a strategic response to the changing landscape of security threats.”

Implementing CSRF Security in a Spring Boot Application

“Spring Boot + Cross-Site Request Forgery (CSRF) is a common web security vulnerability that allows attackers to make unauthorized actions on behalf of a user. In this blog post, we’ll walk you through implementing CSRF protection in a Spring Boot application with a practical Java code example.”

Stop using Spring Boot to build Microservices

“Micronaut is an open-source initiative by the team behind Grails and Spring. It is designed specifically for microservices, tailored specifically for cloud-native microservices. It has Ahead of Time Compilation, which allows it to generate meta-information needed for the framework to operate during compile time rather than at runtime.”

Synchronizing Configuration Across Microservices with Spring Cloud Config

“In microservices architecture, managing configurations can become a Herculean task as the number of services grows. Spring Cloud Config is a project within the larger Spring Cloud ecosystem designed specifically for centralized configuration management in microservices. It ensures that all microservices in the system can retrieve their configuration from a centralized source.”

Implementing API Mocking in Spring Microservices for Faster Development

“API Mocking is akin to a doppelganger in the world of APIs. It’s the process of creating a stand-in or a simulation of an actual API to emulate its behavior without relying on real backend operations. Spring Boot, a popular framework in the Java ecosystem, provides utilities that make mocking easy.”

Spring Microservices: Dealing with Timezones and Date Localization

“Developing applications that cater to a wide range of users from various geographical regions is no longer optional but necessary. Spring Microservices offers a solid foundation to manage these complexities. Managing and interpreting time data across various zones isn’t just a nicety — it’s a necessity.”

Leave a Reply Cancel reply

You must be logged in to post a comment.

Recent Posts

  • Docker Desktop MCP toolkit
  • Hunyuan 3D 2.1, nVidia PartPacker, Sparc3D
  • HiDream
  • Jules
  • IntelliJ IDEA with free AI

Recent Comments

  • adrian on Kokoro TTS Model, LLM Apps Curated List
  • adrian on Repo Prompt and Ollama
  • adrian on A Content Creation Assistant

Archives

  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • November 2023
  • May 2022
  • March 2022
  • January 2022
  • August 2021
  • November 2020
  • September 2020
  • April 2020
  • February 2020
  • January 2020
  • November 2019
  • May 2019
  • February 2019

Categories

  • AI
  • Apple Intelligence
  • Claude
  • Cursor
  • DeepSeek
  • Gemini
  • Google
  • Graphics
  • IntelliJ
  • Java
  • LLM
  • Made in Poland
  • MCP
  • Meta
  • Open Source
  • OpenAI
  • Programming
  • Python
  • Repo Prompt
  • Technology
  • Uncategorized
  • Work

agents ai apple apps automation blender cheatsheet china claude comfyui deepseek docker draw things flux gemini google hidream hobby huggingface hugging face java langchain langchain4j llama llm mcp meta mlx movies news nvidia ollama openai personal thoughts quarkus release repo prompt speech-to-speech spring stable diffusion tts whisper work

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Terms & Policies

  • Privacy Policy
©2025 SingleApi | Design: Newspaperly WordPress Theme
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT