Java dominates the top coding languages, but Visual Basic .NET has made a comeback, according to the TIOBE index.
Category: Articles
What is the difference between compare() and compareUnsigned() in Java
I know compare(int a, int b) returns 1 if a > b, 0 if a == b, -1 a < b. When I faced to compareUnsigned() didn't get how does it f....
How to Start a Thread in Java | Baeldung
Explore different ways to start a thread and execute parallel tasks.
Create a User Interface with JSF
JSF is a component oriented MVC (Model View Controller) framework that’s a part of Java EE. It comes with a small set of basic components (widgets), a templating engine, and facilities for converting and validating input. JSF strongly builds on other APIs in Java EE.
Properly implementing Java modules in a Maven build with inter-module test dependencies
I have a multi-module project using Maven and Java. I am now trying to migrate to Java 9/10/11 and implement modules (as in JSR 376: Java Platform Module System, JPMS). As the project was already
Behavioral Design Patterns: Observer – DZone Java
The observer behavioral design pattern can be used to tackle a wide range of problems in your code, like issues with tight coupling, object change, and more.
JAVA: Method Overloading and Throws Exception Handling
Let’s say I have the following code:public void methodOne(String argumentOne) { methodOne(argumentOne, false);}public void methodOne(String argumentOne, boolean equality) { //App logic…
Top 5 announcements from AWS re:Invent 2018
AWS re:Invent has just completed. It was a huge event with 50,000+ attendees across 7 of the biggest…
Service Mesh: Istio and AWS App Mesh
One of the big announcements at AWS re:Invent this week was the AWS App Mesh.Before talking abou…
StackOverFlowError: Causes & solutions – JAXenter
Java programmers: don’t let the dreaded StackOverFlowError throw you off course. Ram Lakshmanan explores this common error and what causes it.
Java 8 Stream Collectors groupingBy Example
1. IntroductionSQL GROUP BY is a very useful aggregation function. It groups database records on c…
Java Application Vulnerabilities – Dzone Refcardz
Java Applications, like any other, are susceptible to gaps in security. This Refcard focuses on the top vulnerabilities that can affect Java applications and how to combat them.
Java using much more memory than heap size (or size correctly Docker memory limit)
For my application, the memory used by the Java process is much more than the heap size.The system where the containers are running starts to have memory problem because the container is taking m…
How to Check if Java is Installed | Baeldung
Learn how to find out if Java is installed on a Windows 10, Mac OS X or Linux/Unix machine even if it’s not on the PATH.
Beware the Attach API
A post brought to light an interesting feature of the JDK I didn’t know about: the ability to update a code running in a JVM. The referenced post shows how to apply a bugfix using that feature. The devious white hat JVM hacker in me started to think how one