• Private Policy
  • Contact
Follow me
  • English
  • Tiếng Việt
Huong Dan Java
  • Java
    • Java Core
      • Java Lambda Expression
    • Java Fundamentals
    • Java Stream
    • Java Tools
    • Java XML
  • Jarkata EE
    • CDI
    • JSON Binding
    • MVC
    • Persistence
    • RESTful Web Services
    • Servlet
  • Frameworks
    • Javalin
    • Hibernate
    • Micronaut
    • Mule Enterprise Service Bus
    • OpenId Connect
    • Quarkus
    • Spring
      • Spring Authorization Server
      • Spring Boot
      • Spring Cloud Gateway
      • Spring Cloud GCP
      • Spring Cloud Netflix
      • Spring Data JPA
      • Spring Data MongoDB
      • Spring GraphQL
      • Spring Framework
      • Spring GraphQL
      • Spring Integration
      • Spring MVC
      • Spring Security
      • Spring Session
      • Spring WebFlux
      • Spring WebSocket
    • Spark
    • Vaadin
  • Libraries
    • Apache
      • Apache ActiveMQ
      • Apache Commons IO
      • Apache FreeMarker
      • Apache HTTP Components
      • Apache Ignite
      • Apache Tiles
      • Apache Tomcat
    • AspectJ
    • Database Migration
    • EhCache
    • GraphQL
    • Jackson
    • JSch
    • Log4J
    • Project Lombok
    • Project Reactor
    • Quartz Scheduler
    • Thymeleaf
    • RxJava
  • Testing
    • Mockito
    • PowerMock
    • Selenium
  • Open Source
    • Apache Kafka
    • Keycloak
    • RabbitMQ
    • Redis
    • SonarQube
  • DevOps
    • Cloud Foundry
    • Docker
    • Helm
    • Kubernetes
    • Jenkins
    • Nexus Repository Manager
    • OpenShift
  • Tool
    • Apache Ant
    • Apache Maven
    • CVS
    • Eclipse
    • FTP
    • IntelliJ
    • Git
    • Nginx
    • OpenAPI
    • RAML
  • Database
    • MongoDB
    • MySQL
    • PostgreSQL
  • Application
    • Huong Dan Java Logger
    • Questions Management
      • Questions Management – Stage 1
      • Questions Management – Stage 2
    • mvnForum
  • Others
    • Algorithm
    • JavaScript
  • Books

Spring Basic

Transaction management with @EnableTransactionManagement in Spring application

Transaction management with @EnableTransactionManagement in Spring application

9 months ago by Khanh NguyenSpring Basic

In the tutorial JDBC transaction management in Spring, I showed you how to configure transaction management using an XML file. We can also use Java code to do this with the @EnableTransactionManagement annotation. How is it in detail? We will find out together in this… Read More

Auto component scan in Spring using @ComponentScan annotation

Auto component scan in Spring using @ComponentScan annotation

9 months ago by Khanh NguyenSpring Basic

In the previous post, I showed you how to auto component scan using the configuration in the XML file. In this tutorial, I show you how to do this with Java code using the @ComponentScan annotation. First, I will create a new Maven project as… Read More

Initialize bean in Spring container using @Configuration annotation

Initialize bean in Spring container using @Configuration annotation

4 years ago by Khanh NguyenSpring Basic

You already know how to initialize the bean in the Spring container using the XML file in the previous tutorial. In addition to this, Spring also supports us to initialize the bean using the @Configuration annotation in the Java code. Let’s see how to initialize… Read More

Using @Qualifier annotation in Spring

Using @Qualifier annotation in Spring

4 years ago by Khanh NguyenSpring Basic

In the tutorial on Bean autowiring in Spring framework, you know in the case of byType autowire, we cannot declare more than one bean of the same dependency in Spring’s container. Because in this case, Spring does not know what bean to use for autowire.… Read More

Talking more about AutowiredAnnotationBeanPostProcessor

Talking more about AutowiredAnnotationBeanPostProcessor

4 years ago by Khanh NguyenSpring Basic

In the previous tutorial on the bean autowiring using the @Autowired annotation, I mentioned that the AutowiredAnnotationBeanPostProcessor object is used to dynamically place objects that depend on the dependent object. Perhaps some of you are wondering how this object can do that, right? Me too,… Read More

Bean autowiring using @Autowired annotation

Bean autowiring using @Autowired annotation

4 years ago by Khanh NguyenSpring Basic

In my tutorial Bean autowiring in Spring framework, I showed to you all three ways to automatically put a dependency object on a dependent object without having to use the ref or list attributes. In this tutorial, I will introduce you to another way of… Read More

Read properties files in Spring using @PropertySource annotation

Read properties files in Spring using @PropertySource annotation

5 years ago by Khanh NguyenSpring Basic

I’ve introduced you to reading the properties of files in Spring using the PropertyPlaceholderConfigurer object, the util namespace, the context namespace. All of the above, we need to declare in Spring’s configuration file. In this tutorial, I introduce you all to another way to read the… Read More

Read properties files in Spring using PropertyPlaceholderConfigurer object

Read properties files in Spring using PropertyPlaceholderConfigurer object

5 years ago by Khanh NguyenSpring Basic

Spring provides us with several ways to read our application’s configuration files: properties files. In this tutorial, I will tell you the most common way is to use the PropertyPlaceholderConfigurer object. First, I will create a Maven project as an example: With the Application class… Read More

Auto component scan in Spring

Auto component scan in Spring

5 years ago by Khanh NguyenSpring Basic

Apart from initializing the bean in the Spring container using an XML file or using the @Configuration annotation, we can also initialize the bean using Spring’s auto component scan. How is it in detail? I will tell you in this tutorial. First, I will create… Read More

JDBC transaction management in Spring

JDBC transaction management in Spring

5 years ago by Khanh NguyenSpring Basic

In the previous tutorial, I introduced you to the concept of a transaction in the database, which helps us to ensure data integrity and consistency. Spring also supports us to manage transactions, allowing us to focus on developing business logic without worrying about the integrity… Read More

  • 1
  • 2
  • 3
  • Next

Search Google


Announcement

  • Contact Form error should be fixed(20 July, 2021)

Most Viewed

  • Install Node.js on macOS (350,339)
  • Contact (57,377)
  • Put the local GIT repository into the remote GIT repository (39,015)
  • Ignore case sensitive for table name in JPA with Hibernate implementation (33,518)
  • Access HttpServletRequest and HttpServletResponse in Spring MVC controller (29,373)
  • Some ways to initialize Optional object in Java (25,988)
  • Implement OAuth Authorization Server using Spring Authorization Server (25,909)
  • Get base URL in Controller in Spring MVC and Spring Boot (22,790)
  • Get access token using refresh token with Keycloak (20,691)
  • Archive the artifacts in Jenkins (18,368)

Recent Comments

  • Tomas Mockaitis on Deploy Spring Boot application in Docker
  • Akin on Implement OAuth Authorization Server using Spring Authorization Server
  • Khanh Nguyen on Implement OAuth Authorization Server using Spring Authorization Server
  • ash200 on Implement OAuth Authorization Server using Spring Authorization Server
  • Khanh Nguyen on Implement WebSocket with Spring framework

Links

  • Huong Dan Kotlin
  • Private Policy
  • Contact
Theme: GoMedia by ThemeJunkie. Back To Top