Programming Books

14 Excellent Free Books to Learn Java

Last Updated on March 19, 2024

4. Java Application Development on Linux by Carl Albing, Michael Schwarz

Java Application Development on LinuxJava Application Development on Linux is a hands-on guide to the full Java application development life-cycle on Linux.

This book leads readers through business-logic object analysis, database design, Java servlet UIs, Java Server Pages (JSP) UIs, Swing GUIs, and Standard Widget Toolkit (SWT) GUIs. Scaling up to the enterprise level provides the opportunity to use both the JBoss Application Server and the Apache Geronimo Application Servers, and Enterprise JavaBeans (EJB).

Java Application Development on Linux is targeted at experienced Java programmers who are looking to develop and deploy Java applications on Linux systems.

Learn how to:

  • Use development tools available on Linux, such as the GNU Compiler for Java (gcj), Ant, the
  • NetBeans IDE, IBM’s Eclipse Java IDE, JUnit, and SunONE Studio
  • Develop business logic layers using Java DataBase Connectivity (JDBC)
  • Storing the Data with Oracle, PostgreSQL and MySQL
  • Introduction to JDBC
  • Add a Web interface using servlets and JSPs
  • Add a GUI using Sun’s Abstract Window Toolkit (AWT) and IBM’s SWT Toolkit
  • Servlets
  • JSP: Servlets including how to write a JSP application
  • Deploy EJBs in Linux

This book is part of Bruce Perens’ Open Source Series. All books in this series are released under the Open Publication License, v1.0 or later.

Read the book

5. Building Back-End Web Apps with Java, JPA and JSF by Mircea Diaconescu, Gerd Wagner

Building Back-End Web Apps with Java, JPA and JSFBuilding Back-End Web Apps with Java, JPA and JSF teaches you how to build Java back-end web applications with Java Server Faces (JSF) as the user interface technology, the Java Persistence API (JPA) for object-to-storage mapping, and a MySQL database.

It follows a “learning by doing” approach, focusing only on the essential parts of Java and the minimum needed for starting to code your first application. The book shows the reader how to build a minimal Java web app in just 7 steps: set up the folder structure, write the model code, configure the app, implement the Create Use Case, implement the Retrieve/List All Use Case, implement the update Use Case, and implement the Delete Use Case. There are practice projects included.

The book is in draft, and may be incomplete in some respects.

The book, along with any associated source code, is licensed under The Code Project Open License (CPOL).

Read the book

6. Thinking in Java, 3rd ed. Revision 2.0 by Bruce Eckel

Thinking in Java, 3rd Edition

Thinking in Java, 3rd Edition covers many of the nooks and crannies of the Java language, which is of great value in the programming world.

The most prominent feature of the book is its extremely thorough treatment of the Java language, with special attention to object design. Some of the best thinking about objects is in this book, including when to use composition over inheritance. The esoteric details of Java in regard to defining classes are thoroughly laid out.

Topics covered:

  • Object-design basics – an introduction to the basic concepts of OOP, including an overview of development methods
  • Inheritance and polymorphism – Polymorphism allows improved code organization and readability as well as the creation of extensible programs that can be “grown” not only during the original creation of the project but also when new features are desired
  • Object lifetimes – Java provides a feature called a garbage collector that automatically discovers when an object is no longer in use and destroys it
  • Error Handling with exception handling – dealing with errors
  • Analysis and design basics
  • Java basics: keywords and flow control
  • Initializing objects
  • Garbage collection – automatically releases memory resources when they are no longer being used
  • Java packages
  • Designing for reuse: composition vs. inheritance
  • Interfaces and inner classes
  • Arrays and container classes – includes the defining and initializing an array, returning an array, the Arrays class, filling an array, copying an array, comparing arrays, array element comparisons, sorting an array, searching a sorted array, and array summary
  • Java I/O classes – gives the reader an introduction to the variety of I/O classes in the standard Java library and how to use them
  • Concurrency – objects provide a way to divide a program into independent sections
  • Run-time type identification
  • Network programming with sockets
  • Cloning objects – looks at basic threads, sharing limited resources, thread states, cooperation between threads, deadlock and more
  • Creating Windows and Applets – covers the Java 2 Swing library
  • The Java Native Interface (JNI)
  • Java programming guidelines – contains suggestions to help guide the reader in performing low-level program design, and in writing code

Read the book

Next page: Page 3 – Java Programming for Kids and more books

Pages in this article:
Page 1 – Introduction to Programming Using Java and more books
Page 2 – Java Application Development on Linux and more books
Page 3 – Java Programming for Kids and more books
Page 4 – Object Oriented Programming using Java and more books
Page 5 – Java Structures and more books

All books in this series:

Free Programming Books
AdaALGOL-like programming language, extended from Pascal and other languages
AgdaDependently typed functional language based on intuitionistic Type Theory
ArduinoInexpensive, flexible, open source microcontroller platform
AssemblyAs close to writing machine code without writing in pure hexadecimal
AwkVersatile language designed for pattern scanning and processing language
BashShell and command language; popular both as a shell and a scripting language
BASICBeginner’s All-purpose Symbolic Instruction Code
CGeneral-purpose, procedural, portable, high-level language
C++General-purpose, portable, free-form, multi-paradigm language
C#Combines the power and flexibility of C++ with the simplicity of Visual Basic
ClojureDialect of the Lisp programming language
ClojureScriptCompiler for Clojure that targets JavaScript
COBOLCommon Business-Oriented Language
CoffeeScriptTranscompiles into JavaScript inspired by Ruby, Python and Haskell
CoqDependently typed language similar to Agda, Idris, F* and others
CrystalGeneral-purpose, concurrent, multi-paradigm, object-oriented language
CSSCSS (Cascading Style Sheets) specifies a web page’s appearance
DGeneral-purpose systems programming language with a C-like syntax
DartClient-optimized language for fast apps on multiple platforms
DylanMulti-paradigm language supporting functional and object-oriented coding
ECMAScriptBest known as the language embedded in web browsers
EiffelObject-oriented language designed by Bertrand Meyer
ElixirRelatively new functional language running on the Erlang virtual machine
ErlangGeneral-purpose, concurrent, declarative, functional language
F#Uses functional, imperative, and object-oriented programming methods
FactorDynamic stack-based programming language
ForthImperative stack-based programming language
FortranThe first high-level language, using the first compiler
GoCompiled, statically typed programming language
GroovyPowerful, optionally typed and dynamic language
HaskellStandardized, general-purpose, polymorphically, statically typed language
HTMLHyperText Markup Language
IconWide variety of features for processing and presenting symbolic data
JArray programming language based primarily on APL
JavaGeneral-purpose, concurrent, class-based, object-oriented, high-level language
JavaScriptInterpreted, prototype-based, scripting language
JuliaHigh-level, high-performance language for technical computing
KotlinMore modern version of Java
LabVIEWDesigned to enable domain experts to build power systems quickly
LaTeXProfessional document preparation system and document markup language
LispUnique features - excellent to study programming constructs
LogoDialect of Lisp that features interactivity, modularity, extensibility
LuaDesigned as an embeddable scripting language
MarkdownPlain text formatting syntax designed to be easy-to-read and easy-to-write
Objective-CObject-oriented language that adds Smalltalk-style messaging to C
OCamlThe main implementation of the Caml language
PascalImperative and procedural language designed in the late 1960s
PerlHigh-level, general-purpose, interpreted, scripting, dynamic language
PHPPHP has been at the helm of the web for many years
PostScriptInterpreted, stack-based and Turing complete language
PrologA general purpose, declarative, logic programming language
PureScriptSmall strongly, statically typed language compiling to JavaScript
PythonGeneral-purpose, structured, powerful language
QMLHierarchical declarative language for user interface layout - JSON-like syntax
RDe facto standard among statisticians and data analysts
RacketGeneral-purpose, object-oriented, multi-paradigm, functional language
RakuMember of the Perl family of programming languages
RubyGeneral purpose, scripting, structured, flexible, fully object-oriented language
RustIdeal for systems, embedded, and other performance critical code
ScalaModern, object-functional, multi-paradigm, Java-based language
SchemeA general-purpose, functional language descended from Lisp and Algol
ScratchVisual programming language designed for 8-16 year-old children
SQLAccess and manipulate data held in a relational database management system
Standard MLGeneral-purpose functional language characterized as "Lisp with types"
SwiftPowerful and intuitive general-purpose programming language
TclDynamic language based on concepts of Lisp, C, and Unix shells
TeXMarkup and programming language - create professional quality typeset text
TypeScriptStrict syntactical superset of JavaScript adding optional static typing
ValaObject-oriented language, syntactically similar to C#
VHDLHardware description language used in electronic design automation
VimLPowerful scripting language of the Vim editor
XMLRules for defining semantic tags describing structure ad meaning
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments