1. It proves that Java program is run everywhere at once, and also proves the cross-platform feature of Java program, basically do not make great changes to run the program normally;
2. The physical separation between the data layer and the business layer is done, and Windows is made a database server and Linux as a Web server;
3. An error occurred: encoding UTF8 of the non-mapped characters, because the Java program is stored in the Chinese characters, so compiled pass, the method can be "javac-encoding GBK Jdbcconnection.java" solve the character problem, but the universality is not.
Case: Linux web--http://117.40.239.9:8080/student_inquiries/
Although this case is small, but some professional basic theoretical knowledge can do a good digestion and understanding, rather than virtual, is through the practice of certification, remember that there is a system operation and maintenance experts said, to achieve high-level operations, must be professional basic theory and principles of solid grasp, otherwise difficult to achieve high-level architects. For example, through this case, the Java program's characteristics, cross-platform, data layer, business layer and server distribution and cluster have a good understanding and grasp, for the next high-level operations to make a foundation.
This article is from the "Operations" blog, please be sure to keep this source http://sky9896.blog.51cto.com/2330653/1574142
Migrating from Java and JSP programs in Windows Server to Linux server cases