• 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 53

Huong Dan Java Logger – Part 9 – Do logging

Huong Dan Java Logger – Part 9 – Do logging

7 years ago by Khanh NguyenHuong Dan Java Logger

Which logging log level will depend on the configuration of the user when they use Huong Dan Java Logger and more importantly whether the logging level is enabled in the Logging Framework configuration file? Therefore, we need to write a new method to test these… Read More

Huong Dan Java Logger – Part 8 – Retrieve Message to log

Huong Dan Java Logger – Part 8 – Retrieve Message to log

7 years ago by Khanh NguyenHuong Dan Java Logger

As the default Mule ESB Logger component, Huong Dan Java Logger will also support the Mule Expression Language (MEL) for the message. And if the user does not configure the content of the message, then the Mule Message will be returned as a string by… Read More

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

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

7 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

7 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

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

Build Maven project in Jenkins

Build Maven project in Jenkins

7 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

7 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

7 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

7 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

7 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

  • Previous
  • 1
  • …
  • 52
  • 53
  • 54
  • …
  • 77
  • Next

Spring Authorization Server Ebook

Search Google


Announcement

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

Most Viewed

  • Install Node.js on macOS (452,148)
  • Contact (73,118)
  • Push a local GIT repository into a remote GIT repository (62,432)
  • Ignore case sensitive for table name in JPA with Hibernate implementation (36,754)
  • Access HttpServletRequest and HttpServletResponse in Spring MVC controller (34,806)
  • Implement OAuth Authorization Server using Spring Authorization Server (33,711)
  • Get base URL in Controller in Spring MVC and Spring Boot (28,502)
  • Some ways to initialize Optional object in Java (28,291)
  • Get access token using refresh token with Keycloak (27,140)
  • mvnForum 0.0.4 released (26,534)

Recent Comments

  • 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
  • Binod on Store RegisteredClient to database in Spring Authorization Server

Links

  • Huong Dan Kotlin

Twitter

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