Home » Author Archives: Steve Perkins

Author Archives: Steve Perkins

Steve Perkins is the author of “Hibernate Search by Example”, and has over fifteen years of experience working with enterprise Java. Steve lives in Atlanta, GA, USA and currently works as a software architect at BetterCloud, where he writes software for the Google cloud ecosystem.

Go for Java Programmers: Simple Types

software-development-2-logo

Part of the Go for Java Programmers series Before we get into custom types, and Go’s version of object-orientation, let’s cover the simple types that come out of the box.  Full details can be found in the (surprisingly readable) language spec, but here are some highlights that are important from a Java programmer’s perspective.           Booleans ...

Read More »

Go for Java Programmers: Control Structures

software-development-2-logo

Go (Golang) has only three basic control structures.  However, each of them are significantly more versatile than their Java counterparts. If The if statement should be immediately recognizable.  In its basic form it appears the same as in Java, just without parentheses around the condition:         ... if err != nil { fmt.Println("An error occurred!") } ... ...

Read More »

Go for Java Programmers: Packages, Functions, and Variables

software-development-2-logo

Go’s Familiar Syntax Due to their shared heritage in the C programming language, Go (aka Golang) code should be fairly recognizable to a Java developer.  Here is the canonical “Hello world” program, which you can execute and modify through your browser on the Go Playground site:           package main import "fmt" func main() { fmt.Println("Hello world") ...

Read More »

Go for Java Programmers: Introduction

software-development-2-logo

Background Go (often referred to as “Golang”) is a fairly new programming language, first conceived in 2007, with version 1.0 launched in 2012.  Its three inventors are currently Google employees, with impressive credentials.  Ken Thompson is the legendary father of UNIX.  Rob Pike created the influential Plan 9 operating system alongside Thompson, and Robert Griesemer worked on the Java HotSpot ...

Read More »

WAR files vs. Java apps with embedded servers

java-interview-questions-answers

Most server-side Java applications (e.g. web or service-oriented) are intended to run within a container.  The traditional way to package these apps for distribution is to bundle them as a WAR file.  This is nothing more than a ZIP archive with a standard directory layout, containing all of libraries and application-level dependencies needed at runtime.  This format is mostly interoperable, ...

Read More »

How to install Oracle’s Java on Ubuntu the easy way

java-logo

Developers on Ubuntu are accustomed to seeing at least two flavors of Java. OpenJDK is an open-source build of the Java runtime and compiler.  The Oracle JDK is built upon this, but adds some closed-source components. In theory, OpenJDK is the official reference implementation of Java 7, and should be perfectly fine for all your needs.  In practice, it is ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.