Skip to content

An example on how to integrate JobRunr with MicroProfile on OpenLiberty

Notifications You must be signed in to change notification settings

jobrunr/example-microprofile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JobRunr MicroProfile example

This repository shows an example how you can integrate JobRunr with JakartaEE using OpenLiberty.

About this project

This project has the following packages:

  • org.jobrunr.examples: this package contains 2 classes:
    • JobRunrExampleApplication: the EE application that defines the context path
    • JobRunrProvider: a class that produces various beans that can be consumed in the http resources. It also contains the BackgroundJobServer responsible for processing background jobs.
  • org.jobrunr.examples.services: this package contains MyService, a simple ApplicationScoped service with two example methods which you can run in the background.
  • org.jobrunr.examples.webap.api: this package contains two http resources:
    • JobResource: this resource contains two REST api's which allows you to enqueue new Background Jobs
    • BackgroundJobServerResource: this resource allows you to start and stop the BackgroundJob server

How to run this project:

About

An example on how to integrate JobRunr with MicroProfile on OpenLiberty

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages