By Camry.Wu
Remember:
Affected
Java Open Source Projects and Tools In the use of this article in enterprise application development, it began to build a Java programming environment based on open source projects.
Therefore, there is this article, and there are still some parts of the article not completed, and will be gradually completed in the future.
How to build a Java programming environment with open source software
Compiling the environment (JDK) Compile environment Nothing, I only have used Sun JDK, I don't know what other compilers use it. Interested friends can use other compilers, share their experiences. Need Note that sometimes you need to use an obfuscator to compile the project, because the Class code is easier to be completed as Java code, in order to protect yourself (or company), sometimes you need to use this tool. (Of course for open source projects It is completely unnecessary :)) When it is mentioned that the obfuscator is to reverse the compiler. The most famous should be JAD. If you want to study someone else's code, this tool is still very good when you don't get the source code. In addition, Mr. Cai Xueli's "Java Night Insmoded" article: Java related compilation technology. Editing the environment (Vim) I feel unpleasant about the IDE environment. I haven't used it before, I will not use it later. My favorite editing environment is Vim. It is really a very powerful editor. This has already proved that there is countless person proves that you don't have to use the Vim Edit Java file. It takes two aspects:
Friends who are familiar with VIM editing ordinary text files can get some techniques from this article. Use special tips to support the editing of Java files in Vim. Unfamiliar friends can get some experience from this article. Project Management (Ant) is a Java-based build tool. Configuring Ant is to configure build.xml XML files. After you are configured, it will do many tasks for you, especially some tasks are very cumbersome. I use Ant. Code check (Checkstyle) generally has its own coding style, but now is an era that emphasizes the team rather than heroes. Therefore, the consistency of code style is very important. We can't see the code of others, you can't help you. View others. At least, in the same team can guarantee the consistency of the code, which will make us feel the same when handling any code. CheckStyle helps us achieve this, as long as you insist on using it when you encode It checks. In the use of Ant, it will be integrated with the checkStyle. The unit test framework (JUnit, httpunit, cactus ..) program has been tested (here the unit test). Test is something that general programmers don't want to do, but this thing is really useful. Here you introduce a few articles:
Application JUnit Implementation Unit Test Articles introduces the concept of the test and how to use JUnit, and how JUnit best practices use JUnit Framework to write a module to write the principles of writing unit tests and how to perform JUnit Test Infected: Programmers Love Writing Tests JUnit's article uses httpunit to integrate test introduction How to use HTTPUNIT's articles, the original article of the Sun Technology community, write very well. About Cactus, there are many articles on the Internet, but I haven't found a very good yet. Article. The debugging environment (JSWAT) Tests often need to be commissioned. Last missed this section, in fact, I don't have much experience in the debugging part, and most of the previous debugging is based on the output. However, in the debugging process, there is an open source software: jswat can meet most of the debugging requirements, you can find it here. The version control of the code version control (CVS) code is very important. With such a code base, the hard disk suddenly I am not afraid of collapse :) Introduce the article that is installed and used. This is a brief description of my installation process. Here is a simple instructions. Here is a CVS manual. Bugzilla Bugzilla is a bug tracking system, used to Manage BUG submission, bug elimination, not only reduces the repetitive occurrence of the same error, not only the opening efficiency, but also helps the difficulty of project management. (Excerpted from bamboo shoots fried meat) More important, it is an open source software :) Here is the simple installation step I wrote. Here is its instructions. After the JMeter software deployment, there will often be an efficiency requirements. : How much is the system consumption? What kind of server is needed to support? Wait for using JMeter to tell you some numbers and charts, you can determine that the software's load capability uses WebLogic's JROCKET running environment to get software runtime Use information. There are many intermediate tools in the intermediate tool Java, famous is a variety of J2EE containers, various application frameworks and various data persistent programs. Some famous so in order to find. Tool resources JBossjbossResinResintomcattomcatstruts Chinese topic CocoonCococoonspring Chinese Forum Hibernate Chinese Forum
Last updated: Saturday, November 13, 2004, 12:4, 36 seconds HTML conversion program: Tex2Page 2004-09-11