Atitit. why java development is slower than php development?

Source: Internet
Author: User
Atitit. why is java development slower than php? atitit. why is java development slower than php development ??

1. Interface Development vs php 1

2. tedious Architecture 1

3. complex environment configuration 1

4. class library jar package conflict (severe) 1

5. missing configuration file hot deployment (severe) 2

6. missing hot deployment (severe) 2

7. Reference: 3

1. Interface Development vs php

The concept verification of javaer lags behind, and the interface and tag are often handwritten, rather than making full use of dw.

Solution: Make good use of dw, the most powerful html ide .. Do not use the tags of struts and jstl frameworks, which greatly damages the layout and is difficult to debug ..

Author: old Wow's paw Attilax iron, EMAIL: 1466519819@qq.com

2. tedious architecture

: Actually, this is not related to the language. more importantly, people's thoughts .. unfortunately .. most JAVA projects use the ssh mvc method, as well as a large number of frameworks. What are the three-tier architecture of design patterns? the complex structure leads to a complicated development method. Unlike php,
Easier to use and faster.

Solution: greatly simplify the architecture

3. complex environment configuration

This solution is naturally more complicated than php.

Introduce the class library. php needs to be modified. Ini file.

Java. . Net series only need to import class libraries .. However, many tips about missing class libraries in java ide are not as good as those in vs series...

4. library jar package conflicts (severe)

This is an extremely serious problem. For a slightly larger program, the class libraries are prone to conflicts .. Cause a large number of time-based troubleshooting errors .. Jdk lacks a large number of standard libraries and can only use third-party libraries ..

Solution: it is difficult to solve the problem at present .. Enterprises can establish their own standard libraries... greatly reduce conflicts... they can establish conflict elimination procedures, which can greatly reduce time overhead, but have high requirements on developers ..

For beginners, it takes only time to troubleshoot ..

In theory, the. net series also has a dll hell problem .. However, because. net ms provides a large number of standard libraries, the introduced lib is greatly reduced, so there are very few conflicts...

5. missing hot deployment of configuration files (severe)

Frequently used ssh often modifies the configuration file, and the web server needs to be restarted .....

Release: discard struts, use jsp + ajax, and replace spring with guice

Customize the orm framework and add the hot modification capability ..

Of course, you can also modify the ssh source code to solve the problem, but it is highly demanding for developers .. For beginners, forget it ..

6. missing hot deployment (severe)

5. the code written in JSP can be executed without Compilation. However, the code written in the JAVA file must be compiled first, which is not conducive to rapid modification...
In the. NET website mode, the code in the CS file can be instantly modified to take effect immediately. from the developer's perspective, similar to the PHP script, the modification can take effect quickly.

The hot deployment capability of tomcat is very poor .. As a result, the web server must be restarted to modify a small amount of code.

Solution: Use a web server that supports hot deployment .. Small projects can basically achieve apache speed. Large projects can also be hot deployed, but it may be slow to start .. This cannot be solved

7. conclusion ::

Java can achieve rapid development, but it has high requirements for developers, and for example, the accumulation of standard libraries requires a long period of time, you need to be able to modify large open source projects (such as ssh) source code and other capability requirements.

In the case of insufficient capacity of ordinary personnel, they can only be unable to extricate themselves ..

8. reference:

Paip.java's major advantages and disadvantages are similar to those of c2.16.net.txt-attilax's column-blog channel-CSDN.NET.htm

Paip.java attilax c0.doc-csdnblog .htm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.