Skip to content

1. Introduction

The PDF of this document is available |HERE|.

The examples in this document are available |HERE|.

The following text refers to the following documents:

[ref1]: [http://tahe.ftp-developpez.com/fichiers-archive/javaee.pdf] - a Java EE course

[ref2]: [http://tahe.ftp-developpez.com/fichiers-archive/jpa.pdf] - a JPA course

For convenience, these references are hereinafter referred to as [ref1] and [ref2].

This tutorial aims to demonstrate the steps involved in creating and deploying a J2EE web service using the NetBeans 6.5 IDE and the accompanying GlassFish application server. Additionally, we present various clients for this web service: Java, C#, ASP.NET, and Flex clients.

The tools used are:

The code is not explained in minute detail. Therefore, this tutorial is intended for those with some prior experience with NetBeans, Java EE, EJB 3, and JPA. All elements used in this tutorial are explained in [ref1] and [ref2] but not necessarily in the tutorial itself.

The tutorial comes with a zip file containing the following items:

  • [1]: the contents of the zip file
  • [2]: the JEE web service in the form of an EAR archive
  • [3]: a set of NetBeans 6.5 projects designed to progressively build the JEE web service
  • [4]: .NET clients for the JEE service—one C# client and two ASP.NET/C# clients
  • [5]: the Flex 3 clients for the JEE service
  • [6]: the script for creating the database used by the application