Getting started with Java EE applications

Source: Internet
Author: User
Tags glassfish netbeans

This article will detail the basics of developing enterprise applications using EJB 3.0 technology, and EJB 3.0 is part of the Java EE 5 platform. This article will also explain how to simplify the process of developing enterprise applications through EJB 3.0 technology. This article is using the NetBeans IDE 6.0 release.

Prerequisite

This article assumes that you have basic knowledge and programming experience in the following areas:

Java programming

NetBeans IDE

The software required for the tutorial

For this tutorial, you need to install the following software on your computer:

"Web & Java EE" or "all" download version of NetBeans IDE 6.0 (download)

Java Standard Development Toolbox (JDK) version 5.0 or 6.0 (download)

GlassFish V2 Application Server (binding full IDE download) or Sun Java System Application Server platform version 9 (download)

For this tutorial, you need to register a local instance of the Glassfish/sun Java System application Server and its IDE.

Establishing an Enterprise Application project

The goal of this exercise is to create an NEWSAPP enterprise application project that contains an EJB module and a Web module. The NEWSAPP application uses a message-driven bean to receive and process messages that the servlet sends to the queue. The application uses Servlets to send messages to the message-driven bean to display the message.

Creating an Enterprise Application

Select File> New Project (CTRL-SHIFT-N) from the main menu.

Select Enterprise application from the Enterprise category and click the Next button.

Name the project NEWSAPP and set the server as Sun Java System application Server.

Set the Java EE version to Java EE 5, and then select Create EJB module and create WEB application module (if unchecked).

Click the Finish button.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.