• 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
  • Jakarta EE
    • CDI
    • JSON Binding
    • JSON Processing
    • MVC
    • Persistence
    • RESTful Web Services
    • Servlet
  • Frameworks
    • Apache Camel
    • Apache Struts
    • Javalin
    • gRPC
    • Hibernate
    • Micronaut
    • MicroProfile
    • Mule Enterprise Service Bus
    • OpenId Connect
    • Quarkus
    • Spring
      • Spring AI
      • Spring Authorization Server
      • Spring Boot
      • Spring Cloud Gateway
      • Spring Cloud GCP
      • Spring Cloud Netflix
      • Spring Data JPA
      • Spring Data MongoDB
      • Spring Data R2DBC
      • Spring for Apache Kafka
      • Spring GraphQL
      • Spring Framework
      • 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
    • AspectJ
    • Database Migration
    • EhCache
    • GraphQL
    • Jackson
    • JSch
    • Log4J
    • Project Lombok
    • Project Reactor
    • Quartz Scheduler
    • Thymeleaf
    • Resilience4j
    • RxJava
  • Testing
    • Mockito
    • PowerMock
    • Selenium
    • Testcontainers
  • Open Source
    • Apache APISIX
    • Apache Kafka
    • Debezium
    • Distributed Application Runtime
    • Grafana
    • Keycloak
    • Prometheus
    • RabbitMQ
    • Redis
    • SonarQube
  • DevOps
    • Cloud Foundry
    • Cloud Provider
      • Google Cloud Platform
    • 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
  • Server Runtime
    • Apache Tomcat
    • JBoss WildFly
  • Others
    • JavaScript
    • Huong Dan Java Logger
    • Algorithm
    • mvnForum
    • Questions Management
      • Questions Management – Stage 1
      • Questions Management – Stage 2
  • Books

Spring Basic

@Conditional annotation in Spring

@Conditional annotation in Spring

2 years ago by Khanh NguyenSpring Basic

When working with applications that use the Spring framework, you will need to know how to declare and use Beans in the Spring container. Normally, we just need to declare Bean for a certain class and Spring will automatically create Bean for that class in… Read More

Transaction management with @EnableTransactionManagement in Spring application

Transaction management with @EnableTransactionManagement in Spring application

3 years 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

3 years 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

6 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

6 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

7 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

7 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

7 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

7 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

7 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

  • 1
  • 2
  • 3
  • Next

Spring Authorization Server Ebook

Search Google


Announcement

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

Most Viewed

  • Install Node.js on macOS (443,659)
  • Contact (71,525)
  • Push a local GIT repository into a remote GIT repository (60,864)
  • Ignore case sensitive for table name in JPA with Hibernate implementation (36,108)
  • Access HttpServletRequest and HttpServletResponse in Spring MVC controller (33,554)
  • Implement OAuth Authorization Server using Spring Authorization Server (32,344)
  • Some ways to initialize Optional object in Java (28,048)
  • Get base URL in Controller in Spring MVC and Spring Boot (27,919)
  • Get access token using refresh token with Keycloak (24,793)
  • mvnForum 0.0.4 released (23,757)

Recent Comments

  • Raj on Generate JSON data using Java class annotated with JAXB annotation, using Jackson library
  • khoannh on Git
  • Maxi on Configure Web Origin in Keycloak
  • Binod on Store RegisteredClient to database in Spring Authorization Server
  • Khanh Nguyen on “Spring Authorization Server – From the basics – Second Edition” Book

Links

  • Huong Dan Kotlin

Twitter

Follow @KhanhNguyenJ
  • Private Policy
  • Contact
Theme: GoMedia by ThemeJunkie. Back To Top