Ten common misunderstandings of the JAVA language

Source: Internet
Author: User
Ten common misunderstandings of the JAVA language-general Linux technology-Linux programming and kernel information. The following is a detailed description. Since its application to the Internet, JAVA has rapidly become a global hotspot. Its platform independence seems to be a panacea for ease of operation and portability. However, there are still many misunderstandings about the JAVA language.

1. JAVA is an extension of HTML

JAVA is a programming language, and HTML is a page description language. Except that the new versions of HTML can insert small JA-VA applications into web pages, there is no difference between them.

2. JAVA is a programming language that is easy to learn.

No language that is as powerful as JAVA is simple. It is very easy to write a demo applet, but it is very laborious to do some important work. The JAVA library has more than 150 types and interfaces. Although many program users do not need the entire class library, each project requires classes.

3. JAVA is a simple programming environment

Some people prefer to use only the vi editor and the dbx debugger to write programs. However, PC and MAC programmers are used to using drag-and-drop table design tools similar to VB or integrated development environments, which is a headache for them. However, once the Cafe tool similar to Syman-tec or Borland's Latte tool is available, JAVA development time will be greatly reduced.

4. JAVA will become the unified programming language for all platforms

Theoretically, this is possible. However, this does not mean that users have gained the most convenient way to develop applications. JAVA application development is not as good as (may never be like) Windows applications developed with MFC or VB, And the graphical development tool functions provided by JAVA are too simple. We hope that the JAVA class library will become richer soon.

5. JAVA is interpreted. It is too slow for important applications on special platforms.

Many Programmers spend too much time on user interfaces. All programs, No matter what language they are written, have enough time to detect the mouse. Of course, currently we have not used the current JAVA version for CPU intensive tasks. However, it is very easy to develop a compiler that converts the JAVA intermediate code to the local code.

6. All JAVA programs run on the web page

All JAVA applets are run on the web page. The JAVA program running in the browser, which is defined by the applet. However, writing JAVA programs that do not rely on WEB browsers is possible and useful. These programs can be completely transplanted, And because JAVA is more convenient and less error-prone than C ++, it is a good choice for programming and the preferred entry language for learning programming. Once combined with interface tools and database access tools, it will be more competitive.

7. JAVA eliminates CGI programming needs

Absolutely no. With today's technology, CGI is still the most convenient means of communication between ap-plet and the server. The server will still need CGI language to process the information sent by the applet. Of course, you can use the JAVA language to write CGI, which is as simple as Perl or C.

8. JAVA will completely change Client/Server Computing

This is possible. SUN has released various Database Class Library plans, which will make it as easy to develop client/server applications with JAVA as to develop network programs with JAVA Network Class Libraries.

9. With JAVA, you can use the $500 In ternet device to replace the current computer

It is totally unreasonable to think that people will give up their desktops with rich functions and convenient use to pursue machines with no external storage and limited functions. However, Internet devices can be used as portable assistants for desktops. If the price is reasonable, you are willing to use an Internet browser to freely choose to read news during meals. This is the charm of JAVA.

10. JAVA will allow you to discard the part-based computing mode

When talking about components, there are many different meanings. Visual control, for example, the OCX component that can be inserted into a GUI program, JAVA has not yet set a standard. The ability to cooperate with the distributed computing model using the CORBA interface and OpenDoc will soon begin. Currently, the test version of the CORBA interface is available on the Internet.
Related Article

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.