Concurrent « J2EE « Java Articles

Java Articles
1. Class Definition
2. Data
3. Development
4. GUI
5. J2EE
6. J2ME
7. JavaBeans
8. Language
9. Microsoft Collabration
10. Network
11. Swing
12. System Resource
13. XML
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java Articles » J2EE » Concurrent 
1. Add concurrent processing with message-driven beans
Author:Amit Poddar
URL:http://www.javaworld.com/javaworld/jw-07-2003/jw-0718-mdb.html?
Summary: Adding concurrency to an application in the J2EE (Java 2 Platform, Enterprise Edition) framework is severely restricted because of two main reasons; first, the EJB (Enterprise JavaBeans) specification restricts spawning new user threads in an EJB container, and second, methods on a session bean can only be invoked synchronously. However, many applications require concurrent implementations to ensure an acceptable response time. There are multiple ways to overcome these limitations. Messaging becomes the obvious choice because of its inherent asynchronous nature and strong integration with J2EE application servers via JMS (Java Message Service) and message-driven beans (MDBs). This article describes in detail how MDBs can effectively provide concurrency to J2EE applications. (2,900 words; July 18, 2003)


w_ww_._j_a__v_a__2_s___.__c___o___m | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.