<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    posts - 4, comments - 5, trackbacks - 0, articles - 10

    spring事務(wù)最佳實踐

    Posted on 2005-11-23 10:55 勇敢的心 閱讀(218) 評論(0)  編輯  收藏

    A good starting point for a small application with a couple of transactional business objects is the TransactionProxyFactoryBean. This option is easy to configure and provides enough flexibility for most needs.

    For applications with several business classes that need transaction demarcations, we recommend using a parent/child setup . You specify a TransactionProxyFactoryBean as an abstract parent bean that has the base definitions. You can then easily reference this parent bean for any class that needs to have transactions applied without repeating all the configuration settings for all the classes.

    If you have a really large application with many business objects, then you should consider using an auto-proxying solution. This includes both the BeanNameAutoProxyCreator and the DefaultAdvisorAutoProxyCreator mentioned earlier.

    Annotations are going to see increased use once J2SE 5.0 is in widespread use. We believe that at that point, the annotation solutions discussed earlier in this chapter often will replace the other solutions entirely based on external bean configuration files.


    只有注冊用戶登錄后才能發(fā)表評論。


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 亚洲综合色在线观看亚洲| 国产精品免费看香蕉| 久久青青草原亚洲AV无码麻豆 | 亚洲乱码av中文一区二区| 亚洲免费观看网站| 亚洲国产综合在线| 大陆一级毛片免费视频观看i| 亚洲色成人四虎在线观看| 成人黄18免费视频| WWW亚洲色大成网络.COM| 国产aa免费视频| 一本一道dvd在线观看免费视频| 亚洲偷自拍拍综合网| 国产在线播放线91免费| 亚洲a一级免费视频| 久久久久av无码免费网| 亚洲欧美日韩国产成人| 免费人成年轻人电影| 中文字幕免费在线看电影大全| 亚洲国产AV无码专区亚洲AV| 16女性下面扒开无遮挡免费| 亚洲天堂免费在线| 午夜亚洲av永久无码精品| 久久国产免费观看精品| 亚洲中文字幕在线无码一区二区| 国产精品无码一二区免费| 亚洲视频在线免费| 亚洲精品视频久久| 日本一区二区三区日本免费| www.xxxx.com日本免费| 亚洲欧洲日产国码www| 四虎永久成人免费| 一级毛片全部免费播放| 亚洲av永久无码一区二区三区| 亚洲精品岛国片在线观看| 免费视频成人片在线观看| 午夜亚洲国产精品福利| 亚洲好看的理论片电影| 毛片a级三毛片免费播放| 三级黄色片免费看| 亚洲永久网址在线观看|