Skip to content

datmt

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

How to Run Maven Test on Specific package/directory

July 24, 2022July 2, 2022 by Đạt Trần

Recently, I ran into a problem with the Jenkins pipeline. Specifically, the Maven tests take too much time to run. I have integration tests and unit tests. The total execution time took more than 30 minutes. In some environments, I only need to run the unit tests, not all the tests. So I wondered, is … Read more

Categories java Tags build tools, maven, maven run tests Leave a comment

[Java Concurrency] 04: ExecutorService

June 30, 2022 by Đạt Trần

Single Thread Executor When you want to run a task, you can start a thread or you can use the Executors to create a single thread to run the task. Consider this block: when you run the code, the output is what the task does: However, you can see that the program didn’t stop (the … Read more

Categories java Tags java concurrency, java executorservice Leave a comment

Introduction to the Map Interface in Java

June 30, 2022 by Đạt Trần

Overview The Map interface is a part of the Collection framework. However, Map doesn’t implement Collection. Why is it a part of the Collection framework? It’s because Map by nature is a collection of elements. Implementations of the Map interface are used in other members of the Collection framework. One example is the HashSet class … Read more

Categories java Tags java map, java map interface Leave a comment

Guide to the SortedSet interface in Java

June 29, 2022 by Đạt Trần

Learn how SortedSet is implemented in Java

Categories java Tags java navigable set, java sorted set, java tree set Leave a comment

Overview of the Set interface in Java

June 28, 2022 by Đạt Trần

An introduction to the Set interface in Java

Categories java Tags java set, set interface Leave a comment

PriorityQueues and their usages

June 28, 2022 by Đạt Trần

Overview A priority queue is an interesting data structure in Java. The key term here is “priority”. That means the queue is ordered by priority of the elements, not the order they are added. Let’s consider an example: When that function is run, the output is: As you can see, the order of elements in … Read more

Categories java Tags java core, priority queue, queue Leave a comment
Older posts
Newer posts
← Previous Page1 … Page28 Page29 Page30 … Page36 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