This sample demonstrates the use of nonpersistent timers and asynchronous methods through a simple timer Web application deployed to Liberty.
This sample can be installed onto runtime versions 126.96.36.199 and later.
Online installation (requires 188.8.131.52 or later):
installUtility install NonPersistentTimerSample
Any missing features required by the server will be installed for you.
NonPersistentTimerSample.jarusing the download button at the top of the page and place it in the root of your server installation.
java -jar NonPersistentTimerSample.jar
Any missing features required by the server will need to be installed separately.
CWWKZ0001I: Application NonPersistentTimerSampleWeb started in XX.XX seconds.
EJB Asynchronous Methods and Timers.
NonPersistentTimerSampleWeb.war file contains the source and binaries for the application, and can be used to import it to Eclipse.
This sample does not include the open source dependencies. The installer will provide a list of the open source pre-requisite libraries and where they can be downloaded from. To help obtaining these libraries, the installer provides the option to download them on your behalf.