Build eclipse+myeclipse development environment

Source: Internet
Author: User
Tags tomcat server

Eclipse+myeclipse difference: One is open source free software, one is based on open source free and developed by the fee software. MyEclipse is adding more plugins on the basis of eclipse ... I think myeclipse is easier to operate and easier to use than eclipse. But it is charged ~-_ MyEclipse is a commercial use, to be registered, and not open source, because the copyright issue, so the general company is not used MyEclipse Eclipse is open source, It can also be used for web development, such as with the WTP plugin.

ECLIPSE:IBM spent $40 million to develop the IDE (Integrated development environment). The first edition of 1.0 was released in November 2001 and was subsequently gradually welcomed. Eclipse has become an open source project, with most of the development thrown in the hands of IBM, but one part is dominated by Eclipse.org's software Alliance. (http://www.eclipse.org) The Eclipse project is managed by Project Management Committee (PMC), which takes a holistic overview of the project and divides the Eclipse project into 3 sub-projects: • Platform Platform Development Toolbox-java Development Toolkit (JDT) • External development Environment-plug-in Development Environmen (PDE) These sub-projects are subdivided into more sub-projects. For example, the platform subproject contains several components, such as compare, help, and search. The JDT subproject consists of three components: User Interface (UI), kernel (core), and Debugging (Debug). The PDE subproject consists of two components: UI and Core. -------------------------------------------MyEclipse Enterprise-class work platform (MyEclipse Enterprise Workbench, abbreviated MYECLIPSE) is the eclipse The expansion of the IDE allows us to greatly improve productivity in the development, release, and application server integration of the database and the Java EE. It is a feature-rich Java EE integrated development environment, including complete coding, debugging, testing and publishing functions, complete support html,struts,jsf,css,javascript, SQL, Hibernate. In structure, the characteristics of myeclipse can be divided into 7 categories: 1. Java EE Model 2. Web Development Tools 3. EJB development tool 4. Connector 5 for the application server. The Java EE Project Deployment service 6. Database service 7. MyEclipse integration Help for each of these functional categories, there are corresponding functional parts in eclipse, and they are implemented through a series of plugins. This modularity in the MYECLIPSE structure allows us to expand and upgrade any module independently without affecting other modules. -------------------------------Worthwhile noteThe idea is that eclipse is written in Java and should be executed on any platform. But, strictly speaking, Eclipse is not cross-platform because it is built using the native graphics of the job platform. So eclipse can execute on that platform when the SWT (Standard Widget Toolkit) is ported to the platform. But in reality it's not a big problem, because SWT has been ported to several common platforms, including Windows, Linux/motif, Linux/gtk2, Solaris, QNX, AIX, HP-UX and Mac OS X.

Eclipse is a Java development IDE, very popular, open things do not have a standard IDE like VS2005, so many of the IDE hegemony market, so far Eclipse is a winner. Eclipse has a lot of plug-ins to improve its various editing functions, you can completely use the plug-in, but all the code to write your own, no one will be so stupid. So using eclipse is to generate the code with its various plug-ins and call the JRE compiler. The JRE doesn't matter with eclipse. As far as the release to Tomcat, it's okay with eclipse, but Eclipse has a tomcat plugin that makes it easy to publish. Remember that it is "convenient" rather than must. Like transplanting rice, can be hand-inserted, but with rice transplanter that is a cool. MyEclipse is actually a plugin, it also needs to install Eclipse and then install it. But it is a charge plug-in, in fact, it includes a lot of plug-ins, very practical, more than some free to have fewer bugs, more perfect function, after all, is a charge of things. It's just that we cracked it.

1.install Eclipse 2.Installing MyEclipseFirst download the Enterpriseworkbenchinstaller_4.1.1ga_e3.1.exe (Enterpriseworkbenchinstaller_4.1.1ga_e3.1.exe for:http://www.myeclipseide.com/ContentExpress-display-ceid-10.html);
Then install Enterpriseworkbenchinstaller_4.1.1ga_e3.1.exe. Note: To select the installation path () for eclipse when installing to the steps shown, the other options remain the default.

After installation, the 2 directories features and plugins under the MyEclipse installation directory are overwritten to the installation directory of Eclipse.
Finally uninstall the MyEclipse that you just installed.
Explain the reasons for doing this: because MyEclipse is a plugin for Eclipse, Eclipse will automatically recognize these plugins by overwriting the 2 directories of features and plugins to the installation directory of Eclipse.
Here, MyEclipse installation is complete.
   Five, crack myeclipse
Run the MyEclipse4.1.1 keygen MyEclipseKeyGen.exe, select the version number of the MyEclipse, enter the registration name, and generate the serial number. (The myeclipse4.x keygen is:
Http://esoft.g8.com.cn/UploadFiles/2006-5/520753587.rar)
Run Eclipse.exe (Specify workspace for first run), click window----> Preferences---->myeclipse---->subscription----> Enter Subscription, type the registration name and the registration code generated by the Registrar.
Here, the MyEclipse hack is complete.Vi. specifying the Eclipse+myeclipse JRE and Tomcat server
1. Setting the Eclipse+myeclipse JRE
In general, eclipse can automatically find the JRE, and we don't have to make too many settings.
2. Set the Eclipse+myeclipse Tomcat server
Just set the two places noted in the diagram, and the rest of the diagram is automatically generated.

Here, our Eclipse+myeclipse development environment is built!
   Vii. Create a new project to test whether the Eclipse+myeclipse development environment has been successfully built1. In eclipse, tap File----> New----> Project, and in the New Project dialog box that pops up, tap Web project---->myeclipse----> Java EE Projects---->web project ", click" Next ", enter the project name" Test "in" Project name "and the last point" Finish ".
2. Click "Test" in the Package Explorer list on the left of Eclipse to expand the project test. Right-click WebRoot----> New----> JSP to create a new JSP page named hello.jsp. Code such as (the callout part of the figure we need to manually add, the rest of the system is automatically generated)::

3. In the same way, create a new JSP file called hello_result.jsp, code such as:

4. Deploy (Deployment) project.
Click the Deploy button (the button with the red line is the Deploy button) and click Add in the popup window to deploy the test project ().

5. Start the Tomcat server.
As shown (a button drawn with a red line is the button that launches Tomcat):

Tomcat initiates output information such as:

6. Results of the project test run:

We can go to Eclipse's workspace directory to see the code of the test project, or go to Tomcat's WebApps directory to see the structure of the test project after deployment.

Build eclipse+myeclipse development environment

Related Article

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.