Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 11. Enterprise integration > RESTful job monitoring with Spring MVC

11.6. RESTful job monitoring with Spring MVC

The online store application can now receive updates more frequently; you implemented this feature in the previous section. But the system is a black box to the client that submits imports. How can clients know that the application received and successfully processed the imports they submitted? It’s time to complement the REST interface of our new system by communicating the status of imports.

Remember the first step of the import job: mapping the import to the job instance in the database. Spring Batch maintains metadata about the executions of batch processes—this is a key feature for monitoring but also for restarting jobs—so accessing the metadata is useful to communicate the state of an import job to a client.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial