Discover 13 Free EBooks for Java
Java is one of the most diverse Object oriented programming language and it is always evolving. It is vital to be keep up with new Java techniques. Here are 13 free Ebooks for Java that might help you. All of those Ebooks are in PDF format. Enjoy!
Java SE 8 is perhaps the largest change to Java in its history, led by its flagship feature—lambda expressions. If you’re an experienced developer looking to adopt Java 8 at work, this short guide will walk you through all of the major changes before taking a deep dive into lambda expressions and Java 8’s other big feature: the Streams API.
Author Raoul-Gabriel Urma explains how improved code readability and support for multicore processors were the prime movers behind Java 8 features. He’ll quickly get you up to speed on new classes including CompleteableFuture and Optional, along with enhanced interfaces and the new Date and Time API. You’ll also:
- Understand why lambda expressions are considered a kind of anonymous function
- Learn how lambda expressions and the behavior parameterization pattern let you write flexible and concise code
- Discover various operations and data processing patterns possible when using the Streams API
- Use Collector recipes to write queries that are more sophisticated
- Consider factors such as data size and the number of cores available when using streams in parallel
- Work with a practical refactoring example to bring lambda expressions and streams into focus
Author: Raoul-Gabriel Urma
- Core Java Basics
- Exception Handling
- Programming tests
Author: Pankaj Kumar
One of the problems of Object Orientation is how to map the objects as the database requires. JPA allows us to work with Java classes as it provides a transparent layer to each database specific details; JPA will do the hard work of mapping table to class structure and semantics for the developer.
Learn how to leverage the power of JPA to create robust and flexible Java applications. With this Mini Book, you will get introduced to JPA and smoothly transition to more advanced concepts.
Author: Hebert Coelho
Concurrency is always a challenge for developers and writing concurrent programs can be extremely hard. There is a number of things that could potentially blow up and the complexity of systems rises considerably when concurrency is introduced. However, the ability to write robust concurrent programs is a great tool in a developer’s belt and can help build sophisticated, enterprise level applications.
In this course, you will dive into the magic of concurrency. You will be introduced to the fundamentals of concurrency and concurrent code and you will learn about concepts like atomicity, synchronization and thread safety. As you advance, the following lessons will deal with the tools you can leverage, such as the Fork/Join framework, the java.util.concurrent JDK package. To sum those up, you will learn about testing concurrent applications.
Author: Martin Mois
JavaServer Faces (JSF) is a Java specification for building component-based user interfaces for web applications. JSF 2 uses Facelets as its default templating system. Other view technologies such as XUL can also be employed. In contrast, JSF 1.x uses JavaServer Pages (JSP) as its default templating system.
In this book, you will dive into the magic of JSF. You will gain access to several “recipes” that will help you perform common tasks and operations with JSF. Leveraging those, you will be able to start your own projects in no time!
Author: Martin Mois
A unit can be a function, a class, a package, or a subsystem. So, the term unit testing refers to the practice of testing such small units of your code, so as to ensure that they work as expected. For example, we can test whether an output is what we expected to see given some inputs or if a condition is true or false.
The most popular testing framework in Java is JUnit and we have provided plenty of JUnit tutorials. Now, we decided to gather all the JUnit features in one detailed guide for your convenience. We hope you like it!
Author: Konstantina Dimtsa
Design Patterns are meant to solve specific problem scenarios. They are divided into three categories – Creational, Structural and Behavioral. Learn 23 Design Patterns in Java with a lot of examples and less of boring theoretical stuffs in this 130 page eBook.
Spring is the most widely used Java EE Web application framework. It’s built on the principles of Dependency Injection and Aspect Oriented Programming. It’s an open source framework, and the best part is the different modules for integration with other frameworks, such as Spring ORM, Spring MVC etc. This article lists more than 20 tutorials written by Pankaj Kumar for different components of Spring framework. The articles are in the order and serves as a great resource for the newbie as well as experienced ones. All the project comes with downloadable projects that you can use to learn more. Also, the projects are tested with latest Spring 4 versions and provide XML as well as annotation based configuration details
- Getting Started with JSP
- JSP Implicit Objects
- JSP Directives
- JSP Expression Language
- JSTL Tutorial with Examples – JSTL Core Tags
You will learn the following topics in this 50 page eBook.
- JDBC Overview and it’s important features
- JDBC Statement and PreparedStatement
- JDBC Batch Processing
- JDBC DataSource and Apache DBCP
- JDBC Transaction Management and Savepoint
- Java Web Application Basics
- Java Servlet Basics
- Servlet API Hierarchy and important annotations
- Servlet Filters
- Servlet Listeners
You will learn by writing programs and gain understanding concepts quickly. You can also download the sample projects and extend it for better understanding.
These capabilities include authentication, authorization, data integrity and transport security. Other topics covered in this Refcard include Web Module, EJB and Application Client security, securing Java EE Web Services, Hot Tips and more. Highly recommended reading for Java EE users and Java enthusiasts of all kinds.
- Security in Java EE Applications
- Web Module Security
- EJB Module Security
- Application Client Security
- Securing Java EE Web Services
Using the Apache Jakarta Commons: Reusable Java™ Components, you can leverage the work of the global open-source community to solve common programming problems reliably, quickly, and inexpensively. But, to use the Commons libraries effectively, you need far more guidance than the official documentation offers. In Apache Jakarta Commons: Reusable Java™ Components, Will Iverson covers what Java developers need to know to take full advantage of Jakarta Commons–starting right now.