---
title: "有谁把rest应用到实际项目中吗？有哪些需要注意的地方？"
author: "dreamlakyxy"
date: "2007-07-30T12:05:16Z"
tags: []
categories: ["企业架构"]
slug: "rest"
draft: false
lastmod: "2007-07-30T12:05:16Z"
id: 106951
url: "https://dreamlakyxy.iteye.com/blog/106951"
---

最近公司产品要重构。公司原有产品是struts+spring+hibernate.所有的均采用单表方式。

由于公司考虑到以后的并发量，要求重新设置数据库，采用分库，分表的方式。
有两种方案：
1.采用rest架构，采用cetia4,struts(兼用以前一些老的程序），spring，jdbcTemplate,jstel,sitemesh
2.采用 struts+spring+jdbcTemplate,jstl+freemarker,sitemesh

不知道这里，有谁把rest架构应用到过实际的项目，有哪些需要注意的地方？