惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

W
WeLiveSecurity
T
The Exploit Database - CXSecurity.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
S
Security @ Cisco Blogs
T
Threat Research - Cisco Blogs
TaoSecurity Blog
TaoSecurity Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
腾讯CDC
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
F
Full Disclosure
博客园 - 【当耐特】
C
CERT Recently Published Vulnerability Notes
Engineering at Meta
Engineering at Meta
Application and Cybersecurity Blog
Application and Cybersecurity Blog
T
Threatpost
I
Intezer
V2EX - 技术
V2EX - 技术
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Hacker News
The Hacker News
小众软件
小众软件
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
B
Blog RSS Feed
Microsoft Security Blog
Microsoft Security Blog
N
News | PayPal Newsroom
MyScale Blog
MyScale Blog
AI
AI
Vercel News
Vercel News
Spread Privacy
Spread Privacy
美团技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The GitHub Blog
The GitHub Blog
V
Vulnerabilities – Threatpost
Schneier on Security
Schneier on Security
Cyberwarzone
Cyberwarzone
G
GRAHAM CLULEY
Help Net Security
Help Net Security
Hacker News: Ask HN
Hacker News: Ask HN
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
L
LINUX DO - 热门话题
U
Unit 42
L
LangChain Blog
Recent Announcements
Recent Announcements

博客园 - 飘扬的笨蛋

忘记了这个地方 想起了父亲 singleton 很就没来了 oracle 10G在fedora2上的安装 vi 使用 spring and webwork (ref from webwork wiki) oracle 想起了以前 无题 avalon 无题 - 一次建模 Avalon简介 重回Avalon JMS 学习 jpetstore学习第4章 jpetstore学习第3章 OrderService.java jpetstore学习第2章 关于PetStoreFacade.java picocontainer & ioc 最简单的例子
开始学习springframework带的jpetsore
飘扬的笨蛋 · 2004-08-13 · via 博客园 - 飘扬的笨蛋

plan
   step 1
        install
           see spingframework/samples/jpersore/readme.txt
   step 2
        use case
        spring带的jpetstore是对ibatis带的jpetstore的一个重新实现,而ibatis的jpetstore是对microsoft petstore的一个反击,所以它的设计理念源自miscrosoft的petsore,可参考http://msdn.microsoft.com/architecture/default.aspx?pull=/library/en-us/dnbda/html/PetShop3x.asp
       
   step 3
        view layer
        spring的jpetstore的提供2种view的实现:基于struts的实现和基于spring自身mvc架构的实现。现阶段的分析已基于struts的实现为主(为了生存)。
   step 4
        controller
        基于struts的controller的实现        
   step 5
        db layer
        基于ibatis的dao的实现
  step 6 
        系统的整体构架
         ----org.springframework.samples.jpetstore
             |----dao                (db layer)
             |----|----ibatis         (ibatis的DAO的实现)
             |--------|----SqlMapAccountDAO.java              (DAO接口的定义)
             |----AccountDAO.java              (DAO接口的定义)
             |----domain           (业务对象)
             |--------|----logic     (业务对象的校验,PetStore的Facade模式的定义/实现/OrderService的接口的定义)
             |--------Account.java  (系统的POJO对象)
             |----service
             |--------|----client
             |--------|----service
             |----web                                        (View layer & Controller Layer)
             |-----|----struts          (View layer的Sstruts的实现)
             |-----|----spring         (View layer的Spring的实现)

posted on 2004-08-13 16:47  飘扬的笨蛋  阅读(393)  评论()    收藏  举报