Your First Cup: An Introduction to the Java EE Platform



This is Your First Cup: An Introduction to Java Platform, Enterprise Edition, a short tutorial for beginning Java EE programmers. This tutorial is designed to give you a hands-on lesson on developing an enterprise application from initial coding to deployment.


This tutorial is intended for novice Java EE developers. You should be familiar with the Java programming language, particularly the features introduced in Java Platform, Standard Edition 7. While familiarity with enterprise development and Java EE technologies is helpful, this tutorial assumes you are new to developing Java EE applications.

Documentation Accessibility

For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at

Access to Oracle Support

Oracle customers have access to electronic support through My Oracle Support. For information, visit or visit if you are hearing impaired.

Before You Read This Book

Before you start this tutorial, you should:

  • Be familiar with the Java programming language

  • Be able to install software on your work machine

  • Have a modern web browser installed on your work machine

Related Books and Projects

The following books and projects may be helpful to you in understanding this tutorial:


The following table describes the typographic conventions that are used in this book.

Convention Meaning Example


Boldface type indicates graphical user interface elements associated with an action, or terms defined in text.

From the File menu, select New Project.

A cache is a copy that is stored locally.


Monospace type indicates the names of files and directories, commands within a paragraph, URLs, code in examples, text that appears on the screen, or text that you enter.

Edit your .login file.

Use ls a to list all files.

machine_name% you have mail.


Italic type indicates book titles, emphasis, or placeholder variables for which you supply particular values.

The command to remove a file is rm filename.

Read Chapter 6 in the User's Guide.

Do not save the file.