MyEclipse WebSphere Overview (top)

Source: Internet
Author: User

1. MyEclipse, WebSphere & RAD

This article introduces you to each of the important features of myeclipse that involve using WebSphere. This document also notes the MyEclipse and IBM Rational application Developer? (RAD) The key similarities and differences between the two to try to help developers familiar with IBM RAD use MyEclipse. MyEclipse and Rad Ides have many common concepts, tools, and devices, such as perspectives, views, parameters, and so on. In addition, there are a number of important differences between the two Ides, such as the default Workbench layout, tool name, and feature scope. We will strive to clarify the most fundamental differences to help you adapt to myeclipse as quickly as possible.

Note : WebSphere support requires a myeclipse blue or bling subscription.

2. Explore the MyEclipse Workbench

MyEclipse (and IBM RAD) are built on the Eclipse platform. Because of this, interfaces, layouts, concepts, and many of the UI elements in the two Ides are named very similar or identical. In this section, we'll look back at the most common areas in the IDE, such as the default view layout, available perspectives, project creation, and getting help.

2.1 View

Open the default MyEclipse Java Enterprise perspective in MyEclipse.

rad User Note : The layout of this perspective is similar to the RAD JEE perspective.

MyEclipse Java Enterprise Perspective

The left side of the MyEclipse Explorer is the main pattern you use to navigate project resources. There are also issues, tasks, servers, consoles, and other views. In addition to the default MyEclipse Java Enterprise perspective in MyEclipse, there are many other perspectives to provide other technologies, such as persistence technologies, databases, Swing GUI Design, Enterprise reports and so on.

Available perspectives

You can open any angle of view and use them to work together, and when your work involves a perspective (such as designing a swing GUI) resource, a hint is displayed in MyEclipse that lets you switch to the appropriate perspective.

2.2 Project Types

You can create a new MyEclipse item by using the shortcut button on the toolbar.

Start with a new item in the toolbar

You can also open a new Project window by selecting File>new>project. The New Project window displays a list of all supported project types.

Start a new item from the menu2.3 Comparison of project types between RAD and MyEclipse using WebSphere

For many technicians who are familiar with IBM Rad, you may be interested in knowing the types of projects that will continue to be used if they are still supported in MyEclipse. For a quick reference for new users, we provide the following matrix to let you know how the old IBM RAD project is mapped to the MyEclipse project or feature.

Precautions:

    • When using IBM Rad and MyEclipse in the same project, it will be displayed as "(same)".
    • Some project types carry the same name in two integrated development environments, but in fact they are different project types
IBM RAD Project Type IBM RAD Project Type
General (same) General (same)
Java (same) Java (same)
CVS (same) CVS (same)
Static Web project/dynamic Web Project Web Project
EJB Project EJB Project
Enterprise Application Project Enterprise Application Project
Utility Project Java Project
Application Client Project Application Client Project
Connector Project Connector Project
Portlet Project Portlet Project
Birt/crystal Reports Report Web Project
Eclipse Modeling Framework (same) Eclipse Modeling Framework (same)
Plug-in development (same) Plug-in development (same)

You will find that the same or similar project types are supported in MyEclipse for most projects that are working with IBM Rad.

2.4 Parameters

Adjust the parameters of the MyEclipse by selecting Window>preferences>myeclipse or myeclipse>preferences:

MyEclipse parameters2.5 Tutorials and sample projects

Now you may be familiar with MyEclipse, a good starting point for developers who want to learn how to use the MyEclipse tool is to start with the tutorials listed in the Help catalog. Each tutorial guides you through a specific technique to create a new project step-by-step. For novice developers who like to drill down from beginning to end, we recommend that you use on-demand myeclipse sample resources. You can find these examples by selecting Myeclipse>examples On-demand or by clicking Examples tab on the MyEclipse dashboard.

On-demand examples

The repository contains a number of items that can be installed directly into your workspace, and then run the project instructions provided below (typically in the README.txt file).

3. Common project Types

As you can see in section 2.3, MyEclipse supports a considerable number of ready-made project types. The most common project types in MyEclipse are enterprise application projects, which are owned by enterprise application project allocation modules (other projects), but do not contain project content, such as the source file itself.

Enterprise Application Module

You can easily modify projects that belong to enterprise applications, including many EJB, Web, or Java projects that are deployed or that belong to the enterprise application's project (EAR). You can also include application client projects, and connector projects with JCA support to connect one or more enterprise information systems (EIS). You can create, deploy, and test the deployment mode of your project to WebSphere 6.1 and later.

3.1 Web Project

An MyEclipse Web project is an Eclipse Java project that contains directory structure metadata that determines the web nature of the project and the JEE Web Archive (WAR) structure. There is no difference between a static or dynamic Web project for a Web project in MyEclipse. Only then, once a Web project has been created, it will have a very standard "exploded WAR" layout, by default:

+ (Project Root)
+/SRC (Source Directory)
+/webroot (Root of Deployed Web Project)
index.jsp (Default index Page)
+/web-inf (Protected web-inf Directory)
Web. XML (Deployment Descriptor)
+/lib (Directory for Web Project Libraries)
+/classes (Output Directory for Compiled classes)

When you include a Web project as an ear module, you can use an existing Web project or create a new project when you create a new ear project.

Select an existing or create a new project module

Use the Web Deployment Description Editor to configure the. XML file.

Deployment descriptor

To learn more about Web projects, see MyEclipse Web Project Tutorial.

3.2 EJB Project

A MyEclipse EJB project is a basic Eclipse Java project that contains the Meta-inf folder and MyEclipse EJB tools that require additional metadata, such as the EJB Creation Wizard and the MyEclipse deployment server. As a result, standard Eclipse and third-party Java tools can be used in MyEclipse EJB projects. You can differentiate between myeclipse EJB projects and other project types through the project icon. When one of the EJB projects is an ear module, you can use an existing EJB project or create a new one when you create a new ear project.

Select an existing or create a new project module

The form-based deployment description Editor makes it easy to edit the deployment descriptor for the project EJB.

EJB Deployment Profile Editor

To learn more about EJB project information, see MyEclipse EJB development.

3.3 Connector Project (JCA)

The ear project can include a JCA (connector) project module to connect one or more enterprise information systems (EIS). When you create a connector project, you can connect to the specified ear project.

To create a connector project

You can use the JCA editor to easily edit the connector configuration file,ra.xml.

Edit Connector Deployment Descriptor3.4 Application Client project (ACP)

When you create an application client project, you can associate with the specified ear project.

Create an Application client project

The Application client editor makes it easy to edit the application-client.xml file.

Application Client Deployment Descriptor

You can use the ACP Launch Configuration Wizard to start an important application client project. Access the configuration by right-clicking the project and selecting Run as>run configurations or Debug as>debug configurations.

Editing the application client startup configuration4. WebSphere Descriptor File Editor

JEE5 or later projects support the IBM Websphere-specific descriptor file bindings, extensions, and editing model extensions. MyEclipse contains visual editors for these descriptor files that use the ear, EJB, application client, and Web project. These special descriptor files are accessed by the application's deployment descriptor file editor for each project type. When you click the WebSphere deployment description linked, the editor checks to see if the file exists. If not, you can choose to generate files.

WebSphere Descriptor File Access

The Binding and extension files are created as versions 1.0 or 1.1, depending on the environment version when the WebSphere selected project target runs. WebSphere 8.0 uses the binding and extension Files 1.1 versions, and WebSphere 7.0 uses the 1.0 version.

Web binding Descriptor Editor Web Extension Descriptor Editor Web programming mode Extended Descriptor editor

MyEclipse official Chinese online line, welcome to download Communication!

MyEclipse WebSphere Overview (top)

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.