Archive for the ‘Core Java’ Category

Some months ago Steve Wozniak, the Apple co-founder who changed the world alongside Steve Jobs, has announced the launch of Woz U. The platform is an online open course program. It’s presented in the same structure other online education providers in that it allows students to watch videos and pace themselves through their courses. They have several way to help you learn fast and easy, some of them are: HD Video Instruction, Captivating Content, Browser-based Labs and really important 1-on-1 … Read the rest

In Datastructures and algorithms in Java, Part 2 I introduced a variety of techniques for searching and sorting one-dimensional arrays, which are the simplest arrays. In this article we’ll explore multidimensional arrays. I’ll introduce the three techniques for creating multidimensional arrays, then show you how to use the Matrix Multiplication algorithm to multiply elements in a two-dimensional array. I’ll also introduce ragged arrays and show you why they are popular for big data applications. Finally, I will answer the question … Read the rest

Oracle has extended public updates for Java Development Kit (JDK) 8 until at least January 2019. These had been slated to end in September 2018.

With this extension, there will be additional quarterly updates in October 2018 and January 2019 for Version 8 of the JDK, which is based on Java Standard Edition 8. They will be free for use on general-purpose computers.

Oracle also noted other support deadlines for Java:

  • It reiterated that applets, which have relied on
Read the rest

Java 8 will be remembered mainly for introducing lambdas, streams, a new date/time model, and the Nashorn JavaScript engine to Java. Some will also remember Java 8 for introducing various small but useful features such as the Base64 API. What is Base64 and how do I use this API? This post answers these questions.

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data in a printable ASCII string format by translating it into a radix-64 representation. … Read the rest

An array is a fundamental datastructure category, and a building block for more complex datastructures. In this second part of my Java 101 introduction to datastructures and algorithms, you will learn how arrays are understood and used in Java programming. I introduce the concept of an array and how arrays are represented in the Java language. Then you’ll learn about one-dimensional arrays and the three ways that you can introduce them to your Java programs. Finally, we’ll explore five algorithms … Read the rest

Version 1.2 of the statically typed Kotlin language, will offer an experimental feature enabling reuse of code across platforms, as well as compatibility with the Java 9 module system. The beta of Kotlin 1.2 is now available for download.

Kotlin’s experimental multiplatform projects capability lets developers reuse code between supported target platforms: JVM and JavaScript initially, and later native. Code to be shared between platforms is placed in a common module; platform-dependent parts are put in platform-specific modules. … Read the rest

Microsoft has released a Java debugger for its free open source editor, Visual Studio Code. The newly minted extension is intended to work as a companion to the Language Support for Java extension provided by Red Hat.  

Whereas Red Hat’s Language Support for Java extension provides IntelliSense capabilities and Java project support, it does not include debugging capabilities. Microsoft’s Java Debug Extension works with previous Red Hat’s extension to provide them. Still in a preview mode, the Java Debug … Read the rest

Parts 1 through 3 of this four-part series on developing Web services in Java SE first presented an overview of Web services and Java SE’s support for developing them. The series then focused on developing SOAP-based and RESTful Web services via this support. Part 4 wraps up this series by focusing on advanced topics.

This article first introduces Java SE’s SAAJ API for working with SOAP-based Web services at a lower level. It then discusses how to create a JAX-WS … Read the rest

Parts 1 through 3 of this four-part series on developing Web services in Java SE first presented an overview of Web services and Java SE’s support for developing them. The series then focused on developing SOAP-based and RESTful Web services via this support. Part 4 wraps up this series by focusing on advanced topics.

This article first introduces Java SE’s SAAJ API for working with SOAP-based Web services at a lower level. It then discusses how to create a JAX-WS … Read the rest

Java 9—formally, Java Platform Standard Edition version 9—is finally here, and its Java Development Kit (JDK) is available for developers to download.

It has several important if controversial new features, but is also the last of the line for the old style of Java delivery.

Where to download the Java 9 JDK

Oracle has posted the Java SE 9 JDK and documentation for download by developers.

The key new features in Java 9

Debuting nearly three years after Java SE … Read the rest