Skip to content

datmt

  • Home
  • Tutorials
    • backend
      • java
        • spring
        • JPA
        • javaee
    • devops
    • frontend
    • Linux
    • NoSQL Databases
  • Privacy Policy
  • Cookie Policy (EU)
  • Contact

backend

Configure SSO Server With Keycloak, HAProxy & Docker

May 26, 2021 by Đạt Trần

Keycloak is quite a nice tool to handle user authentication and authorization. Both Keycloak and HAProxy are free so you can easily setup an authenication & authorization server very quickly and free (hosting is not free though :)). With the help of Docker, it will take a few minutes (less than 10) for you to … Read more

Categories backend, devops Tags haproxy, keycloak, single sign on 5 Comments

EJB Events Tutorial With Quarkus Example

March 26, 2022May 20, 2021 by Đạt Trần

Using events to pass messages in EJB can be a useful tool to simplify your business logic. Let’s learn how to fire and listen to events in EJB with an example. Create and listen to simple EJB events Let’s imagine that we have just opened a store and when someone visits our shop, we will … Read more

Categories javaee Tags ejb events, events, Observer Leave a comment

[Fix] Git Bash Java: invalid target release: 11

November 2, 2022May 20, 2021 by Đạt Trần

So recently I set up a Quarkus project to build some APIs on my new computer, which had JDK 8 installed. When I ran the command: I got the following error: Just a note, you may see this error happen to other jdk version such as 17, 10, … 19 The fix is similar. In … Read more

Categories java Tags java 11, java compile error 1 Comment

Using SecondaryTable For Flexible Database Design (With example)

April 24, 2021 by Đạt Trần

Let’s consider an example. You have been working on a website selling phones since 2000. In early 2000, there wasn’t any smartphone so you may created an object Phone like this: I’m using lombok (in case you find @Data strange). So, back in 2000s, phones were simple like that. However, with the appearance of smartphone. … Read more

Categories JPA Tags jpa, secondarytable Leave a comment

Setting and Getting Custom Properties In Quarkus

April 25, 2021April 22, 2021 by Đạt Trần

Often time, when creating web application, you need to set some values in application settings and later, pull such values to display to users. One of the most prevalent examples is the application’s name and/or application’s version. I’ll show you how to set such values in the app and later, display them in an example … Read more

Categories quarkus Tags custom properties Leave a comment

How To Return File Download In JAX-RS Application

April 22, 2021 by Đạt Trần

When developing JAX-RS applications, most of the time, you return JSON to the client. However, there are times you need to return file download. For example, your client may require that when an user access a certain URL, the application must prompt a save file dialog. If you have trouble with this requirement, look no … Read more

Categories javaee Tags java ee, jax-rs, jax-rs file download Leave a comment
Older posts
Newer posts
← Previous Page1 … Page22 Page23 Page24 Next →
  • Architecture
  • backend
  • Clean Code
  • Cloud Computing
  • Databases
  • devops
  • frontend
  • fundamental
  • General Tips
  • git
  • java
  • javaee
  • JPA
  • kubernetes
  • Linux
  • management
  • mobile development
  • network
  • NoSQL Databases
  • opensource
  • python
  • quarkus
  • Relational Databases
  • scala
  • Security
  • spring
  • SQL
  • System Design
  • WordPress Development

Copyright Ⓒ datmt

© 2025 datmt • Built with GeneratePress