Java Knowledge System

Source: Internet
Author: User

1. Jquery + Spring MVC + spring + mybatis + SQL + mysql/oracle + logs

2. Big Data: Nginx

3. Performance analysis: Jvisualvm.exe, Nmon, VNC

4. Intermediate transitions: ActiveMQ, H2, Hazelcast, MongoDB

5. Linux Server Basic Operations Command, analysis

6. Commissioning and Maintenance: detailed comments, logs (development debug, online info, isdebugenabled ())

7. Performance Optimization: Thread pool (custom name for thread, easy to debug), database connection pool

8. Thread Safety: Concurrent Package: Concurrenthashmap,blockingqueue, Atomicinteger

9. Cache: Trigger update mechanism, timed update (not in time), cache to go to database to check, update cache (may have dirty data)

10. Data statistics: The main thread normal operation, sub-thread timing statistics (Atomicinteger)

11. Database connection: Database connection pool, preparestatment, batch commit, rs,ps,con off, one PS for SQL

12. Exception handling: The code that needs to be executed continuously in the loop ensures that the exception does not jump out of the loop

13. Old data processing: Export to a file, clear data before the specified time, and for critical data, you can move the time forward, such as: statistics five minutes ago data

14. Scheduled Tasks: Quarzt

15. Configuration file reads: XML (JAXB parsing); Propreties (properties analysis);

Configuration file location get: Tomcat under Classes directory, you can use: Sender.class.getResource ("/"). GetPath (); Normal jar file current directory: System.getproperty ("User.dir")

16. Code Update Backup: projectname_ date. tar.gz, backup code, backup configuration file

17. Garbled: Specify the encoding method in the filter;  Tomcat:uriencoding= "Utf-8"; GetByte ("Utf-8"), New String (buf, "Utf-8")

18. Technical accumulation: Summarize some common code, such as: CLOB type data processing, garbled processing

Java Knowledge System

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.