Download the Migration Guide to see what you will need to consider in a migration project for your apps & how Payara Server’s features can make your life easier.
Category: Articles
JVM JIT Compilers Benchmarks Report 19.04
Context and Motivation The current article describes a series of Java Virtual Machine (JVM) Just In Time (JIT) Compilers benchmarks and their results, relying on different optimization patterns. Fo…
Weird behaviour of Java logging statement
Using log4j with Sl4j and ran into a weird issue, I have following log statement.log.trace(“Foo Request object value : {} foo params: {}” , foo==null, foo);If foo has a bar value, it prints bel…
What is JDBC? Introduction to the Java Database Connectivity API
Get to know Java’s low-level API for making database connections and handling SQL queries and responses
What is a Functional interface in Java 8? @Functional Annotation Examples Tutorial
The Functional interface is one of the most important concepts of Java 8 which actually powers lambda expression but many developers don’t…
Top 20 Searching and Sorting Algorithms Interview Questions for Programmers
Hello All, If you are preparing for Programming job interviews or looking for a new job then you know that it’s not an easy process. You g…
Top 10 Tools Every Java Developers Should Learn in 2019
Hello guys, we are already in the second month of 2019 and I am sure all of you have already made your goals about what to learn in 2019 an…
Variance in Java
Complicated if required learning for an exam, but generally intuitive and useful in daily practice.
How to automate Maven and Java JDK8 installation with groovy for Jenkins?
I’m building a Jenkins Docker image and I will like to automate the installation of Maven 3 and Java 8 last JDK. But unfortunately I use these two groovy files locate into the groovy folder:groov…
Survey: Machine Learning/Data Science Propel Python Past Java — ADTmag
A big new developer survey shows that Python has finally passed Java in the programming language popularity wars, propelled by its propensity for use in machine learning and data science projects.
Oracle Responds to Google’s Supreme Court Hail Mary — ADTmag
In what is sure to be the last chapter in the seemingly unending courtroom drama that is Oracle v. Google, Oracle has responded to Google’s hail-Mary request, filed with the Supreme Court in January, to review the appeals court’s ruling that the Alphabet subsidiary infringed on Oracle’s copyrights over its use of 37 Java APIs in the Android OS.
Java Weekly, Issue 273 | Baeldung
A good week in the Java and Spring ecosystems, as Java 12 is released, and a nice write-up on Spring’s @ConfigurationProperties annotation.
Java Testing Weekly 15 / 2019
There are many software development blogs out there, but many of them don’t publish testing articles on a regular basis. Also, I have noticed that some software developers don’t read blogs written by software testers. That is a shame because I think that we can learn a lot from them. That is why I decided to create a newsletter that shares the best testing articles which I found during the last week. Let’s get started. Technical Stuff A comparison of assertion libraries is an interesting blog post that compares three assertion libraries: AssertJ, Strikt, and Atrium. By the way, the examples of this blog post use Kotlin. An Extended Discussion on Customization in JUnit 5 is an excellent blog post that provides an introduction to JUnit 5 extension model. Integration Testing with Javalin and Fuel HTTP is a practical blog posts that helps you to write your first integration tests for a Javalin web application by using Fuel HTTP. Selenium Page Object Pattern – how to handle common components is a useful blog post that helps you to write your first page object. The Really Valuable Stuff Betting in Testing is an interesting blog post that explains why the question:
How to get current Day, Month, Year from Date in Java 8 and before? LocalDate vs java.util.Date
In this article, I’ll show you how to get the current day, month, year, and dayOfWeek in Java 8 and earlier version like Java 6 and JDK 1.7…
10 Examples of forEach() method in Java 8
From Java 8 onward, you can iterate over a List or any Collection without using any loop in Java. The new Stream class provides a forEach(…