JEUS Concurrency Utilities Guide 

JEUS 8

Restricted Rights Legend

All TmaxSoft Software (JEUS®) and documents are protected by copyright laws and international convention. TmaxSoft software and documents are made available under the terms of the TmaxSoft License Agreement and this document may only be distributed or copied in accordance with the terms of this agreement. No part of this document may be transmitted, copied, deployed, or reproduced in any form or by any means, electronic, mechanical, or optical, without the prior written consent of TmaxSoft Co., Ltd. Nothing in this software document and agreement constitutes a transfer of intellectual property rights regardless of whether or not such rights are registered) or any rights to TmaxSoft trademarks, logos, or any other brand features.

This document is for information purposes only. The company assumes no direct or indirect responsibilities for the contents of this document, and does not guarantee that the information contained in this document satisfies certain legal or commercial conditions. The information contained in this document is subject to change without prior notice due to product upgrades or updates. The company assumes no liability for any errors in this document.

Trademarks

JEUS® is registered trademark of TmaxSoft Co., Ltd.

Java and Solaris are registered trademarks of Oracle Corporation and its subsidiaries and affiliates.

Microsoft, Windows, and Windows NT are registered trademarks or trademarks of Microsoft Corporation.

HP-UX is a registered trademark of Hewlett Packard Enterprise Company.

AIX is a registered trademark of International Business Machines Corporation.

UNIX is a registered trademark of X/Open Company, Ltd.

Linux is a registered trademark of Linus Torvalds.

Other products and company names are trademarks or registered trademarks of their respective owners.

The names of companies, systems, and products mentioned in this manual may not necessarily be indicated with a trademark symbol (TM, ®).

Open Source Software Notice

Some modules or files of this product are subject to the terms of the following licenses. : APACHE2.0, CDDL1.0, EDL1.0, OPEN SYMPHONY SOFTWARE1.1, TRILEAD-SSH2, Bouncy Castle, BSD, MIT, SIL OPEN FONT1.1

Detailed Information related to the license can be found in the following directory : ${INSTALL_PATH}/lib/licenses

Document Information

Title: JEUS Concurrency Utilities Guide 

Publication Date: 2018-01-31

Software Version: JEUS 8

Edition: v2.1.1


Table of Contents

About This Document
1. Concurrency Utilities for Java EE
1.1. Overview
1.2. Managed Tasks
1.3. Container Thread Context
2. Managed Objects
2.1. ManagedExecutorService
2.2. ManagedScheduledExecutorService
2.3. ContextService
2.4. ManagedThreadFactory

List of Figures

[Figure 2.1] Configuring ManagedExecutorService in WebAdmin
[Figure 2.2] Configuring ManagedScheduledExecutorService in WebAdmin
[Figure 2.3] Configuring ContextService in WebAdmin
[Figure 2.4] Configuring ManagedThreadFactory in WebAdmin

List of Examples

[Example 2.1] Example of Defining ManagedExecutorService as a Resource: <<domain.xml>>
[Example 2.2] Example of an Application using ManagedExecutorService
[Example 2.3] Example of Defining ManagedScheduledExecutorService as a Resource: <<domain.xml>>
[Example 2.4] Example of an Application using ManagedScheduledExecutorService
[Example 2.5] Example of Defining ContextService as a Resource: <<domain.xml>>
[Example 2.6] Example of an Application using ContextService
[Example 2.7] Example of Defining ManagedThreadFactory as a Resource: <<domain.xml>>
[Example 2.8] Example of an Application using ManagedThreadFactory