---
title: "spring简介"
author: "olikeit"
date: "2013-10-22T14:56:42Z"
tags: []
categories: ["开源软件"]
slug: "spring"
draft: false
lastmod: "2013-10-22T14:56:42Z"
id: 1962287
url: "https://olikeit.iteye.com/blog/1962287"
---

## Spring简介

         Spring是分层的JavaSE/EE full-stack(一站式) 轻量级开源框架

         * JavaEE 程序在服务器端被分为三层（Web层【表现层】、业务逻辑层、数据访问层【集成层、持久层】）

         * struts2 是表现层MVC的框架

         * hibernate 是数据访问层（持久层）的完全ORM框架

 

Spring框架中包括JavaEE 三层的每一层的解决方案所以称之为一站式解决方案

         * web层  SpringMVC

         * 业务层 Spring Bean管理、AOP、事务管理

         * 持久层 Spring JDBCTemplate、 ORM模块（整合其他持久层框架）