Free Programming Books

14 Excellent Free Books to Learn Java

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

Share your Thoughts

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