|
|
Intel BlogsWhitepapers
|
J2EE environment tuningJava System Web Server Application: Java is increasingly popular as a programming language in the enterprise IT environment. Many companies have invested substantial time and money in terms of hardware, application server software, and databases. This article is the first of two that present a systematic technique for optimizing Java code, specifically addressing a three-tier architecture that is extensible to any multi-tier environment. Read this article first, then move to J2EE Application Tier Tuning.
from Intel Corp. Java is increasingly popular as a programming language in the enterprise IT environment. Many companies have invested substantial time and money in terms of hardware, application server software, and databases. Yet most of these companies are not getting full use of the equipment and software that they have purchased or the full use of the software they have developed for those products. This is because all of these components usually require some amount of tuning before they communicate efficiently, and tuning several interdependent components is difficult and time consuming without a proper approach. This article is the first of two that present a systematic technique for optimizing Java code, specifically addressing a three-tier architecture that is extensible to any multi-tier environment. Read this article first, then move to J2EE Application Tier Tuning. To better illustrate the discussion, we'll use a fictitious online pet store as an example. All implementation details refer to a Windows 2000 environment, but should be applicable with few or no changes to a Windows NT or XP environment. All concepts will apply equally to a Linux environment, but no specific Linux resources will be suggested. This document is intended for software developers who have a minimum of one year of Java development experience, familiarity with developing test workloads, and use of performance and monitoring tools. Your environment, however, may require advanced techniques not covered in this document and may require professional services, such as Intel® Solution Services, which has extensive experience assisting independent software vendors on all Intel-based platforms.
Before you begin You must also determine the right time to start the tuning process. Preparation for tuning will probably take you about one month, possibly more depending on the complexity of the product. The tuning itself will take at least one month for a team that is inexperienced in performance tuning. This must all be timed so that the tuning can take place on code that is near ready for release or code that has recently been release but can be easily patched for your customers. Don't invest resources tuning code that will be replaced before it is ever used in production.
Define the scope
Define the workload
In the case of a Web application, the concept of the workload is straight forward, but there are still some pitfalls. The easiest way to make a workload is to select a set of URLs. This can be done by identifying common user patterns. For example:
Consider these factors when creating a workload manually:
Subscribers who liked this article also read:
If you're interested in this topic, these articles may be helpful:
Related Jobs:
|
|
|