Some answers were collated from the Internet, plus personal understanding.
The environment is divided into the following categories:
1. Develop and configure the environment: all development and configuration is carried out in this environment. In general, only this environment can be configured and developed, and generally does not create data in this environment . (Development environment is the development environment on each developer's PC, only developers can configure and develop, write data test in test environment)
2. Test environment: New development and configuration through the system transfer to the test environment for functional testing, you can create data . (Developers upload to SVN, testers download and test.) Our company testers do not understand the IDE, so it is downloaded by our developers, he directly through the IP address access to test. )
3. Pre-production environment (not required): synchronization from the production environment, maintain and production environment settings, data consistency, but also for testing, it and the test environment the biggest difference is that it and the production system of the highest synchronization, almost the same, some tests, such as the need for large data volume, Using this environment test to see the performance of the program is more accurate than using a test environment (typically less data). (not required, not in our company)
4. Production environment: the formal use of the system environment. In general, an environment corresponds to a server, and some companies put the development, testing and other environments on a server. (Downloaded from SVN via FTP and then deployed, released on the server by eclipse, the server is Linux)
Tips: A test environment is also useful. When it comes to providing services to external systems in development, it is not appropriate to use a production environment for direct linking, and there is no risk of using a test environment. Therefore, after our products on-line, the test environment is still term coexistence with the production environment, and maintain an open state (test environment and production environment consistent, with the purpose of testing environment, testing, does not affect the normal use of online projects, such as testing completed, and then on the production environment. )
-----------------------------------------------------------------------
General company how to build Java development, testing, production environment
The most used code hosting is SVN, the local development with Windows+eclipse, the production environment with Linux (that is, using FTP to download the project from SVN, and then on the Linux server deployment run)
What is the process of testing to a production environment from development to submission? The process is as follows:
1, under the development of Windows:
2. Submit war to SVN or FTP server, test personnel download, deploy, build test environment.
3, test environment: Under Windows Testing and Linux under test, test sub-functional testing and performance testing, such as with LoadRunner or JMeter. The purpose of the test is to check for leaks and make the product more robust.
4, after the completion of the test personnel to solve the bug, RePack, into 2.
5, the backup function intact code and the war, submits to PM, determines after lets the tester deploy to the formal environment. then enter 3.
6, write the book, use instructions and so on.
There are many tools for managing your code, such as CVS,SVN, or even FTP. The development process uses more things, from the design process to the release run, can use the tools can be used.
The more formal is:
Development team development, to do is to implement the function after the checkin code to svn/cvs/
The packaging team downloads the latest version code from the Code hosting server (SVN, etc.), hits the product package, and publishes it to the test group
The Test team deploys the product package for testing
Talking about what is the Java Development environment, test environment and production environment, and its process (go)