Java performance optimization Summary (1)

Source: Internet
Author: User

Some experts once said that for J2EE development, the performance bottleneck lies in the database, but rarely lies inCode.

I have summarized the following: I do not know whether it is completely correct. It is based on my personal experience.

1. hardware should be in the first place. Good hardware can solve a lot of software problems. If you have enough money, you should first consider hardware.

2. database design is also very important. Some companies simply emphasize that arraylist should be used instead of vector, and the impact of the performance on Database Design with poor performance is negligible.

3. EJB Design. Of course, it is about using ejbs. If you don't need ejbs, it will save you a lot of trouble. Haha. The performance of EJB lies in the use of entity beans. There are also romt and local interfaces.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.