Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit 380cb7c

Browse files
committed
Use offsets for headings
Signed-off-by: Guillermo González de Agüero <[email protected]>
1 parent 9b10c73 commit 380cb7c

File tree

461 files changed

+1688
-1646
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

461 files changed

+1688
-1646
lines changed

src/main/asciidoc/batch-processing/batch-processing.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
=== Batch Processing
1+
= Batch Processing
22

33
[[GKJIQ6]][[batch-processing]]
44

src/main/asciidoc/batch-processing/batch-processing001.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[BCGJDEEH]][[introduction-to-batch-processing]]
22

3-
==== Introduction to Batch Processing
3+
== Introduction to Batch Processing
44

55
Some enterprise applications contain tasks that can be executed without
66
user interaction. These tasks are executed periodically or when resource
@@ -38,7 +38,7 @@ other common characteristics of batch frameworks.
3838

3939
[[sthref261]][[steps-in-batch-jobs]]
4040

41-
===== Steps in Batch Jobs
41+
=== Steps in Batch Jobs
4242

4343
A step is an independent and sequential phase of a batch job. Batch jobs
4444
contain chunk-oriented steps and task-oriented steps.
@@ -98,7 +98,7 @@ files from the bills generated for the previous month.
9898

9999
[[sthref263]][[parallel-processing]]
100100

101-
===== Parallel Processing
101+
=== Parallel Processing
102102

103103
Batch jobs often process large amounts of data or perform
104104
computationally expensive operations. Batch applications can benefit
@@ -115,7 +115,7 @@ run in parallel.
115115

116116
[[sthref264]][[status-and-decision-elements]]
117117

118-
===== Status and Decision Elements
118+
=== Status and Decision Elements
119119

120120
Batch frameworks keep track of a status for every step in a job. The
121121
status indicates if a step is running or if it has completed. If the
@@ -147,7 +147,7 @@ ends."]
147147

148148
[[sthref266]][[batch-framework-functionality]]
149149

150-
===== Batch Framework Functionality
150+
=== Batch Framework Functionality
151151

152152
Batch applications have the following common requirements.
153153

src/main/asciidoc/batch-processing/batch-processing002.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[BCGGIBHA]][[batch-processing-in-jakarta-ee]]
22

3-
==== Batch Processing in Jakarta EE
3+
== Batch Processing in Jakarta EE
44

55
This section lists the components of the batch processing framework in
66
Jakarta EE and provides an overview of the steps you have to follow to
@@ -17,7 +17,7 @@ The following topics are addressed here:
1717

1818
[[BABEAFJI]][[the-batch-processing-framework]]
1919

20-
===== The Batch Processing Framework
20+
=== The Batch Processing Framework
2121

2222
Jakarta EE includes a batch processing framework that consists of the
2323
following elements:
@@ -39,7 +39,7 @@ Java classes to run the jobs in a batch application.
3939

4040
[[BABCGDHJ]][[creating-batch-applications]]
4141

42-
===== Creating Batch Applications
42+
=== Creating Batch Applications
4343

4444
The process for creating a batch application in Jakarta EE is the
4545
following.
@@ -59,7 +59,7 @@ the batch processing framework in Jakarta EE to create batch applications.
5959

6060
[[BABDGDJB]][[elements-of-a-batch-job]]
6161

62-
===== Elements of a Batch Job
62+
=== Elements of a Batch Job
6363

6464
A batch job can contain one or more of the following elements:
6565

@@ -89,7 +89,7 @@ the next step or to terminate the batch job.
8989

9090
[[BABHJEJC]][[properties-and-parameters]]
9191

92-
===== Properties and Parameters
92+
=== Properties and Parameters
9393

9494
Jobs and steps can have a number of properties associated with them. You
9595
define properties in the job definition file, and batch artifacts access
@@ -118,7 +118,7 @@ Application].
118118

119119
[[BABHJGDH]][[job-instances-and-job-executions]]
120120

121-
===== Job Instances and Job Executions
121+
=== Job Instances and Job Executions
122122

123123
A job definition can have multiple instances, each with different
124124
parameters. A job execution is an attempt to run a job instance. The
@@ -128,7 +128,7 @@ link:#BCGIBGFC[Checking the Status of a Job].
128128

129129
[[BABBFGEF]][[batch-and-exit-status]]
130130

131-
===== Batch and Exit Status
131+
=== Batch and Exit Status
132132

133133
The state of jobs, steps, splits, and flows is represented in the batch
134134
runtime as a batch status value. Batch status values are listed

src/main/asciidoc/batch-processing/batch-processing003.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[BCGHBJIG]][[simple-use-case]]
22

3-
==== Simple Use Case
3+
== Simple Use Case
44

55
This section demonstrates how to define a simple job using the Job
66
Specification Language (JSL) and how to implement the corresponding
@@ -35,7 +35,7 @@ follows:
3535

3636
[[sthref268]][[chunk-step]]
3737

38-
===== Chunk Step
38+
=== Chunk Step
3939

4040
In most cases, you have to implement a checkpoint class for
4141
chunk-oriented steps. The following class just keeps track of the line
@@ -162,7 +162,7 @@ public class MyWriter implements javax.batch.api.chunk.ItemWriter {
162162

163163
[[sthref269]][[task-step]]
164164

165-
===== Task Step
165+
=== Task Step
166166

167167
The task step displays the length of the output file. In more complex
168168
scenarios, task steps perform any task that does not fit the chunk

src/main/asciidoc/batch-processing/batch-processing004.adoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[BCGDDBBG]][[using-the-job-specification-language]]
22

3-
==== Using the Job Specification Language
3+
== Using the Job Specification Language
44

55
The Job Specification Language (JSL) enables you to define the steps in
66
a job and their execution order using an XML file. The following example
@@ -56,7 +56,7 @@ child elements.
5656

5757
[[sthref270]][[the-job-element]]
5858

59-
===== The job Element
59+
=== The job Element
6060

6161
The `job` element is always the top-level element in a job definition
6262
file. Its main attributes are `id` and `restartable`. The `job` element
@@ -93,7 +93,7 @@ executes first.
9393

9494
[[sthref271]][[the-step-element]]
9595

96-
===== The step Element
96+
=== The step Element
9797

9898
The `step` element can be a child of the `job` and `flow` elements. Its
9999
main attributes are `id` and `next`. The `step` element can contain the
@@ -172,7 +172,7 @@ The following is an example of a task step:
172172

173173
[[sthref272]][[the-chunk-element]]
174174

175-
====== The chunk Element
175+
==== The chunk Element
176176

177177
The `chunk` element is a child of the `step` element for chunk-oriented
178178
steps. The attributes of this element are listed in link:#BCGJCIEI[Table
@@ -298,7 +298,7 @@ attempts.
298298

299299
[[sthref274]][[the-batchlet-element]]
300300

301-
====== The batchlet Element
301+
==== The batchlet Element
302302

303303
The `batchlet` element is a child of the `step` element for
304304
task-oriented steps. This element only has the `ref` attribute, which
@@ -322,7 +322,7 @@ This example defines a batch step and specifies its batch artifact.
322322

323323
[[sthref275]][[the-partition-element]]
324324

325-
====== The partition Element
325+
==== The partition Element
326326

327327
The `partition` element is a child of the `step` element. It indicates
328328
that a step is partitioned. Most partitioned steps are chunk steps where
@@ -462,7 +462,7 @@ interface.
462462

463463
[[sthref276]][[the-flow-element]]
464464

465-
===== The flow Element
465+
=== The flow Element
466466

467467
The `flow` element can be a child of the `job`, `flow`, and `split`
468468
elements. Its attributes are `id` and `next`. Flows can transition to
@@ -497,7 +497,7 @@ last step does not have the `next` attribute. The flow transitions to
497497

498498
[[sthref277]][[the-split-element]]
499499

500-
===== The split Element
500+
=== The split Element
501501

502502
The `split` element can be a child of the `job` and `flow` elements. Its
503503
attributes are `id` and `next`. Splits can transition to splits, steps,
@@ -519,7 +519,7 @@ concurrently:
519519

520520
[[sthref278]][[the-decision-element]]
521521

522-
===== The decision Element
522+
=== The decision Element
523523

524524
The `decision` element can be a child of the `job` and `flow` elements.
525525
Its attributes are `id` and `next`. Steps, flows, and splits can

src/main/asciidoc/batch-processing/batch-processing005.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[BCGHDHGH]][[creating-batch-artifacts]]
22

3-
==== Creating Batch Artifacts
3+
== Creating Batch Artifacts
44

55
After you define a job in terms of its batch artifacts using the Job
66
Specification Language (JSL), you create these artifacts as Java classes
@@ -19,7 +19,7 @@ The following topics are addressed here:
1919

2020
[[BABDAIBI]][[batch-artifact-interfaces]]
2121

22-
===== Batch Artifact Interfaces
22+
=== Batch Artifact Interfaces
2323

2424
The following tables list the interfaces that you implement to create
2525
batch artifacts. The interface implementations are referenced from the
@@ -163,7 +163,7 @@ referenced from the `listener` element inside the `step` element.
163163

164164
[[BCGIFJBB]][[dependency-injection-in-batch-artifacts]]
165165

166-
===== Dependency Injection in Batch Artifacts
166+
=== Dependency Injection in Batch Artifacts
167167

168168
To ensure that Jakarta Contexts and Dependency Injection (CDI) works in your
169169
batch artifacts, follow these steps.
@@ -246,7 +246,7 @@ injected objects.
246246

247247
[[BCGCJEEF]][[using-the-context-objects-from-the-batch-runtime]]
248248

249-
===== Using the Context Objects from the Batch Runtime
249+
=== Using the Context Objects from the Batch Runtime
250250

251251
The batch runtime provides context objects that implement the
252252
`JobContext` and `StepContext` interfaces in the

src/main/asciidoc/batch-processing/batch-processing006.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[BCGCAHCB]][[submitting-jobs-to-the-batch-runtime]]
22

3-
==== Submitting Jobs to the Batch Runtime
3+
== Submitting Jobs to the Batch Runtime
44

55
The `JobOperator` interface in the `javax.batch.operations` package
66
enables you to submit jobs to the batch runtime and obtain information
@@ -16,7 +16,7 @@ the `getJobOperator` factory method to obtain `JobOperator` objects.
1616

1717
[[sthref282]][[starting-a-job]]
1818

19-
===== Starting a Job
19+
=== Starting a Job
2020

2121
The following example code demonstrates how to obtain a `JobOperator`
2222
object and submit a batch job:
@@ -38,7 +38,7 @@ is only known at runtime.
3838

3939
[[BCGIBGFC]][[checking-the-status-of-a-job]]
4040

41-
===== Checking the Status of a Job
41+
=== Checking the Status of a Job
4242

4343
The `JobExecution` interface in the `javax.batch.runtime` package
4444
provides methods to obtain information about submitted jobs. This
@@ -60,7 +60,7 @@ String status = jobExec.getBatchStatus().toString();
6060

6161
[[sthref283]][[invoking-the-batch-runtime-in-your-application]]
6262

63-
===== Invoking the Batch Runtime in Your Application
63+
=== Invoking the Batch Runtime in Your Application
6464

6565
The component from which you invoke the batch runtime depends on the
6666
architecture of your particular application. For example, you can invoke

src/main/asciidoc/batch-processing/batch-processing007.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[BCGBBGJI]][[packaging-batch-applications]]
22

3-
==== Packaging Batch Applications
3+
== Packaging Batch Applications
44

55
Job definition files and batch artifacts do not require separate
66
packaging and can be included in any Jakarta EE application.

0 commit comments

Comments
 (0)