SSH environment built in eclipse

Source: Internet
Author: User

Hibernate:

Hibernate is an object/relational database mapping tool for the Java environment that is used to map objects that object-oriented model identities to the data structures of the SQL-based relational model. Hibernate's goal is to release the developer's usual data persistence-related programming tasks 95% for a data-centric program, often using stored procedures to implement business logic in a database, hibernate may not be the best solution, but for which Java-based middleware applications, Hibernate is the most useful design with an object-oriented business model and business logic. In any case, hibernate can eliminate the SQL code for a particular database vendor and convert the result set from a tabular form to a value object.

Hibernate not only manages the Java class-to-database table mapping (including the Java data type to the SQL data type mapping), but also provides the data query and the method to obtain the data, can greatly reduce the development time using SQL and JDBC processing data.

http://hibernate.org/orm/downloads/Download Hibernate

Hibernate 3.*: Classes are separated from mappings, that is, one class is created for each table, and each class appends an XML mapping file to create a mapping between the class and the database within the mapping file.

Po=pojo (Persistent object Java object) + mapping relationship (XML)

Hibernate 4.*:po =pojo+ Persistence annotations (JPA standard annotations)

Install hibernate4.3.*:

Decompression: Documentation: Files that store hibernate

Lib: This path holds the core class library of Hibernate, and the third-party class library on which the compilation and operation depends. The required subdirectory under the Lib path holds the Core class library running Hibernate4.3, as well as the required third-party class libraries.

Project: Contains the source code for hibernate's various related projects.

Add all jar packages under the required subdirectory under the Lib directory of the extracted path to the application's class load path

Ant

Ide

If you are using the Hibernate API class directly in control too compiled, you will need to add the Hibernate core jar package and the required dependency jar package locations to the Classpath species. If you use IDE tools such as the Ant tool or eclipse, you do not need to modify environment variables.

Spring:

http://repo.springsource.org/libs-release-local/into org->springframework->spring

Download Spring-framework-[4.0.4.release]-dist.zip

folder under this folder

Docs: Documents that store sping, including development guides, API reference documents

Libs:

Three types of jar packages:

Jar Package for Spring Framework class file

The spring frame source file's compressed package, with the file name ending with-cources

Compressed package for Spring Framework API documentation with file name ending with-javadoc

The entire spring framework consists of 21 modules, which will see that spring provides three compressed packages for each module

Schemas: XML Schema document containing spring's various configuration files

Descriptive documentation

Add the jar package copy of the class file of the required module in the Libs directory to the class load path of the project-and you can add it by adding an environment variable, or you can use the Inheritance tool to manage the application's class load path. If you need to publish the app, you can publish these jar packages together so that there are not too many requirements, we recommend that you add a jar package for the class file of all modules in the Libs directory (21 total)

Spring trusted containers must rely on the jar package with common-logging, http://commons.apache.org/site Download the latest Commons-logging tool, get commons-logging-[1.2]- Bin.zip

Struts2

http://struts.apache.org/download.cgi#struts216 Download

The folder contains the following folders, the structure:

Apps: This folder contains a sample app for Struts2

Docs: Related documents containing Struts2

Core class Library of LIB:STRUTS2 framework and third-party plug-in class library of Strut2

Full source code for the SRC:STRUT2 framework

Into the APPD directory of the STRUTS2 decompression directory can see Struts2-*.war, such as 5 compressed package, the 5 compressed package is STRUTS2 provided example, will Struts2-*.war compressed package web-inf\ path to take care of all *. The jar file is copied to the Web app under the Web-inf/lib path. If you need to manually compile STRUTS2-related programs under a DOS or Shell window, you should also add Struts2-core-*.jar and Xwork-core-*.jar to the CLASSPATH environment variables of your system.

. War decompression: cmd in C:\users\zby\downloads\struts-2.3.20\apps>jar xvf Struts2-blank.war can be extracted

SSH environment built in eclipse

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.