1 The choice of the overall architecture is to choose the heavyweight architecture or the Pojo lightweight architecture.
2 system modeling, is the choice of process design or object-oriented design.
Programmatic design means that the business logic layer provides only one service interface and implementation.
Object-oriented design refers to the use of domain model mode, the whole system of the overall object modeling and design.
3 How to access the database is the way to choose JDBC or use the current persistence layer framework
4 How to handle concurrent transactions, concurrent processing of short transactions, and concurrent processing of long transactions.
Concurrent processing of short transactions, there are several scenarios to choose from:
A The least used and the worst performing is the transaction level with isolation.
B Optimistic Lock pessimistic lock
5 The choice of the server is whether to choose the Tomcat level or the application server.
6 selection of connection pools.
7 How to deal with the pressure on the database
How to judge the pressure of the database on the specific table, the pressure of the table adopted what strategy to deal with?
Database pressure, is it necessary to do horizontal or vertical segmentation? Is it a hash or other strategy for a specific table?
8 How to do database load balancing
9 How to do the application load is sacrifice
Several issues to be addressed by the Java Web architecture