java is a double-edged sword, can be heavy to hurt, can also be heavy to hurt themselves. Was seen in an Taobao build long-term use of java web project, reached a conclusion: Humpty.
Practical work experience to the conclusion, diehard reasons not java itself is often the reason, but the accumulation varies based team members, many times "accidentally" accumulated into the final result. When is too late to appreciate the extent of naturally. How to avoid java use self-injury, the key is that a unified team of code entry box may happen, can not avoid what happened, get on, began to introduce the following two very good java open source project, with two project, you can get all of the mysql + java projects and the expansion of freedom in any direction without fear of the development of die-hard.
1) rose Framework:
Wang Zhiliang heroes from all the network comes up, the excellent performance of the SNS website under support complex business (all networks a lot of use), while development is very convenient, there are a large number of documents available for reference.
Amoeba (Amoeba) project, focused on the development of distributed database proxy. Transparent to the client. With load balancing, high availability, sql filter, read-write separation, routing related query to the target database, multiple databases can be complicated by merging the results of the request. This project will use the DB layer can be transparent, simple to do sub-library sub-table, or even infinite partition. Author Chen Siru heroes.
Here are an interview with the author two years ago Fenng:
1) configuration rose in the data source for the amoeba
2) Configure amoeba to mysql (using the amoeba-mysql)