# Introduction

Java EE 8 brings a plenty of new features which are valuable to build modern applications.

I have spent some time on updating myself to the newest Java EE 8 technology stack. This mini book is my learning notes when I refreshed my knowledge to Java EE 8.

## Audience

This book is not for the newbie of Java EE, and I also assume you know well about Java 8.

This book will not cover the existing content in Java EE 7. If you have experience with Java EE 7 and want to update to Java EE 8, this book is for you.

If you are new to Java EE or need a comprehensive guide of Java EE, I suggest you read the official [Java EE Tutorial](https://javaee.github.io/tutorial/) firstly.

> The new Jakarta EE tutorial is moved to <https://eclipse-ee4j.github.io/jakartaee-tutorial/toc.html>.

## About Jakarta EE 8

After Java EE 8 was released, Eclipse Foundation took over the responsibilities of developing Java EE, due to Java EE regulations, the new Java EE was renamed to Jakarta EE.

Jakarta EE 8 is the first version published by Eclipse Foundation, the APIs is totally compatible with the previous Java EE 8. To get started with Jakarta EE 8, go to [Kickstart a Jakarta EE 8 application](https://hantsy.github.io/jakartaee8-starter-boilerplate/) for more details.

> In this book, we use Java EE and Java EE maven architypes through the whole book, all codes are compatible with Jakarta EE 8.

I also created a repository to collect all useful Java EE 8/Jakarta EE 8 resources, check the latest [Awesome Java EE 8](https://github.com/hantsy/awesome-javaee8) checklist.

## Sample Codes

All sample codes used in this book are open-sourced on Github.

You can clone it into your local system and import them into your IDE and explore yourself.

```bash
git clone https://github.com/hantsy/ee8-sandbox
```

## About The Book

The book itself is open-sourced and [hosted on Github](https://github.com/hantsy/javaee8-by-example-gitbook), and it is synchronized automatically to Gitbook.io. You can read the book online.

Gitbook online version: <https://hantsy.gitbooks.io/java-ee-8-by-example/content/>

## Contribution

If you have some suggestions or find some issues (even grammar errors, I am a non-English guy), do not hesitate to file an issue on [Github issues](https://github.com/hantsy/javaee8-by-example-gitbook/issues) or send a pull request directly.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hantsy.gitbook.io/java-ee-8-by-example/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
