• 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 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 ActiveMQ
    • Apache APISIX
    • Apache Kafka
    • Consul
    • 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
    • Cassandra
    • 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

Page 55

Huong Dan Java Logger – Part 7 – Access Correlation Id from log message

Huong Dan Java Logger – Part 7 – Access Correlation Id from log message

8 years ago by Khanh NguyenHuong Dan Java Logger

Adding the Correlation Id to the log message will help us to identify which request is experiencing a problem in case our Mule ESB application fails. I will use the Mapped Diagnostic Context of the Logging Framework to pass the Correlation Id’s information to the… Read More

Mapped Diagnostic Context with Logging Framework

Mapped Diagnostic Context with Logging Framework

8 years ago by Khanh NguyenLog4J

The Mapped Diagnostic Context (MDC) is a concept, saying that from the Java code, we can pass some information to the log message beside the message that we need to log using the Logging Framework such as Log4J, Log4J2, Logback, SLF4J. Using this function will… Read More

Read properties files in Spring using PropertyPlaceholderConfigurer object

Read properties files in Spring using PropertyPlaceholderConfigurer object

8 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

Build Maven project in Jenkins

Build Maven project in Jenkins

8 years ago by Khanh NguyenJenkins

I have shown you how to configure JDK and Apache Maven in Jenkins in previous posts, now we can use these configurations to build a Maven project. In this tutorial, I will walk you through the basic steps needed to build a Maven project in… Read More

Huong Dan Java Logger – Part 6 – Retrieve Correlation ID and Category from the configuration

Huong Dan Java Logger – Part 6 – Retrieve Correlation ID and Category from the configuration

8 years ago by Khanh NguyenHuong Dan Java Logger

After the user has configured Huong Dan Java Logger, processing to retrieve the final value of Correlation Id and Category is necessary. Because in the Global Configuration, the value of these two cells is mandatory, so these will be the default values for these two.… Read More

Huong Dan Java Logger – Part 5 – Add UI for main configuration

Huong Dan Java Logger – Part 5 – Add UI for main configuration

8 years ago by Khanh NguyenHuong Dan Java Logger

A Logger component, in addition to the message, log level and category section (which I have included in the Global Configuration section) must have, with Huong Dan Java Logger, I’ll add another section related to overriding the values of Category and Correlation Id that we… Read More

Huong Dan Java Logger – Part 4 – Build Global Configuration

Huong Dan Java Logger – Part 4 – Build Global Configuration

8 years ago by Khanh NguyenHuong Dan Java Logger

Mule’s default Logger component is too simple to include only the log message, category, and level of that message. And with this layout, you can see, whenever adding a new endpoint Logger in a Mule Flow, you have to configure the Logger’s Category again. What… Read More

Configure Apache Maven in Jenkins

Configure Apache Maven in Jenkins

8 years ago by Khanh NguyenJenkins

In order to build Maven projects in Jenkins, we have to configure the JDK in addition to the mandatory part, which is also mandatory for us to configure Apache Maven for Jenkins to use. So, in this tutorial, I will guide you all how to… Read More

Huong Dan Java Logger – Part 3 – Change Mule Category for Logger

Huong Dan Java Logger – Part 3 – Change Mule Category for Logger

8 years ago by Khanh NguyenHuong Dan Java Logger

The Huong Dan Java Logger only uses the Logging Framework to log information that the user needs to log. The default category of Anypoint Devkit (Connectors) is unreasonable. Therefore, I will use the annotation @Category of Mule ESB to adjust. You can refer to the… Read More

Huong Dan Java Logger – Part 2 – Change Logger name and package name

Huong Dan Java Logger – Part 2 – Change Logger name and package name

8 years ago by Khanh NguyenHuong Dan Java Logger

After creating the new Anypoint Connector Project, the first two things we want to do immediately are to change the base package name(currently the base package name is too long: com.huongdanjava.huongdanjavaloggercomponent 🙂 ) and change the name of Huong Dan Java Logger from HuongDanJavaLoggerComponent to… Read More

  • Previous
  • 1
  • …
  • 54
  • 55
  • 56
  • …
  • 78
  • Next

Spring Authorization Server Ebook

Search Google


Announcement

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

Most Viewed

  • Install Node.js on macOS (460,316)
  • Contact (75,515)
  • Push a local GIT repository into a remote GIT repository (65,422)
  • Ignore case sensitive for table name in JPA with Hibernate implementation (38,862)
  • Get base URL in Controller in Spring MVC and Spring Boot (38,043)
  • Access HttpServletRequest and HttpServletResponse in Spring MVC controller (36,750)
  • Implement OAuth Authorization Server using Spring Authorization Server (36,503)
  • Some ways to initialize Optional object in Java (29,935)
  • mvnForum 0.0.4 released (29,782)
  • Get access token using refresh token with Keycloak (29,280)

Recent Comments

  • dianlong on Implement OAuth Authorization Server using Spring Authorization Server
  • Khoan đẹp trai on Apache Maven
  • 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

Links

  • Huong Dan Kotlin

Twitter

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