Your SlideShare is downloading. ×
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.1WebLogic Server 勉強会Batch Applications for the Java Pl...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.2Program Agenda Batch Applications for the Java Platf...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.3Batch Applications for the Java PlatformJava EE 7 概要J...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.4Batch Applications for the Java Platform バッチ処理– バッチ処...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.5Batch Applications for the Java Platform Java以外の言語のバ...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.6Batch Applications for the Java Platform JSR-352:Jav...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.7Batch Applications for the Java Platformアーキテクチャ<job i...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.8Batch Applications for the Java Platform JobOperator...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.9
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.10
Upcoming SlideShare
Loading in...5
×

Batch Applications for the Java Platform (JSR-352) Java EE 7 New Feature

1,154

Published on

JSR-352:Javaのバッチアプリケーションの標準仕様を説明。
実行順序制御、チャンク処理、チェックポイント、エラー処理(リトライ・スキップ)、並列実行・条件分岐が可能。
日本オラクル 松林 晶

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,154
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Transcript of "Batch Applications for the Java Platform (JSR-352) Java EE 7 New Feature"

  1. 1. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.1WebLogic Server 勉強会Batch Applications for the Java Platform(JSR-352) Java EE 7 New Feature2013年 5月23日日本オラクル株式会社Fusion Middleware事業統括本部 松林晶
  2. 2. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.2Program Agenda Batch Applications for the Java Platform
  3. 3. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.3Batch Applications for the Java PlatformJava EE 7 概要Java EE 7ConcurrencyBatchApplicationsJSON APIWebSocketJMS 2.0JAX-RS 2.0EL 3.0Expanded CDI& REST SupportBroad IndustryParticipationBuild on EE 6Momentum
  4. 4. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.4Batch Applications for the Java Platform バッチ処理– バッチ処理は、広く普及している処理のパターン– ほぼ全ての業界/事業部門で一括処理は、バッチ処理の候補– 特徴 バルク志向(一括処理) 非対話型(画面でオペレーションするものではない) バックグラウンド実行(ピーク時を避けて実行) 順次・並列で処理 アドホック・スケジュール実行・オンデマンド実行バッチ処理とは長時間の実行非対話型一括処理
  5. 5. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.5Batch Applications for the Java Platform Java以外の言語のバッチ処理– COBOL+JCL Javaのバッチ処理– Spring Batch 等 各種フレームワークでバッチ処理を実装– バッチアプリケーションのための標準仕様はなかった今までのバッチ処理
  6. 6. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.6Batch Applications for the Java Platform JSR-352:Javaのバッチアプリケーションの標準仕様– Java EEの一部だが、SE環境でも利用可能– アノテーションベースのプログラミング 設定系はXMLファイルに定義 何ができるか– 実行順序制御、チャンク処理– チェックポイント– エラー処理(リトライ・スキップ)– 並列実行・条件分岐Batch Applications for the Java Platformとは<step id=”sendStatements”><chunk reader=”accountReader”processor=”accountProcessor”writer=”emailWriter”item-count=”10” /></step>
  7. 7. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.7Batch Applications for the Java Platformアーキテクチャ<job id="myJob" xmlns="http://batch.jsr352/jsl"><step id="myStep"><chunk item-count="3"><reader ref="myItemReader"/><processor ref="myItemProcessor"/><writer ref="myItemWriter"/></chunk></step></job>@Named(“myItemReader ")...implements ItemReader... {public Account readItem() {
  8. 8. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.8Batch Applications for the Java Platform JobOperatorのインスタンスを取得して実行 WAR形式– バッチの定義ファイル(XML)は WEB-INF/classes/META-INF/batch-jobs/ に置くバッチの実行// Jobオペレータの参照を取得するJobOperator jo = BatchRuntime.getJobOperator();// XMLに定義してあるJOB定義のIDを指定し、任意のJobを実行jo.start("myJob", new Properties());
  9. 9. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.9
  10. 10. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.10

×