Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Blog Directory  >  Software Blogs  >  Programming Blogs  >  Java Code Geeks programming Blog  > 

Java Code Geeks Blog


javacodegeeks.com
Java 2 Java developers resource center, Java tutorials, Java news, Java How-To and more
2021-02-09 08:00
Last time we looked at architecture metrics. We stated then that the data required for calculating these metrics could come from a variety of sources. However, we all know that information a… Read More
2021-02-05 05:00
A quick guide to understand the differences between the TreeMap and HashMap with examples. 1. Overview In this tutorial, We will learn the core differences between TreeMap and HashMap classe… Read More
2021-02-02 08:00
Java 15 was released on the 15th of September 2020 and has promised to bring with it a few performance tweaks in its G1GC and ParallelGC garbage collectors. What does it mean for OptaPlanner… Read More
2021-02-01 05:00
The larger the code change, the harder it is to review. So what happens when we’re doing a code migration? Technically there’s a huge set of changes to make to get the code from… Read More
2021-01-30 13:15
Orienting to value – every team, every person does it differently.  How you orient to value limits how much value you can create.  People with a naive orientation can only sc… Read More
2021-01-29 05:00
In the upcoming Apache Camel 3.8 release we have a new Camel component to integrate with Java Flight Recorder. Camel is now capable of capturing “work steps” during startup that… Read More
2021-01-28 08:00
A Java stream represents potentially an infinite sequence of data. This is a simple post that will go into the mechanics involved in generating a simple stream of Fibonacci numbers. The simp… Read More
2021-01-27 05:00
The Speed at which Technologies and companies are growing today are quite unfathomable. We have come a long way from the digital age of the 1970s to the information age of the 21st century i… Read More
2021-01-26 05:00
In today’s new release of System Stubs there’s increased documentation for testing logging output, as well as a new class – MultiplexOutput which allows the tapped output s… Read More
2021-01-24 13:15
Just because you can make a variable a long-term property of a test fixture doesn’t mean you should. This is the Everything is a Property test smell. It may be seen in languages such a… Read More
2021-01-23 13:15
If you’ve never done it, go out and find an open-source project to contribute to. Whether it’s one of your own or something you use, go and try writing code in the wide open to s… Read More
2021-01-22 08:00
Last time we saw how major tech projects continue to be difficult to schedule. One thing that can keep momentum going for a long-running initiative is the appropriate use of metrics. Improvi… Read More
2021-01-22 05:00
In previous posts we learned how to update/replace resources using the HTTP PUT operation. We also learned about the differences between POST, PUT and PATCH. In this post we will now see how… Read More
2021-01-21 08:00
1) Register MockitoExtension @ExtendWith(MockitoExtension.class) class ObjectTest { static final Long ID = 1L; 2) Create the mock @Mock private ObjectRepo mockRepo; 3) Inject the mock @Injec… Read More
2021-01-21 05:00
Spring supports three types of dependency injections: Constructor injection @Component public class SecondBeanImpl implements SecondBean { private FirstBean firstBean; @Autowired public Seco… Read More
2021-01-20 08:00
Hello in this tutorial, we will understand the join() method in python programming. 1. Introduction The join() method in python programming joins different elements and return a combined str… Read More
2021-01-20 05:00
In an earlier post on migration, I looked at different ways to take a codebase and convert it for a new architecture. The methods work best when the language is being kept the same, though t… Read More
2021-01-19 08:00
One of my more popular posts on this site is on how to use Mockito to mock logging. Testing that the logged output is as expected seems to be on the cusp of a good/bad idea. Is the logged ou… Read More
2021-01-19 05:00
1. Overview In this tutorial, We will learn how to convert the String value to Float in Kotlin. This conversion is done using toFloat() method of String class. But there are many cases where… Read More
2021-01-16 13:15
 In this quick tutorial, we will see, how to get current date time using Java 8. Java 8 had come up with new set of classes for date and time under java.time package, which are: –… Read More
2021-01-15 08:00
In Java, it is possible to define a class within another class. Class defined within another Class is called a Nested Class. Nested class is treated as a member of the Outer class because it… Read More
2021-01-14 05:00
With the release of the Spring Cloud 2020.0.0 (aka Ilford) release train we’re more than happy to announce the general availability of Spring Cloud Sleuth 3.0.0. In this blog post I&rs&hell…Read More
2021-01-13 08:00
Hello in this tutorial, we will understand the string comparison in python programming. 1. Introduction String in python language is immutable datatypes and compared with == or != operators… Read More
2021-01-13 05:00
Let’s cut to the chase. Where possible, create scripts and ideally full automation to perform data extraction for the purposes of acceptance testing. While you may think you can get aw… Read More
2021-01-12 08:00
Hello Friends, In this tutorial, we will discuss Builder design pattern. Key topics we are going to discuss are : – Which category Builder Design Pattern falls in ? – What proble… Read More
2021-01-12 05:00
I have immersed myself in the digital identity space for the past few years. A good chunk of this work involves reading (and sometimes creating) specifications, as you can imagine. It is cri… Read More
2021-01-11 05:00
Jmix is the new name and the new major release of CUBA Platform. It is now in Preview and we are aiming to release Stable version in Q2 2021. Key features: Spring Boot as a core technology D… Read More
2021-01-10 13:15
Geertjan Wielenga has posted “Java Predictions for 2021” on Foojay Today. It is a collection of predictions about Java in 2021 from eight members of the Java community (Almas Bai… Read More
2021-01-09 13:15
In this post, we are going to create a Jenkins pipeline for a Java Spring project using Maven and Git: Accessing Jenkins dashboard and configuring Maven in Jenkins: Click on “Manage Je… Read More
2021-01-08 08:00
With the release of the Spring Cloud 2020.0.0 (aka Ilford) release train we’re more than happy to announce the general availability of Spring Cloud Contract 3.0.0. In this blog post I… Read More
2021-01-07 08:00
I’ve created an example how to implement an undo feature in a Quarkus application that uses a Neo4J database. From a user perspective, an undo action might look little spectacular, but… Read More
2021-01-02 13:15
Let’s be honest, no good ever came out of a null boolean value! However, it’s common for boolean to prove not quite good enough to represent what’s going on. This is where… Read More
2021-01-01 05:00
One of the main reasons I blog is to remind myself how easily one can use software development techniques to make bad decisions. I do it myself all the time… In a recent project, I wa… Read More
2020-12-31 08:00
Consider the following fictitious test fixture code: beforeEach(() => { databaseConnection = openDatabase(); inputFile = loadBigFile(); userList = loadUserList(); imageData = loadImageByt… Read More
2020-12-30 08:00
I’ve been working with teams that feel a ton of pressure. On top of the pressure, a senior manager says these words:  “Failure is not an option.” When managers sa… Read More
2020-12-29 05:00
There are many authentication mechanisms (basic, digest, form, X.509, etc), and there are many storage options for credentials and authority information (in-memory, database, LDAP, etc). Aut… Read More
2020-12-27 13:15
Jakarta MVC 2.0 passed the release review ballot and is now ratified as a final specification according to the Jakarta EE Specification Process (JESP). The last steps for the project team af… Read More
2020-12-26 13:15
As Java functional streams have become increasingly popular, an increasing number of requests is being made for new stream operations to be supported. Amidst these requests for numerous disp… Read More
2020-12-24 08:00
Yes, I know this title sounds stupid, but could not find something that fits better. So let me explain why I think that links in HATEOAS APIs are not always that useful. If you don’t k… Read More
2020-12-23 08:00
Although not-null, immutable variables with sensible defaults are often desired, it is not always the case. It is sometimes required to check if multiple variables are not null. This post de… Read More
2020-12-23 05:00
Part of our everyday ci/cd tasks involve using containers in order for the tests to take effect.So what if you could control the containers you use through your tests and serve your scenario… Read More
2020-12-22 05:00
This write-up is partly inspired by a recent post by Vlad Mihalcea on LinkedIn about the recently introduced text blocks in Java. More about them can be read here. Now, that’s a nice f… Read More
2020-12-19 13:00
A quick guide to get the current date time in milliseconds using Date, Calendar and java 8 api classes. 1. Overview In this tutorial, We’ll learn how to get the time in milliseconds in… Read More
2020-12-17 08:00
Hello in this tutorial, we will explain how to set the intersection method in python programming. 1. Introduction The intersection() method in python programming returns a set containing com… Read More
2020-12-17 05:00
Hello in this tutorial, we will see and understand the differences between List vs Tuples in Python programming. 1. Introduction List and Tuple in python programming are used to store the da… Read More
2020-12-16 08:00
Hello in this tutorial, we will see how to print without a newline in python programming. 1. Introduction Printing or logging is the most common thing in any programming language and it is o… Read More
2020-12-16 05:00
Hello in this tutorial, we will understand inheritance in python programming. 1. Introduction Inheritance is an important concept in any programming language. It provides code reusability as… Read More
2020-12-15 08:00
I watched (COVID19-era version of “attended”) the latest spark Summit and in one of the keynotes Reynold Xin from Databricks, presented the following two images comparing spark u… Read More
2020-12-14 05:00
Representational state transfer (REST) is an architectural style that describes best practices to expose web services over HTTP, emphasizing performance, scalability, simplicity, modifiabili… Read More

Share the post

Java Code Geeks

×

Subscribe to Java Code Geeks

Get updates delivered right to your inbox!

Thank you for your subscription

×