Installation and configuration of the Eclipse plugin for Java Development (end)

Source: Internet
Author: User
Tags tld

Installation and configuration of the Tomcat plugin

Tomcatplugin plugin Download URL http://www.eclipsetotale.com/ tomcatplugin.html, download a compressed package Tomcatpluginv321.zip unzip to the plugins subdirectory under the Eclipse root directory, so that the installation is complete. Restart Eclipse, if the installation and download are correct, you can see three Tomcat kittens on the toolbar after launching the Eclipse platform, the first one is to start Tomcat, the second is to stop Tomcat, and the third is to restart Tomcat.

If you do not see the Tomcat kitten after restarting Eclipse, go to Windows---Customize perspective---commands, find tomcat to select it, click OK And then find Tomcat under Windows---Preferences, select, choose Version in Tomcat version, Tomcat home is your tomcat's installation path, click OK, then tomcat configuration is basically complete.

Tomorrow add the installation and configuration of hibernate under Eclipse ....

Hibernate Synchronizer plug-in installation

Let's start by describing what this is really about. It is an Eclipse plugin that automates the generation of *.HBM files, persisted classes, and DAO.

It has the following features:

1. Automatically generate Hibernate.cfg.xml files via the Hibernate Synchronizer Plugin Wizard support

2. Synchronously generate the *.hbm.xml file for the database table via the Hibernate Synchronizer Plugin Wizard

3. Creating persistent classes and DAO synchronously with *.hbm.xml files

4. Hibernate Synchronizer Editor *.hbm.xml file provided

5. Customize your code and resources to generate templates in a language called velocity

Hibernate Synchronizer has two installation methods, the first is the traditional, first to http://hibernatesynch.sourceforge.net/download plug-in files, Then copy them to Eclipse's plugins and feature directories. Personal recommendations The second method, the second method is to open Eclipse in the Help menu of Eclipse to find software updates, and then select Find and install, and then choose Search for new features to Install, click Next, another dialog box appears, click on the right of the new remote site ... button, a new Update Site dialog box appears, fill in the Name field with Hibernate Plugin, fill in the URL bar with http://hibernatesynch.sourceforge.net/, and then click OK to go back to the previous dialog box, There's a new Hibernate plugin check box selected, click Finish. OK, now just wait for Eclipse to download it automatically.

Note: The download path will change over time, I give is now can be used, the address changed, the address bar in the change, or will be reported can not find the wrong.

Tomorrow is the installation and configuration of struts in eclipse .....

The use of the struts framework in eclipse

Struts is used in eclipse in two ways: one is to not use the struts plugin, it is in development, after the project is created, the struts binary package is imported into the project. The second is to use the Strutside plug-in, which can automatically add struts support to the project, create controllers, models, and views, and it is best to provide a graphical interface for various related configurations.

Note: The plugin is currently only supported to eclipse3.0.

First of all:

In http://struts.apache.org/download.cgi#struts209 download, you can choose the version you want. After downloading the Lib package, you can see that there are two file suffixes. TLD and. jar files. Import the. tld suffix file into the project's Web-inf directory later in development, and import the. jar suffix file into the project's Web-inf/lib directory. This makes it possible to develop a project on struts.

The second way:

The http://sourceforge.jp/projects/amateras/files/can be downloaded, the downloaded package is unzipped, the extracted folder will be placed in the Eclipse plugins directory.

The above is the use of struts under Eclipse, we can also use myeclipse to develop struts projects, which I will specifically post, with MyEclipse to develop a variety of web projects.

I'm going to end this today, so finally the application of the spring framework under Eclipse

Use of the spring framework

Let's introduce the concept of spring. Spring is a lightweight framework that supports the development of Java EE. It is divided into:

1.IoC Inversion Control

It relies on the dependency injection design pattern, which allows the developer to ignore the object's own life cycle and its relationships, and to improve the developer's use of the pattern. There are currently three types of dependency injection: The setup-based approach, the builder-based approach, and the interface-based injection approach, spring supports the first two.

2.AOP aspect-oriented programming

Orientation-oriented programming is a major model of software development, making it easier to build and implement large-scale enterprise-level development. With spring-implemented interceptors, developers can implement declarative use of enterprise-class services. With spring AOP, developers can use the EE Enterprise Services more efficiently.

3. Abstract Services

The Spring abstraction service unifies various Java EE APIs with the help of various Java EE API abstractions. In this way, developers can quickly grasp the core content of the various Java EE APIs, and can consistently use the Java EE technology to reduce the amount of application code and streamline the system.

Spring:http://sourceforge.net/projects/springframework

Go to the download page, you can see there are two versions: Spring-framework-1.2.9-with-dependencies.zip and Spring-framework-1.2.9.zip, the first one suggested. When you use it, the. jar file is imported into the project.

Installation and configuration of the Eclipse plugin for Java Development (end)

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.