Wednesday, June 30, 2021

Demystifying Java SE Level for Jakarta EE

As I mentioned in Hashtag Jakarta EE #76, the Jakarta EE Platform project is in the process of determining the Java SE requirements for Jakarta EE 10. In this post, I try to shed some light on the implications of the various options currently up for a vote....

Monday, June 28, 2021

Difference Between Android and Java

Android vs JavaJava is one of the most popular object oriented programming languages in the world. Java is heavily used for software and web development. Recently, Java has become a popular language for mobile-based applications as well. Android is a mobile phone based platform developed by Google. Android...

Friday, June 25, 2021

Difference Between Exception and Error

Exception vs ErrorUnexpected behavior is bound to occur when a program is running. This could be due to exceptions or errors. Exceptions are events, which can disturb the normal program flow. Errors are conditions that can be considered irrecoverable. Exceptions are mostly related to the application itself, while...

Wednesday, June 23, 2021

Difference Between Java and Spring

Java vs SpringJava is one of the most popular object oriented programming languages in the world. Java is heavily used for software and web development. Spring is an open source application framework. Although it is not dependent on any programming model, Spring framework has become very popular among...

Monday, June 21, 2021

Java 8 IntStream With Working Examples

A quick guide to understand primitive int representation of Stream as interface IntStream to support integer operations and with the useful examples.More Info: 1Z0-819: Oracle Java SE 11 Developer1. OverviewIn this tutorial, We’ll learn how to use the IntStream in java 8 and it uses with example programs.For...

Friday, June 18, 2021

Java Convert File Contents to String

A quick guide on how to convert the file contents to String using Java Files api and with example programs.1. OverviewIn this tutorial, you’ll learn how to convert File contents to String in java.If you are new to java 8, please read the how to read the file...

Wednesday, June 16, 2021

Announcing Java Management Service

Today we are introducing a new Oracle Cloud Infrastructure (OCI) native service to help manage Java runtimes and applications on-premises or on any cloud. Java Management Service (JMS) is now generally available (GA).Oracle is the technological leader and steward of the Java ecosystem. Java is the #1 language...

Monday, June 14, 2021

Java Spark RDD reduce() Examples – sum, min and max operations

A quick guide to explore the Spark RDD reduce() method in java programming to find sum, min and max values from the data set.1. OverviewIn this tutorial, we will learn how to use the Spark RDD reduce() method using java programming language. Most of the developers use the...

Friday, June 11, 2021

Java - Data Structures

The data structures provided by the Java utility package are very powerful and perform a wide range of functions. These data structures consist of the following interface and classes −◉ Enumeration◉ BitSet◉ Vector◉ Stack◉ Dictionary◉ Hashtable◉ PropertiesAll these classes are now legacy and Java-2 has introduced a new...

Wednesday, June 9, 2021

The Subs Bench

How do I subclass a list element declared in my interface?In a current project, we’re looking at our strong types having both interfaces and concrete implementations. There’s a reason for this that’s NOT about making things mockable.Read More: 1Z0-816: Oracle Java SE 11 Programmer IIWhat’s nice and obvious is...

Monday, June 7, 2021

Stream.reduce() in Java with examples

Many times, we need to perform operations where a stream reduces to single resultant value, for example, maximum, minimum, sum, product, etc. Reducing is the repeated process of combining all elements.More Info: 1Z0-900: Java EE 7 Application Developerreduce operation applies a binary operator to each element in the stream...

Friday, June 4, 2021

The Secret Weapon of Top Performing Companies? It’s All in Who You Ask.

 William Blake once said, “What is now proved was once only imagined.” Java has been the platform of choice for millions of developers over the past 25 years to take what’s imagined and make it real.Read More: 1Z0-900: Java EE 7 Application DeveloperIn his new book, “Ask Your Developer:...

Wednesday, June 2, 2021

Apache Arrow on the JVM: Streaming Reads

Previously we wrote Arrow Data to a Stream. Now we shall read those data from a stream.Just like on the previous blog the we shall implement the Closeable interface. This is needed to close the RootAllocator and free-up memory.We shall pass a ReadableByteChannel and thus get the stream...

Pages (26)1234567 »