Skip to content

Software Development at Program Tom LTD

Place for coding, programming, development and software in general.

Menu
  • Blog
  • PDF Booklets
  • Dev Utils & Content
  • Java Spring Boot Or Web Apps
  • English
    • български
    • English
    • Español
    • Português
    • हिन्दी
    • Русский
    • Deutsch
    • Français
    • Italiano
    • العربية
  • About Us
Menu

Search Results for: Spring

Spring Boot Project to Vaadin App

Spring Boot Project to Vaadin App

Posted on November 23, 2025 by Toma Velev

To transform a plain Spring Boot project into a basic Vaadin “Hello World” app, you’ll need to add Vaadin dependencies, configure the build for frontend resources, update your main application class, and create a simple Vaadin route (view). This assumes a Maven-based project using Spring Boot 3.x (Vaadin 24+ requires it) and Java 17+. If…

Read more
Integrating xAI Grok API with Spring Boot

Integrating xAI Grok API with Spring Boot

Posted on November 9, 2025 by Toma Velev

This guide walks you through integrating the xAI Grok API into a Spring Boot application. The Grok API is a RESTful service compatible with OpenAI’s API structure, making it straightforward to use for chat completions, text generation, and more. It powers models like grok-beta, grok-2-latest, and advanced ones like grok-3 or grok-4 (availability depends on…

Read more
What are ways to Optimize the backend endpoints in Spring Boot

What are ways to Optimize the backend endpoints in Spring Boot

Posted on July 12, 2025 by Toma Velev

To Optimize backend endpoints in a Spring Boot app with Java 17 can significantly improve performance and scalability. Here’s a structured list of strategies, starting from database-level optimizations and moving to application and infrastructure layers: Database/SQL Optimization ✅ Optimize SQL Queries Use EXPLAIN plans to analyze slow queries. Use proper indexing on columns used in…

Read more
Spring Boot CSV Export

Spring Boot CSV Export

Posted on June 22, 2025 by Toma Velev

Below is a Spring Boot example that demonstrates Export of data to CSV by processing records in two ways with and without library. A count() query to get the total number of records. Paging (PageRequest) to fetch records batch-by-batch. Writing directly to the response’s OutputStream to avoid holding all records in memory. ✅ Assumptions You…

Read more
How to pass a List in Spring Repository Query

How to pass a List in Spring Repository Query

Posted on April 5, 2025 by Toma Velev

To pass a List (or any Collection) into a Spring Data JPA repository query, you can use the IN clause in JPQL or native SQL, and Spring will automatically bind the list elements. ✅ Example 1: Using @Query with JPQL @Query(“SELECT p FROM Product p WHERE p.id IN :ids”) List<Product> findByIds(@Param(“ids”) List<Long> ids); You can…

Read more
How to return HashMap from Spring Repository

How to return HashMap from Spring Repository

Posted on April 5, 2025 by Toma Velev

A Spring Data Repository typically returns entities or List of Object arrays List<Object[]> – for custom queries, not collections like HashMap<K, V> directly. You can structure a custom query or a method that returns a Map in your Service or in additional method, but it’s not automatic — you have to be explicit about it….

Read more
Spring Boot RestController output fromat

Spring Boot RestController output fromat

Posted on March 23, 2025 by Toma Velev

Spring Boot decides which format (JSON, XML, Protobuf, etc.) to use when handling a request based on the configuration for content negotiation. 1. Content Negotiation in Spring Boot Spring Boot decides how to serialize and deserialize request/response bodies using HttpMessageConverters. These converters are automatically registered based on the libraries in the classpath. 2. How Does…

Read more
How to Optimize an Inefficient N+1 Query Problem in Spring Boot

How to Optimize an Inefficient N+1 Query Problem in Spring Boot

Posted on March 21, 2025 by Toma Velev

The N+1 query problem is a common issue that occurs when using JPA repositories in Spring Boot. It happens when you have a one-to-many or many-to-one relationship between entities, and you’re fetching the parent entity with its children. This results in a separate database query for each child, leading to inefficient performance. Optimizing N+1 Query…

Read more
Object Mapping - examples With Java Spring Boot

Object Mapping – examples With Java Spring Boot

Posted on March 21, 2025March 21, 2025 by Toma Velev

There are several Java Frameworks available that does Object Mapping – automatic creation of DTO (Data Transfer Object) in Spring Boot. Reasons we need it Spring (Boot) Framework saves a lot of time of developers by hiding complexity and placing smart defaults with convention over configuration. This comes with the price of a “magic” happening…

Read more
Social Media Post Tracker - Spring Boot - Vaadin Web App

Social Media Post Tracker – Spring Boot – Vaadin Web App

This is simple Vaadin Web Tracker App build on top Spring Boot to allow you to have your Social Media Post and content in one place. It will allow you to see missing places where you haven’t posted yet and you should – to keep the reach of your free content at peak. Post Tracker…

Read more

Posts pagination

  • 1
  • 2
  • 3
  • 4
  • …
  • 16
  • Next
  • Jenkins SCP File Upload to Remote Server
  • Essential Programming Books – Principles & Flutter
  • Social Media Platforms 🌍
  • Strategies to prevent review regressions
  • How to set Google Map Theme in a Flutter App

Categories

  • Apps (22)
  • ChatGPT (23)
  • Choosing a Framework (38)
  • Flutter (269)
  • Graphical User Interface (14)
  • Marketing (117)
  • Software Development (286)
  • Spring (45)
  • StartUp (22)
  • Uncategorized (14)
  • Uncategorized (4)
  • Vaadin (15)

Tags

Algorithms (9) crypto (29) flutterdev (39) General (86) Java (7) QR & Bar Codes (3) Software Dev Choices (33) Spring Boot (1) standards (1) Theme (3) User Authentication & Authorization (9) User Experience (10) Utilities (19) WordPress (11)

Product categories

  • All Technologies (84)
    • Flutter Apps (24)
    • GPT (4)
    • Java (38)
    • Native Android (3)
    • PHP (9)
    • Spring (Boot) / Quarkus (35)
    • Utils (15)
    • Vaadin 24+ (27)
    • Vaadin 8 (1)
  • Apps (18)
    • Employees DB (1)
    • Notes (6)
    • Personal Budget (1)
    • Recipes Book (1)
    • Stuff Organizer (1)
    • To-Do (2)
  • PDF Books (3)
  • Source Code Generators (8)

Recent Posts

  • Jenkins SCP File Upload to Remote Server
  • Essential Programming Books – Principles & Flutter
  • Social Media Platforms 🌍
  • Strategies to prevent review regressions
  • How to set Google Map Theme in a Flutter App

Post Categories

  • Apps (22)
  • ChatGPT (23)
  • Choosing a Framework (38)
  • Flutter (269)
  • Graphical User Interface (14)
  • Marketing (117)
  • Software Development (286)
  • Spring (45)
  • StartUp (22)
  • Uncategorized (14)
  • Uncategorized (4)
  • Vaadin (15)