Xots (XPages OSGi Tasklet Service) is one of the most powerful aspects of ODA. It is heavily used for the EMBridgeMessageQueue functionality. It is key to speeding up heavy-duty tasks, flexible reporting over large datasets, and minimising impact on users of long-running processes. It is designed to enable these tasks to be coded within the application and re-use existing logic as far as possible without needing to duplicate code.
The Xots service should be started automatically by the platform's implementation of ODA and you can access it via Xots.getService(). From there you can call submit(Runnable) or submit(Callable) to register and trigger a Xots tasklet to the service. See the sub-pages for examples and information about creating the tasklet classes.