Submit Search
Upload
Batch Applications for Java Platform 1.0: Java EE 7 and GlassFish
Report
Share
Arun Gupta
Arun Gupta
Follow
•
6 likes
•
19,840 views
1
of
23
Batch Applications for Java Platform 1.0: Java EE 7 and GlassFish
•
6 likes
•
19,840 views
Report
Share
Download Now
Download to read offline
Technology
Batch Applications for Java Platform 1.0: Java EE 7 and GlassFish
Read more
Arun Gupta
Arun Gupta
Follow
Recommended
Java API for WebSocket 1.0: Java EE 7 and GlassFish by
Java API for WebSocket 1.0: Java EE 7 and GlassFish
Arun Gupta
23K views
•
45 slides
CON5898 What Servlet 4.0 Means To You by
CON5898 What Servlet 4.0 Means To You
Edward Burns
31.5K views
•
51 slides
JavaOne 2014 BOF4241 What's Next for JSF? by
JavaOne 2014 BOF4241 What's Next for JSF?
Edward Burns
29.8K views
•
33 slides
What's next for Java API for WebSocket (JSR 356) by
What's next for Java API for WebSocket (JSR 356)
Pavel Bucek
34.1K views
•
31 slides
Servlet 4.0 at GeekOut 2015 by
Servlet 4.0 at GeekOut 2015
Edward Burns
19.3K views
•
87 slides
HTTP/2 comes to Java. What Servlet 4.0 means to you. DevNexus 2015 by
HTTP/2 comes to Java. What Servlet 4.0 means to you. DevNexus 2015
Edward Burns
19.2K views
•
82 slides
More Related Content
What's hot
Reactive Java EE - Let Me Count the Ways! by
Reactive Java EE - Let Me Count the Ways!
Reza Rahman
104.5K views
•
39 slides
Ed presents JSF 2.2 and WebSocket to Gameduell. by
Ed presents JSF 2.2 and WebSocket to Gameduell.
Edward Burns
3.9K views
•
45 slides
Java EE 7 from an HTML5 Perspective, JavaLand 2015 by
Java EE 7 from an HTML5 Perspective, JavaLand 2015
Edward Burns
3.4K views
•
67 slides
Java EE 7 for WebLogic 12c Developers by
Java EE 7 for WebLogic 12c Developers
Bruno Borges
4K views
•
62 slides
Burns jsf-confess-2015 by
Burns jsf-confess-2015
Edward Burns
2.3K views
•
37 slides
Java EE Revisits GoF Design Patterns by
Java EE Revisits GoF Design Patterns
Murat Yener
15.9K views
•
46 slides
What's hot
(19)
Reactive Java EE - Let Me Count the Ways! by Reza Rahman
Reactive Java EE - Let Me Count the Ways!
Reza Rahman
•
104.5K views
Ed presents JSF 2.2 and WebSocket to Gameduell. by Edward Burns
Ed presents JSF 2.2 and WebSocket to Gameduell.
Edward Burns
•
3.9K views
Java EE 7 from an HTML5 Perspective, JavaLand 2015 by Edward Burns
Java EE 7 from an HTML5 Perspective, JavaLand 2015
Edward Burns
•
3.4K views
Java EE 7 for WebLogic 12c Developers by Bruno Borges
Java EE 7 for WebLogic 12c Developers
Bruno Borges
•
4K views
Burns jsf-confess-2015 by Edward Burns
Burns jsf-confess-2015
Edward Burns
•
2.3K views
Java EE Revisits GoF Design Patterns by Murat Yener
Java EE Revisits GoF Design Patterns
Murat Yener
•
15.9K views
WebSocket in Enterprise Applications 2015 by Pavel Bucek
WebSocket in Enterprise Applications 2015
Pavel Bucek
•
1.9K views
MVC 1.0 / JSR 371 by David Delabassee
MVC 1.0 / JSR 371
David Delabassee
•
12.7K views
JavaFX and JEE 7 by Vijay Nair
JavaFX and JEE 7
Vijay Nair
•
2K views
Have You Seen Java EE Lately? by Reza Rahman
Have You Seen Java EE Lately?
Reza Rahman
•
37.1K views
Oracle WebLogic Server 12.2.1 Do More with Less by Ed Burns
Oracle WebLogic Server 12.2.1 Do More with Less
Ed Burns
•
1.5K views
EJB and CDI - Alignment and Strategy by David Delabassee
EJB and CDI - Alignment and Strategy
David Delabassee
•
31.9K views
JSF 2.2 Input Output JavaLand 2015 by Edward Burns
JSF 2.2 Input Output JavaLand 2015
Edward Burns
•
1.9K views
Move from J2EE to Java EE by Hirofumi Iwasaki
Move from J2EE to Java EE
Hirofumi Iwasaki
•
17.8K views
JavaFX Enterprise by Hendrik Ebbers
JavaFX Enterprise
Hendrik Ebbers
•
2.5K views
Seven Points for Applying Java EE 7 by Hirofumi Iwasaki
Seven Points for Applying Java EE 7
Hirofumi Iwasaki
•
24.2K views
[RakutenTechConf2013] [E-3] Financial Web System with Java EE 6 by Rakuten Group, Inc.
[RakutenTechConf2013] [E-3] Financial Web System with Java EE 6
Rakuten Group, Inc.
•
21.5K views
Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, O... by jeckels
Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, O...
jeckels
•
4.8K views
JSR 236 Concurrency Utils for EE presentation for JavaOne 2013 (CON7948) by Fred Rowe
JSR 236 Concurrency Utils for EE presentation for JavaOne 2013 (CON7948)
Fred Rowe
•
4.2K views
Similar to Batch Applications for Java Platform 1.0: Java EE 7 and GlassFish
Batch Applications for the Java Platform by
Batch Applications for the Java Platform
Sivakumar Thyagarajan
1.9K views
•
25 slides
Red Hat and Oracle: Delivering on the Promise of Interoperability in Java EE 7 by
Red Hat and Oracle: Delivering on the Promise of Interoperability in Java EE 7
Max Andersen
1K views
•
23 slides
OTN Tour 2013: What's new in java EE 7 by
OTN Tour 2013: What's new in java EE 7
Bruno Borges
2.5K views
•
41 slides
Java EE 7 in practise - OTN Hyderabad 2014 by
Java EE 7 in practise - OTN Hyderabad 2014
Jagadish Prasath
765 views
•
31 slides
Why should i switch to Java SE 7 by
Why should i switch to Java SE 7
Vinay H G
2.5K views
•
46 slides
Java SE 8 by
Java SE 8
Simon Ritter
2K views
•
45 slides
Similar to Batch Applications for Java Platform 1.0: Java EE 7 and GlassFish
(20)
Batch Applications for the Java Platform by Sivakumar Thyagarajan
Batch Applications for the Java Platform
Sivakumar Thyagarajan
•
1.9K views
Red Hat and Oracle: Delivering on the Promise of Interoperability in Java EE 7 by Max Andersen
Red Hat and Oracle: Delivering on the Promise of Interoperability in Java EE 7
Max Andersen
•
1K views
OTN Tour 2013: What's new in java EE 7 by Bruno Borges
OTN Tour 2013: What's new in java EE 7
Bruno Borges
•
2.5K views
Java EE 7 in practise - OTN Hyderabad 2014 by Jagadish Prasath
Java EE 7 in practise - OTN Hyderabad 2014
Jagadish Prasath
•
765 views
Why should i switch to Java SE 7 by Vinay H G
Why should i switch to Java SE 7
Vinay H G
•
2.5K views
Java SE 8 by Simon Ritter
Java SE 8
Simon Ritter
•
2K views
OSI_MySQL_Performance Schema by Mayank Prasad
OSI_MySQL_Performance Schema
Mayank Prasad
•
617 views
GlassFish BOF by glassfish
GlassFish BOF
glassfish
•
13.7K views
Java EE7 by Jay Lee
Java EE7
Jay Lee
•
857 views
Programming-best practices( beginner) ADF_fusionapps by Berry Clemens
Programming-best practices( beginner) ADF_fusionapps
Berry Clemens
•
5.1K views
JavaCro'14 - Consuming Java EE Backends in Desktop, Web, and Mobile Frontends... by HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
JavaCro'14 - Consuming Java EE Backends in Desktop, Web, and Mobile Frontends...
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
•
1.9K views
Consuming Java EE in Desktop, Web, and Mobile Frontends by Geertjan Wielenga
Consuming Java EE in Desktop, Web, and Mobile Frontends
Geertjan Wielenga
•
6.2K views
Ebs troubleshooting con9019_pdf_9019_0001 by jucaab
Ebs troubleshooting con9019_pdf_9019_0001
jucaab
•
2.3K views
GlassFish in Production Environments by Bruno Borges
GlassFish in Production Environments
Bruno Borges
•
9.7K views
Ebs performance tuning session feb 13 2013---Presented by Oracle by Akash Pramanik
Ebs performance tuning session feb 13 2013---Presented by Oracle
Akash Pramanik
•
3.8K views
Java ee7 1hour by Frank Rodriguez
Java ee7 1hour
Frank Rodriguez
•
62 views
2015 JavaOne LAD JSF 2.3 & MVC 1.0 by mnriem
2015 JavaOne LAD JSF 2.3 & MVC 1.0
mnriem
•
624 views
How Scala, Wicket, and Java EE Can Improve Web Development by Bruno Borges
How Scala, Wicket, and Java EE Can Improve Web Development
Bruno Borges
•
2.9K views
Con11257 schifano con11257-best practices for deploying highly scalable virtu... by Berry Clemens
Con11257 schifano con11257-best practices for deploying highly scalable virtu...
Berry Clemens
•
3K views
Barun_Practical_and_Efficient_SQL_Performance_Tuning by Vlado Barun
Barun_Practical_and_Efficient_SQL_Performance_Tuning
Vlado Barun
•
497 views
More from Arun Gupta
5 Skills To Force Multiply Technical Talents.pdf by
5 Skills To Force Multiply Technical Talents.pdf
Arun Gupta
22 views
•
54 slides
Machine Learning using Kubernetes - AI Conclave 2019 by
Machine Learning using Kubernetes - AI Conclave 2019
Arun Gupta
718 views
•
49 slides
Machine Learning using Kubeflow and Kubernetes by
Machine Learning using Kubeflow and Kubernetes
Arun Gupta
2.3K views
•
57 slides
Secure and Fast microVM for Serverless Computing using Firecracker by
Secure and Fast microVM for Serverless Computing using Firecracker
Arun Gupta
1.3K views
•
42 slides
Building Java in the Open - j.Day at OSCON 2019 by
Building Java in the Open - j.Day at OSCON 2019
Arun Gupta
780 views
•
16 slides
Why Amazon Cares about Open Source by
Why Amazon Cares about Open Source
Arun Gupta
856 views
•
5 slides
More from Arun Gupta
(20)
5 Skills To Force Multiply Technical Talents.pdf by Arun Gupta
5 Skills To Force Multiply Technical Talents.pdf
Arun Gupta
•
22 views
Machine Learning using Kubernetes - AI Conclave 2019 by Arun Gupta
Machine Learning using Kubernetes - AI Conclave 2019
Arun Gupta
•
718 views
Machine Learning using Kubeflow and Kubernetes by Arun Gupta
Machine Learning using Kubeflow and Kubernetes
Arun Gupta
•
2.3K views
Secure and Fast microVM for Serverless Computing using Firecracker by Arun Gupta
Secure and Fast microVM for Serverless Computing using Firecracker
Arun Gupta
•
1.3K views
Building Java in the Open - j.Day at OSCON 2019 by Arun Gupta
Building Java in the Open - j.Day at OSCON 2019
Arun Gupta
•
780 views
Why Amazon Cares about Open Source by Arun Gupta
Why Amazon Cares about Open Source
Arun Gupta
•
856 views
Machine learning using Kubernetes by Arun Gupta
Machine learning using Kubernetes
Arun Gupta
•
354 views
Building Cloud Native Applications by Arun Gupta
Building Cloud Native Applications
Arun Gupta
•
458 views
Chaos Engineering with Kubernetes by Arun Gupta
Chaos Engineering with Kubernetes
Arun Gupta
•
2.1K views
How to be a mentor to bring more girls to STEAM by Arun Gupta
How to be a mentor to bring more girls to STEAM
Arun Gupta
•
470 views
Java in a World of Containers - DockerCon 2018 by Arun Gupta
Java in a World of Containers - DockerCon 2018
Arun Gupta
•
2.3K views
The Serverless Tidal Wave - SwampUP 2018 Keynote by Arun Gupta
The Serverless Tidal Wave - SwampUP 2018 Keynote
Arun Gupta
•
345 views
Introduction to Amazon EKS - KubeCon 2018 by Arun Gupta
Introduction to Amazon EKS - KubeCon 2018
Arun Gupta
•
3.5K views
Mastering Kubernetes on AWS - Tel Aviv Summit by Arun Gupta
Mastering Kubernetes on AWS - Tel Aviv Summit
Arun Gupta
•
2.4K views
Top 10 Technology Trends Changing Developer's Landscape by Arun Gupta
Top 10 Technology Trends Changing Developer's Landscape
Arun Gupta
•
2.5K views
Container Landscape in 2017 by Arun Gupta
Container Landscape in 2017
Arun Gupta
•
1.4K views
Java EE and NoSQL using JBoss EAP 7 and OpenShift by Arun Gupta
Java EE and NoSQL using JBoss EAP 7 and OpenShift
Arun Gupta
•
1.5K views
Docker, Kubernetes, and Mesos recipes for Java developers by Arun Gupta
Docker, Kubernetes, and Mesos recipes for Java developers
Arun Gupta
•
3.4K views
Thanks Managers! by Arun Gupta
Thanks Managers!
Arun Gupta
•
1.9K views
Migrate your traditional VM-based Clusters to Containers by Arun Gupta
Migrate your traditional VM-based Clusters to Containers
Arun Gupta
•
2.9K views
Recently uploaded
GDSC GLAU Info Session.pptx by
GDSC GLAU Info Session.pptx
gauriverrma4
15 views
•
28 slides
Netmera Presentation.pdf by
Netmera Presentation.pdf
Mustafa Kuğu
22 views
•
50 slides
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」 by
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」
PC Cluster Consortium
29 views
•
68 slides
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De... by
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Moses Kemibaro
38 views
•
38 slides
Business Analyst Series 2023 - Week 4 Session 8 by
Business Analyst Series 2023 - Week 4 Session 8
DianaGray10
180 views
•
13 slides
The Power of Generative AI in Accelerating No Code Adoption.pdf by
The Power of Generative AI in Accelerating No Code Adoption.pdf
Saeed Al Dhaheri
44 views
•
18 slides
Recently uploaded
(20)
GDSC GLAU Info Session.pptx by gauriverrma4
GDSC GLAU Info Session.pptx
gauriverrma4
•
15 views
Netmera Presentation.pdf by Mustafa Kuğu
Netmera Presentation.pdf
Mustafa Kuğu
•
22 views
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」 by PC Cluster Consortium
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」
PC Cluster Consortium
•
29 views
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De... by Moses Kemibaro
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Moses Kemibaro
•
38 views
Business Analyst Series 2023 - Week 4 Session 8 by DianaGray10
Business Analyst Series 2023 - Week 4 Session 8
DianaGray10
•
180 views
The Power of Generative AI in Accelerating No Code Adoption.pdf by Saeed Al Dhaheri
The Power of Generative AI in Accelerating No Code Adoption.pdf
Saeed Al Dhaheri
•
44 views
AI + Memoori = AIM by Memoori
AI + Memoori = AIM
Memoori
•
15 views
Generative AI: Shifting the AI Landscape by Deakin University
Generative AI: Shifting the AI Landscape
Deakin University
•
78 views
Evaluation of Quality of Experience of ABR Schemes in Gaming Stream by Alpen-Adria-Universität
Evaluation of Quality of Experience of ABR Schemes in Gaming Stream
Alpen-Adria-Universität
•
44 views
Digital Personal Data Protection (DPDP) Practical Approach For CISOs by Priyanka Aash
Digital Personal Data Protection (DPDP) Practical Approach For CISOs
Priyanka Aash
•
171 views
Choosing the Right Flutter App Development Company by Ficode Technologies
Choosing the Right Flutter App Development Company
Ficode Technologies
•
13 views
What is Authentication Active Directory_.pptx by HeenaMehta35
What is Authentication Active Directory_.pptx
HeenaMehta35
•
15 views
AIM102-S_Cognizant_CognizantCognitive by PhilipBasford
AIM102-S_Cognizant_CognizantCognitive
PhilipBasford
•
23 views
"Node.js Development in 2024: trends and tools", Nikita Galkin by Fwdays
"Node.js Development in 2024: trends and tools", Nikita Galkin
Fwdays
•
37 views
The Coming AI Tsunami.pptx by johnhandby
The Coming AI Tsunami.pptx
johnhandby
•
14 views
Cencora Executive Symposium by marketingcommunicati21
Cencora Executive Symposium
marketingcommunicati21
•
174 views
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And... by ShapeBlue
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...
ShapeBlue
•
120 views
"Surviving highload with Node.js", Andrii Shumada by Fwdays
"Surviving highload with Node.js", Andrii Shumada
Fwdays
•
59 views
Initiating and Advancing Your Strategic GIS Governance Strategy by Safe Software
Initiating and Advancing Your Strategic GIS Governance Strategy
Safe Software
•
198 views
PCCC23:日本AMD株式会社 テーマ2「AMD EPYC™ プロセッサーを用いたAIソリューション」 by PC Cluster Consortium
PCCC23:日本AMD株式会社 テーマ2「AMD EPYC™ プロセッサーを用いたAIソリューション」
PC Cluster Consortium
•
27 views
Batch Applications for Java Platform 1.0: Java EE 7 and GlassFish
1.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.1
2.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.2 Batch Applications for the Java Platform Arun Gupta Java EE & GlassFish Guy arun.p.gupta@oracle.com
3.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.3 The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
4.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.4 Batch Applications for the Java Platform § Standardizes batch processing for Java – Non-interactive, bulk-oriented, long-running – Data or computationally intensive – Sequentially or in parallel – Ad-hoc, scheduled or on-demand execution § Led by IBM § Spring Batch, WebSphere Compute Grid (WCG), z/OS Batch § Part of Java EE 7, can be used in Java SE
5.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.5 Batch Domain Language
6.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.6 Batch Domain Language
7.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.7 Batch Domain Language
8.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.8 Chunked Processing
9.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.9 Chunked Processing: Reader, Processor, Writer public interface ItemReader<T> { public void open(Externalizable checkpoint); public T readItem(); public Externalizable checkpointInfo(); public void close(); } public interface ItemProcessor<T, R> { public R processItem(T item); } public interface ItemWriter<T> { public void open(Externalizable checkpoint); public void writeItems(List<T> items); public Externalizable checkpointInfo(); public void close(); }
10.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.10 //For a job <step id=”sendStatements”> <chunk reader=”accountReader” processor=”accountProcessor” writer=”emailWriter” item-count=”10” /> </step> Batch Applications for the Java Platform Step Example using Job Specification Language (JSL) @Named(“accountReader") ...implements ItemReader... { public Account readItem() { // read account using JPA @Named(“accountProcessor") ...implements ItemProcessor... { public Statement processItems(Account account) { // read Account, return Statement @Named(“emailWriter") ...implements ItemWriter... { public void writeItems(List<Statements> statements) { // use JavaMail to send email
11.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.11 Checkpointing § For data intensive tasks, long periods of time – Checkpoint/restart is a common design requirement § Basically saves Reader, Writer positions – Naturally fits into Chunk oriented steps – reader.checkpointInfo() and writer.checkpointInfo() are called – The resulting Externalizable data is persisted – When the Chunk restarts, the reader and writer are initialized with the respective Externalizable data
12.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.12 Chunked Processing: Checkpoint public interface ItemReader<T> { public void open(Externalizable checkpoint); public T readItem(); public Externalizable checkpointInfo(); public void close(); } public interface ItemProcessor<T, R> { public R processItem(T item); } public interface ItemWriter<T> { public void open(Externalizable checkpoint); public void writeItems(List<T> items); public Externalizable checkpointInfo(); public void close(); }
13.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.13 Handling Exceptions <job id=...> ... <chunk skip-limit=”5” retry-limit=”5”> <skippable-exception-classes> <include class="java.lang.Exception"/> <exclude class="java.io.FileNotFoundException"/> </skippable-exception-classes> <retryable-exception-classes> ... </retryable-exception-classes> <no-rollback-exception-classes> ... </no-rollback-exception-classes> </chunk> ... </job>
14.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.14 Partitioned Step § A batch step may run as a partitioned step – A partitioned step runs as multiple instances of the same step definition across multiple threads, one partition per thread <step id="step1" > <chunk ...> <partition> <plan partitions=“10" threads="2"/> <reducer .../> </partition> </chunk> </step>
15.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.15 Partitioning – Advanced Scenarios § Partition Mapper – Dynamically decide number of partitions (partition plan) § Partition Reducer – Demarcate logical unit of work around partition processing § Partition Collector – Sends interim results from individual partition to step's partition analyzer § Partition Analyzer – Collection point of interim results, single point of control and analysis
16.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.16 Flow and Split § Flow defines a set of steps to be executed as a unit <flow id=”flow-1" next=“{flow, step, decision}-id” > <step id=“flow_1_step_1”> </step> <step id=“flow_1_step_2”> </step> </flow> § Split defines a set of flows to be executed in parallel <split …> <flow …./> <!– each flow runs on a separate thread --> <flow …./> </split>
17.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.17 Batchlet § Task oriented unit of work § Not item-oriented § Doesn't support resume § Simple Batchlet interface – process(), stop()! § In Job XML: <batchlet ref=”{name}”/>
18.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.18 Programming Model – Advanced Scenarios § CheckpointAlgorithm § Decider § Listeners – Job, Step, Chunk Listeners … § @BatchProperty String fname = “/tmp/default.txt”! § @BatchContext JobContext jctxt;!
19.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.19 Batch Runtime Specification § JobOperator interface – for programmatic lifecycle control of jobs § Step level Metrics through the StepExecution object § Batch Artifact loading through CDI § Job XML loading through META-INF/batch-jobs/myJob.xml § Packaging – jar, war, ejb-jar
20.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.20 Example: Programmatic Invocation of Jobs In a Servlet/EJB: import javax.batch.runtime.BatchRuntime; ... JobOperator jo = BatchRuntime.getJobOperator(); jo.start("myJob", new Properties()); ...
21.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.21 Where to Find Out More § Read the final spec and API docs at http://java.net/projects/jbatch/ § Join public@jbatch.java.net and send questions and comments § RI integrated in GlassFish 4.0 – http://glassfish.java.net/ – http://dlc.sun.com.edgesuite.net/glassfish/4.0/promoted/
22.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.22 Graphic Section Divider
23.
Copyright © 2012,
Oracle and/or its affiliates. All rights reserved.23