Java Remote Debugging

Print Friendly, PDF & Email

https://itnext.io/remote-debugging-spring-boot-on-kubernetes-a5f96a40e5c0 https://medium.com/swlh/remote-debugging-a-java-application-running-in-docker-container-with-intellij-idea-efe54cd77f02 https://www.youtube.com/watch?v=OmQU1p0wQmY&t=608s https://blog.christianposta.com/kubernetes/java-remote-debug-for-applications-running-in-kubernetes/ https://medium.com/swlh/remote-debugging-a-java-application-running-in-docker-container-with-intellij-idea-efe54cd77f02 https://docs.oracle.com/javase/8/docs/technotes/guides/jpda/conninv.html#Invocation    

Optional Parameters in Java: Common Strategies and Approaches

Print Friendly, PDF & Email

Recently, I have written an introduction of default arguments in C++. Now, we are aiming to work with default parameters in Java to see what are similar and different. I…

How to create a temporary file to store data

Print Friendly, PDF & Email

Your application has to write data out in a temporary file to reprocess them before rendering to users. The file will be created temporarily and swept our when the application…

Fastest way to get the first n elements of a List or an Array

Print Friendly, PDF & Email

Which is the fastest way to get the first n elements of a List or an Array? Let’s give a context where we want to extract some first elements from…

How to test database connection without using Hibernate ORM in Grails

Print Friendly, PDF & Email

You will likely encounter a headache problem when bringing a large project to cloud-based deployment development, especially testing the access of databases if you have to request of accessing internally…

Getting started with Log4j2

Print Friendly, PDF & Email

Log4j2 is the upgraded version of Apache Log4j with significant improvements over its predecessor and provides many of the improvements available in Logback while fixing some inherent problems occurred in…

ArrayList in Java

Print Friendly, PDF & Email

ArrayList class implements List interface and it is based on Array data structure. It is widely used because of the functionality and flexibility that it offers. Most of the developers…

Java Books and References

Print Friendly, PDF & Email

This text will introduce useful learning resources for someones who want to learn Java programming language. Because resources are continuously updated, this writing is too keep up. Official Java Documentation…

HashMap class in Java

Print Friendly, PDF & Email

This text aims to introduce HashMap and how to use it in Java programs. In the series of Map involved articles, HaspMap is implemented from Map interface and inherited from…

Simple steps to log messages in Java programs using Log4j

Print Friendly, PDF & Email

This article explains a bit of the importance of application logging and log4j API in Java. The following paragraphs will give you an overview of how logging mechanism works in…