FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
javaee-tutorial-examples/batch/simple at master · dancer1325/javaee-tutorial-examples · GitHub
dancer1325
javaee-tutorial-examples
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
javaee-tutorial-examples
/
batch
/
simple
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
Breadcrumbs
javaee-tutorial-examples
/
batch
/
simple
/
Copy path
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
.mvn/
wrapper
.mvn/
wrapper
src/
main
src/
main
.gitignore
.gitignore
README.md
README.md
mvnw
mvnw
mvnw.cmd
mvnw.cmd
pom.xml
pom.xml
README.md
Outline
Structure
'simple.xml'
placed under 'main/webapp'
define the job -- via -- JSL
'MyReader.java'
'input retrieval part'
items are each line of the file
'MyProcessor.java'
'business processing part'
'MyWriter.java'
'output writing part'
if no checkpoint is provided -> it overwrites the output file, -- TODO: How to check? --
else -> it resumes writing at the end of the file
items are written in chunks -- TODO: How to check? --
'MyBatchlet.java'
task step
How to run locally?
mvn package
set up a glassfish server
Example video1
Example video2
run the glassfish server adding 'hello2.war'
Open in your browser 'localhost:8080' to check that it shows 'index.html'
TODO: What else?
Notes
Generics are NOT supported -- Check 'MyWriter' --
Back
|
FazBrowse Home
|
New Git URL