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
Hemant Besracodeinjava.hashnode.dev·Feb 26, 2024The IoC container - Spring CoreSpring Core is like the heart of the Spring framework. The most important thing in spring core is IoC (Inversion of Control) or DI (Dependency Injection). These concepts are the keys to unlocking how Spring works and why it's so powerful. This blog...DiscussSpring FrameworkSpringboot
Jonayed Baperijonayed.hashnode.dev·Feb 21, 2024Unraveling Java's Most Common IssueHaving worked with Java for over 2 years, I've noticed some common issues that, while not too complicated, can be confusing. Inspired by Jonathan, a developer advocate at Sonar, who surveyed SonarLint telemetry for the last 2 years, covering 2.5 mill...Discuss·34 readsJava