Jump to ratings and reviews
Rate this book

Transitioning to Java: Kickstart your polyglot programming journey by getting a clear understanding of Java

Rate this book
Develop your Java coding skills by exploring object-oriented methodologies, functional programming, software design patterns, and more

Purchase of the print or Kindle book includes a free PDF eBook

Key FeaturesGet started with programming in Java with this step-by-step guide for experienced programmersRe-enforce your knowledge of object-oriented methodologies applied in JavaDevelop the range of skills necessary for you to become a successful Java developerBook DescriptionThis comprehensive guide will help non-Java developers already using different languages transition from their current language to all things Java. The chapters are designed in a way that re-enforces a developer's existing knowledge of object-oriented methodologies as they apply to Java.

This book has been divided into four sections, with each section touching upon different aspects that'll enable your effective transition. The first section helps you get to grips with the Java development environment and the Maven build tool for modern Java applications. In the second section, you'll learn about Java language fundamentals, along with exploring object-oriented programming (OOP) methodologies and functional programming and discovering how to implement software design patterns in Java. The third section shows you how to code in Java on different platforms and helps you get familiar with the challenges faced on these platforms. In the fourth section, you'll find out how you can manage and package your Java code.

By the end of this Java programming book, you'll have learned the core concepts of Java that'll help you successfully transition from a different language to Java.

What you will learnGain a solid understanding of the syntax in JavaExplore the object-oriented programming basics of the Java languageDiscover how to implement functions in JavaUnderstand which Java frameworks would be best for solving various problemsExplore creational, structural, and behavioral patterns in JavaGet to grips with server-side coding in JavaWho this book is forThis book is for anyone who is currently working with other programming languages and wishes to add Java to their skillset. Prior working experience as a developer using languages other than Java is expected, although no prior knowledge of Java is required.

Table of ContentsUnderstanding Java DistributionsCode, Compile, and ExecuteThe Maven Build ToolLanguage Fundamentals – Data Types and VariablesLanguage Fundamentals – Classes Methods, Interfaces, Records, and Their RelationshipsJava Syntax and ExceptionsArrays, Collections, Generics, Functions, and StreamsUsing Threads in JavaImplementing Software Design Principles and Patterns in JavaDocumentation and Logging BigDecimal and Unit TestingDesktop Graphical User Interface Coding with Swing and JavaFXServer-Side Coding with JakartaUsing Java in a Docker ContainerDeploying Java in Standalone Packages and Containers

354 pages, Kindle Edition

Published April 28, 2023

1 person is currently reading
3 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
3 (60%)
4 stars
2 (40%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 2 of 2 reviews
Profile Image for Jeanne Boyarsky.
Author 28 books76 followers
May 7, 2023
“Transitioning to Java” is meant for those who already know another imperative language such as C# or JavaScript) and are learning Java. As a result, it moves fast since the focus is more on syntax, Java concepts and the ecosystem rather than what a loop is.

The explanation of Java licensing is excellent. I like that Ken describes the four major IDEs for Java and includes tips on what to consider in choosing one. I enjoyed seeing jshell introduced before how to compile. And that both the two step procedure and single file source code execution were shown as alternatives. The instructions for how to install were excellent with callouts for whether of not you have admin access to the computer.

The book covers real world tools including Maven and Docker. Other advanced topics like concurrency, JavaFX are covered as well. I particularly liked the chapter on BigDecimal and JUnit 5. I liked the Python example highlighting what happens if you don't have static typing. The patterns section was great with explanations and code for each SOLID principle. Additionally, the explanation of thread safe singletons was great. My absolute favorite was including ParameterizedTest in the JUnit 5 part. (I would have liked MethodSource in addition to CSVSource, but that's totally personal preference.)

The definitions, table sand screenshots are all excellent. I appreciate that the code is in a GitHub repo for ease in copy/pasting when trying the examples.

There were a few minor formatting type things in the code. Some stray // with no comment after them in the compound interest examples near the beginning. In one case “Var” vs “var”. The package names were long enough to require two lines in the book for imports. A shorter name would have made this easier to read. Nothing that prevents understanding so definitely minor.

One thing that felt strange is the “software/hardware covered in this book” table in the intro. First of all, nothing in the table is hardware. Secondly, I'm not clear on the purpose of the table. It's not the software required for the book (the reader doesn't need both Java 17 and 19), it's not what you need to install to get started (some software isn't used til the very end), and it isn't a list of what the author used with “A text editor of your choice” on the list. I think it is what you will eventually need to install if you want to run all the examples? Each chapter begins with what software you need if you want to follow along. Almost all of them say Java 17/Maven/text editor. The one chapter mentioning Java 19 lists it inside the chapter.

In any case, I definitely recommend this book for those moving from another language to Java. It covers a lot and can get you up to speed quickly. Each chapter even ends with links for further reading if you want to dive deeper into something. Plus there was a moose in some of the examples. How perfect!

I received a complementary copy from the publisher in exchange for writing this review.
Profile Image for Andres Sacco.
28 reviews6 followers
May 9, 2023
The book offers an excellent way to introduce Java learning different aspects, not just the syntax. The author tackles other topics like Maven, Logging, and how to apply different design patterns to an application.

I recommend for someone who wants to migrate from another language and wants to know what the syntax is and some essential aspects.
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.