Thomas Schühlytschuehly.de·Mar 23, 2024Interactive web applications with htmx and Spring BootNowadays Spring is typically only used for JSON API backend development.We build the web frontend with a JavaScript framework, but why? Probably everyone has experienced that JavaScript headache when it behaves like a well-tested modern language: ht...Discuss·316 readsWeb development without the JavaScript headache with Spring + HTMXhtmx
jean joel Nteppblog.nameksoft.xyz·Mar 19, 2024Handle Exceptions Consistently in Spring MVC with @ControllerAdviceIntroduction In an application based on the MVC pattern, client requests are received by the controller ( C ), which, based on the Model layer (M) and associated services, performs processing. The result of this processing is returned to the appropri...Discuss·10 likesexceptionhandling
Hemant Besracodeinjava.hashnode.dev·Mar 15, 2024Spring core and JDBCLets make a project to fetch data from a table. I have MySQL installed in my machine, below is the details. Now, as we all know that to connect to DB in java we need a JDBC Driver, i have downloaded MySql JDBC Driver jar "mysql-connector-j-8.0.31.ja...DiscussSpring FrameworkJDBC
Trishul Mukherjeetechbit.hashnode.dev·Mar 15, 2024Spring Boot, Kafka and PythonThis article deals with basics of: Running a Kafka broker on your local machine. Set up a minimal Spring Boot app to send/receive messages via Kafka. Set up a Python producer/consumer to send/receive messages via Kafka. Note: Upon completion of ...DiscussSpringboot
Hemant Besracodeinjava.hashnode.dev·Mar 13, 2024Spring core - Dependency InjectionPlease read my previous vlog to understand it in a better way. https://codeinjava.hashnode.dev/the-ioc-container-spring-core What is dependency injection in spring ? In our java projects, the java classes are dependent on each other. So spring cont...DiscussSpring Frameworkdependency injection
Sudarshan Doiphodesudarshandoiphode.hashnode.dev·Mar 8, 2024Comparable vs Comparator in easy way 🤓Introduction : In Java, Comparable & Comparator are two interfaces used for sorting collections of objects. Both are helpful for sorting collections of objects of custom classes. All wrapper classes by default implement Comparable, so we can directly...Discuss·1 likecomparable
Venkata Thanoojthanooj.hashnode.dev·Mar 6, 2024Simplifying CRUD Operations in Spring BootCreating a CRUD (Create, Read, Update, Delete) example in Spring Boot that adheres to SonarQube rules involves writing clean, efficient, and secure code. Below is a simplified example of a CRUD application that should meet SonarQube's quality standar...Discussmodel class
Venkata Thanoojthanooj.hashnode.dev·Mar 2, 2024JWT in Spring Boot: A Comprehensive GuideIn the realm of web security, JSON Web Tokens (JWT) have become a cornerstone for securing RESTful APIs. This article delves into the theoretical foundation of JWTs, their integration within Spring Boot applications, and offers code snippets with tho...DiscussJWT
Venkata Thanoojthanooj.hashnode.dev·Mar 1, 2024Understanding Spring Data JPA: A Beginner's GuideSpring Data JPA is part of the larger Spring Data family which aims to simplify data access within the Spring application framework. It allows for the easy implementation of JPA based repositories. This abstraction layer allows for accessing and mani...DiscussSpring Data Jpa
Venkata Thanoojthanooj.hashnode.dev·Feb 29, 2024Autowired AnnotationUnderstanding @Autowired The Autowired theory in Spring Boot refers to the framework's capability to automatically manage dependency injection. When you annotate a field, constructor, or method in a Spring application with @Autowired, Spring automati...Discussautowired