Home » Java » Page 40

Java

JDK16 javac xlint Warning about Default Constructors

I mentioned in my blog post “Explicit No-Arguments Constructor Versus Default Constructor” that “it is possible that one day javac will have an available lint warning to point out classes with default constructors.” In that post, I referenced JDK-8071961 (“Add javac lint warning when a default constructor is created”), which has now been implemented as of JDK 16 Early Access ...

Read More »

Developing a Simple Web Service with Jakarta EE 8

java-interview-questions-answers

For context, Jakarta EE 8 is very much the same as Java EE 6 through Java EE 8.  The main differences between Java EE 6 and Jakarta EE 8 are the inclusion of newer specifications and updated technologies that had been added over the years.  Moreover, Jakarta EE 8 is an open source platform, whereas Java EE was not open ...

Read More »

Java Creates New Big Data Opportunities

If you think that we live in the age of digital information, you are totally right. But do you know just how much data is generated globally? It is impossible to determine the exact figure, but rough estimations say that people, machines, and organizations create more than 2.5 quintillion bytes of data every day. It’s a mind-blowing number and it ...

Read More »

[MEGA DEAL] The 2020 Java Bootcamp Bundle (96%)

Develop Expertise on the Leading Programming Language & Create Actual Programs with 10 Hours of Content on Java Fundamentals, Collections, Classes, and More Hey fellow geeks, This week, on our JCG Deals store, we have another extreme offer.We are offering a massive 96% off on The 2020 Java Bootcamp Bundle. Get it now with only $35,99 instead of the original ...

Read More »

RESTful API Design

java-interview-questions-answers

There are five principal aspects to a RESTful API specification that must be considered prior to coding an API specification. In this post I will discuss those five features with examples using a product use case. Before I get started let’s ensure that we understand what is meant by API and REST. If you are already familiar with API design ...

Read More »

WebDriverIO Tutorial: Handling Alerts & Overlay In Selenium

You’d hardly find a website these days without alerts and pop-ups! The alert boxes warn you whenever you perform a wrong action or to enter details to access a website. These alert boxes stop you from performing any other browser functions till the alert is resolved. This is why it becomes important that you handle them in your Selenium test ...

Read More »

Pragmatic database migrations with Quarkus and Flyway

java-interview-questions-answers

I’ve recorded a video in which I’ll show how to perform database migrations in Quarkus applications using the Flyway Quarkus Extension. Similar to the previous example, I’m using Flyway to perform database schema migrations, but in this example, Flyway is shipped with the application and executed at startup time. This is a more pragmatic, less flexible approach, ideal for non-Kubernetes ...

Read More »

How To Handle Web Table in Selenium WebDriver?

Web tables or data tables are often used in scenarios where you need to display the information in a tabular format. The data being displayed can either be static or dynamic in nature. You’d often see such examples in e-commerce portals, where product specifications are displayed in a web table. With its wide use, you’d often come across scenarios where ...

Read More »