Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EDT:New Project Wizard

Revision as of 03:58, 30 December 2011 by Hjiyong.cn.ibm.com (Talk | contribs)

Introduction

In order to start EGL programming, the first thing is to create a new EGL project. The EGL new project wizard looks very much the same as other eclipse new project wizards. If you're familiar with eclipse, it will be very easy to handle and create a new project in EDT. In this page, we will introduce EGL project type, how to create each kind of project and finally how to extend EGL project wizard to create your own project type.

EGL Project Type

There are 4 types of project templates in the EDT released.

  1. Basic project: It is used for developing EGL programs, services, and libraries. The project can be configured to generate to multiple target languages.
    Typical usages:Batch (command line) programs, Common libraries and records, Web services, Data access services and librarie
  2. Web 2.0 client application project:It is used for developing rich web applications that utilize existing web services. EGL Rich UI code is generated to JavaScript and HTML. Applications are deployed to web application servers, such as Apache Tomcat.
    Typical usages: Web client for existing services, Mashup applications,
    Target languages: JavaScript
  3. Web 2.0 client with services application project: Creates a project for developing rich web applications and related services accessible from standard web browsers. Service code is generated to Java and EGL Rich UI code is generated to JavaScript™ and HTML. Applications are deployed to web application servers, such as Apache Tomcat.
    Typical usages: End-to-end client/server application
    Target languages: Java, JavaScript
  4. Hello world project: This is a simple example application that demonstrates an EGL Rich UI web application calling an EGL service.

Notice that, besides the 4 built-in project types, developers can extend the project wizard to add their own project types. In a new project type, developers can add a bunch of setting parameter, add new default packages and handlers and include default copyright statements etc. The hello world project is also an example to demonstrate the extensibility.

Create a New EGL Project

Open New Project Wizard

  1. From the menu bar in the EGL perspective, click File > New > EGL Project. The EGL Project window opens.

Create a Basic Project

Create a Web 2.0 Client Project

Create a Web 2.0 Client with Services Project

Add New Project Type

Create Extension Point

Create Operations

Use New Project Type

Back to the top