Java 101: Learn Java from the ground up

See the original posting on JavaWorld

So, you want to program in Java? That’s great, and you’ve come to the right place. The Java 101 series provides a self-guided introduction to Java programming, starting with the basics and covering all the core concepts you need to know to become a productive Java developer. This series is technical, with plenty of code examples to help you grasp the concepts as we go along. I will assume that you already have some programming experience, just not in Java.

This first article introduces the Java platform and explains the difference between its three editions: Java SE, Java EE, and Java ME. You’ll also learn about the role of the Java virtual machine (JVM) in deploying Java applications. I’ll help you set up a Java Development Kit (JDK) on your system so that you can develop and run Java programs, and I’ll get you started with the architecture of a typical Java application. Finally, you’ll learn how to compile and run a simple Java app.

To read this article in full, please click here

Super Smash Bros. Ultimate’s stage builder unleashes the internet’s creativity

See the original posting on The Verge

Super Smash Bros. Ultimate got a surprise update yesterday, which included a stage builder mode, a video editing feature, and the DLC character Joker from Persona 5. For the most part, users have taken to the stage builder mode to design elaborate, creative stages. But as anyone who has ever spent one nanosecond on the internet knows, given the creative power, humanity will always default to drawing dicks.

This isn’t the first time Nintendo’s introduced a stage builder function in its games (Super Mario Maker, for example, lets you share your stages online), so the company has a basic idea of what to expect. But despite some light moderation efforts, the dicks are still busting through the detectors.

Continue reading…

10 new science fiction and fantasy books to check out in late April

See the original posting on The Verge

Over the last couple of years, I’ve interviewed Adam Savage a few times about making things, his love of space suits, and what he carries around in his bag. He’s a frequent speaker on all of those things, and I was a little surprised that he’s never written a book — until now. In May, he’s publishing Every Tool’s A Hammer: Life is What You Make It, which bounces between a personal memoir and treatise on the maker movement and creativity.

I recently picked up his book on a trip, and I blew through it. I’m a maker and cosplayer, and I felt as though every page spoke to me about something, whether it’s thinking about process and planning, building costumes, or leadership in an organization. It’s a book that’s applicable to more than just…

Continue reading…

HBO is teaching respect by putting Muppets on Game of Thrones and Westworld

See the original posting on The Verge

As the latest season of Game of Thrones has shown, Westeros is at war. The divide between factions has stretched the Seven Kingdoms to the breaking point, and it seems that there’s only one hope for peace. Not Daenerys Targaryen and her dragons, or Jon Snow and his overdeveloped sense of righteousness. No, as HBO’s latest promotion shows, only Elmo, from House Sesame Street, can save the realm now.

“Elmo thinks that you two need to respect each other,” says Elmo, bursting into a tense negotiation between Tyrion and Cersei Lannister. “When Elmo has a problem with his friends like Abby or Cookie Monster, Elmo doesn’t get upset. Elmo listens and learns from what they have to say.” But instead of getting carved up into fuzzy red bits by the…

Continue reading…

Getting Started With Javalin

See the original posting on DZone Python

With the popularity of Spring Boot and the great support for integrating with different types of frameworks, it’s often hard to imagine using something different than Spring. However, there are numerous frameworks out there which provide similar features for building applications like microservices, and Javalin is one of those frameworks. This post will help you to get started with Javalin.

What Is Javalin?

Javalin is a web framework for building Java and Kotlin web applications in a similar fashion to frameworks like Node.js (see Koajs.com) or SparkJava, which is not surprising, since the author is one of the original SparkJava authors.

Mastering Java persistence with JPA and Hibernate, Part 1: Entities and relationships

See the original posting on JavaWorld

The Java Persistence API (JPA) is a Java specification that bridges the gap between relational databases and object-oriented programming. This two-part tutorial introduces JPA and explains how Java objects are modeled as JPA entities, how entity relationships are defined, and how to use JPA’s EntityManager with the Repository pattern in your Java applications.

Note that this tutorial uses Hibernate as the JPA provider. Most concepts can be extend to other Java persistence frameworks.

Red Hat to maintain OpenJDK 8 and OpenJDK 11

See the original posting on JavaWorld

Red Hat is taking over maintenance responsibilities for OpenJDK 8 and OpenJDK 11 from Oracle. Red Hat will now oversee bug fixes and security patches for the two older releases, which serve as the basis for two long-term support releases of Java.

Red Hat’s updates will feed into releases of Java from Oracle, Red Hat, and other providers. Oracle released JDK (Java Development Kit) 8, based on OpenJDK 8, in March 2014 while JDK 11, based on OpenJDK 11, arrived in September 2018. Previously, Red Hat led the OpenJDK 6 and OpenJDK 7 projects. Red Hat is not taking over OpenJDK 9 or OpenJDK 10, which were short-term releases with a six-month support window. 

To read this article in full, please click here

What’s new in Microsoft Visual Studio Code

See the original posting on JavaWorld

Microsoft’s open source development tool is an important piece of the developer’s toolkit. Built using GitHub’s cross-platform Electron framework, Visual Studio Code is a full-featured development editor that supports a wide selection of languages and platforms, from the familiar C and C# to modern environments and languages like Go and Node.js, with parity between Windows, MacOS, and Linux releases.

To read this article in full, please click here