Top Ten useless Java features

Source: Internet
Author: User


[Favorites]
[Print] [recommended]


10) const, Goto

What? Yes, they are all Java keywords, but they do nothing.

9) some interesting Java

Like personal Java, javaos.

8) indexed jar

An indexed jar is a jar file that contains a special index file (META-INF/index. list) that specifies which packages are included in the jar. In ant, Index = "true" is available. It aimsAPThe plet and WebStart applications can delay loading jar files and increase the speed of class loading.

7) Most EXE files in the bin directory

For example, javah.exe and JavADOC.exe,jdb.exe,jar.exe. They have been replaced by ant, Maven, and IDE.

Although these tools are rarely used directly, it is very helpful to learn to use them. For example, at some point in time, we do not have tools like ant, Maven, or eclipse at hand, especially for simple applications, it is easier to directly use commands.

6) Applet

It became popular 10 years ago, and its popularity has been declining since then. But the applet will make a comeback in Java SE 6 Update 10.

Translator: THE applet still has its space. If there is a problem, it is the problem of the entire Java Desktop Application.

5) CORBA

This API may be selected by the developer "the API you most want to delete from Java.

4) javax. Accessibility and accessibility

This package started with Java 1.2, but it was never used. On the one hand, swing can do a lot for you, but on the other hand, it cannot do everything for you. In particular, empty text boxes and text fields must be described.

3) MIDI Library

Yes, Java has a built-in midi api. Therefore, Java can play music from 1.1. At that time, they joined a sound source library, which sounds better. Now, the sound source library doesn't sound as good as the sound card.

When talking about modular JRE, most of the time, CORBA is considered not to need to be downloaded, while the audio source library API may be the least needed.

2) Java 6 API

This is what Apple needs to blame most, because they decided not to support Java 6 on 32-bit platforms, so many APIs and programs will be blocked in Java 5.

1) Assertions

In java1.4,SunAdded assertions. I remember there were some comments talking about Java's lack of assertions/pre-/post-conditions, so this feature was added. But let's face it directly, and assertions are seldom used.

 

Transferred from:Http://soft.ccw.com.cn/news/htm2009/20090507_623491.shtml

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.