Spring Framework 2.0  デファクトスタンダードDIコンテナの現在と未来



Similar documents

PowerPoint プレゼンテーション

DIコンテナ 前 回 ご 説 明 したSpring DIコンテナに 共 通 するこ とは 依 存 を 注 入 することによってシステム 内 に 存 在 するオブジェクト 同 士 の 結 びつきを 緩 くすることで あり そのための 仕 組 み 提 供 を 意 味 する [Spring のDIコンテナ

REALV5_A4…p_Ł\1_4A_OCF

untitled

「都市から地方への人材誘致・移住促進に関する調査」

<91498EE88CA D815B2E786C73>

〔 大 会 役 員 〕

橡本体資料+参考条文.PDF

Lecture on

1 Dependency Injection glue glue glue glue glue GluonJ GluonJ glue Dependency Injection Aspect-Oriented Programming Meets Dependency Injection Rei Ish

Javaで体験するスクリプト言語の威力

Microsoft PowerPoint - JavaFesta.ppt

wpEnterpriseSvr.doc

untitled


九谷ジャズファンクラブ(KJFC)公式ホームページ


Seasar.NET入門

2 Java 35 Java Java HTML/CSS/JavaScript Java Java JSP MySQL Java 9:00 17:30 12:00 13: 項目 日数 時間 習得目標スキル Java 2 15 Web Java Java J

V8.1新規機能紹介記事

b2bintro.book

3 no.

Oracle9i JDeveloperによるWebサービスの構築

JSplus23蜿キ.indd

国文研ニューズ35.indd

untitled

ホロン株式会社のご紹介

untitled

5-1- 基 開 発 フレームワークに 関 する 知 識 現 在 普 及 が 期 待 されている 開 発 フレームワークの 実 際 の 開 発 運 用 Ⅰ. 概 要 の 際 に 必 要 な 管 理 知 識 手 法 の 種 類 と 特 徴 内 容 を 理 解 し 必 要 なノ ウハウを 実 務 レベル


1

untitled

OOW_I06

% 32.3 DI DI





Flex2とS2Flex2とAIR紹介

58.pdf

WEBサービス超入門 mask.key

パフォーマンス徹底比較 Seasar2 vs Spring 2006/04/12 株式会社電通国際情報サービスひがやすを株式会社アークシステム本間宏崇 Copyright the Seasar Foundation and the others all rights reserved.


9iAS_DEV.PDF

2015-Springのハナシ


Gartner Day

Web2.0 LL Framework Ruby on Rails / TurboGears / CakePHP Atlas Web2.0 XML Selenium / JMeter 3 Ajax Web 2.0 UI Ruby on Rails Web 2. ASP.NET AJAX,

2 key. 3

JB_weblogic_guide.indd

多摩のかけはしNo98 表1表4色

XISによる効率良いシステム開発のポイント

installtk.ps

TravelXMLを利用した Webサービス実証実験デモ

No.28

Testing XML Performance

スライド 1

- 1 -

%

ID010-2

2

項 目

java_servlet2_見本



untitled

rmi.book

5-1- 応開発フレームワークに関する知識 開発フレームワークを利用した Web アプリケーションの実装方法を理 Ⅰ. 概要解する MVC や OR マッピング DIxAOP といった技術を理解する Ⅱ. 対象専門分野職種共通 Ⅲ. 受講対象者 本カリキュラムの 5-1- 基開発フレームワークに関す

B5‘·¢‡Ì…X…X…†PDFŠp

JPROM-PRINT

Microsoft Word - ‰IŠv⁄T†`⁄V87†`97.doc

untitled

B2-Servlet-0112.PDF

T2でつなごう! -つなぐつながるWebフレームワーク「T2」の紹介

PowerPoint Presentation


●70974_100_AC009160_KAPヘ<3099>ーシス自動車約款(11.10).indb

SpringDownload版.ppt

2

付加情報をもったファイル共有システム

PowerPoint プレゼンテーション

Q&A集

untitled

Microsoft Word - migrateto10g2.doc

改訂版 :基本的な文字化の原則(Basic Transcription System for Japanese: BTSJ)

untitled

untitled


untitled

imagio Wide 7040

untitled

<4D F736F F D2081A193B98BE EA97708CFB8DC08B4B92E D8D878CFB8DC0817A B4B816A81798A6D92E894C5817A2E646F63>


untitled

橡okamura-ppt.PDF

2


( )


Transcription:

Spring Framework 2.0 DI zuisener@gmail.com

Java Web Struts/Spring/iBATIS ibatis Spring 2

Spring 2.0: The Spring Experience 2006: 3

Seasar2 DIxAOP POJO XML 4

2.0 XML AspectJ AOP 1.x 5

DI

Bean 1. singleton prototype request session globalsession myscope 2. 3. 7

Bean singleton prototype 8

2.0 Bean singleton session 9

Bean singleton session singleton request session 10

<bean id= scopeservice class= jp.co.example.scopeservice scope= request > </bean> Bean session globalsession singleton prototype <aop:scoped-proxy/> singleton,prototype org.springframework.web.context.request. RequestContextListener 11

Bean Bean 12

Bean session Bean / session session 13

Bean thread 14

XML XML DTD XML 15

XML Spring XML <bean id= datasource class="org.springframework.jndi.jndiobjectfactorybean"> <property name="jndiname" value="jdbc/datasource"/> <property name="jndienvironment"> <props> <prop key="foo">bar</prop> <prop key= password">password</prop> </props> </property> </bean> 16

XML 2.0 <bean jee:jndi-lookup id= datasource class="org.springframework.jndi.jndiobjectfactorybean"> <property name="jndiname" value="jdbc/datasource"/> <property jee: name="jndienvironment"> <props> <prop key= username">user</prop> = <prop key= password">password</prop> = </props> </property> jee:jndienvironment> </bean> jee:jndi-lookup> 17

XML Bean 18

XML DI 19

DI 20

AOP - Answer Or Problem? -

AOP AOP AOP 22

AOP 23

24

AOP AOP AOP 25

AOP AOP AOP API / 26

AspectJ AOP @AspectJ XML AOP aop 27

AspectJ @AspectJ AspectJ5 Java AspectJ Spring 28

AspectJ XML XML aop @ 29

AOP 30

- Just Plain Cool -

Groovy Java JRuby JVM Ruby BeanShell Java

Bean Java 33

public interface AccountService { int getamout(string accountid); } require java include_class AccountService class AccountServiceMock < AccountService def getamount return 1000 end end Java JRuby 34

<lang:jruby id= accountservicemock script-source= classpath:accountservicemock.rb script-interfaces= AccountService refresh-check-delay= 1000 /> 35

GUI 36

37

The Spring Experience 2006

The Spring Experience 2006 Interface21 Spring 2006 12 2005 700 39

The Spring Experience 2006 BEA Oracle Sun 40

The Spring Experience 2006 InfoQ DI, AOP InfoQ Java/.NET/Ruby 41

Spring 21 Simple Object 42

Spring 21 DI AOP PSA (Portable Service Abstractions) Spring Remote DB AP 43

DIxAOP 44

Spring J2EE 45