Welcome!

Di Li

Subscribe to Di Li: eMailAlertsEmail Alerts
Get Di Li via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Di Li

A custom multithreading framework is an efficient way to improve the performance of Java applications. It uses an asynchronous parallel pattern to implement the business process. However, its traditional Java thread-based implementation shouldn't be used in applications hosted in a J2EE Application Server because the threads in that framework are beyond the control of the J2EE Container. This article will discuss an intelligent solution for implementing custom multithreading by using message-driven beans. This message-driven bean based multithreading framework enables the J2EE container to manage threads and multiple MDBs to execute the business logic in parallel. Java multithreading makes maximum use of the CPU by keeping the processor's idle time to minimum. To avoid the overhead of creating threads on-the-fly, every J2EE application server container has a defaul... (more)

Design a Reference Data Service in J2EE Application Server Clusters

A multitiered J2EE-based enterprise application is usually deployed on multiple J2EE application servers running on geographically separated machines. It may also integrate the services distributed in heterogeneous applications within an enterprise (such as an ERP application or a mainframe legacy application). The Java application servers may also be grouped in clusters for scalability and high availability. Improving overall system performance is becoming a challenging task. To build a high-performance J2EE application, we will create a reference data service by downloading fr... (more)