[Java] future size of JRE ~~

Source: Internet
Author: User
I just saw someone comparing the changing trend of Flash Player and catching up with JRE.
Http://www.dengjie.com/weblog/comments.asp? Post_id = 1005

The object-oriented nature of actionscript2 is not very good, and the development tools are even more poor. If Flash and Java are combined, is it icing on the cake?

It is good news that JRE is getting more and more involved, but it is also getting bloated... Therefore, developers are worried about developing applets and clients,
Sun is also very concerned about whether Windows has built-in JRE. If the JRE can be as slim as the flash in the past...

I personally think JRE can be streamlined. Some uncommon libraries can be dynamically loaded from the local website or the sun website. Initially, only the core library is installed. .. Hey

I personally think the Java language should have changed a little. For example, I joined a dynamic mechanism and recently read PhP5. I envy the dynamic method mechanism in it. It's just my dream.
You can use the idynamic interface or the [dynamic] attribute to mark whether the class is a dynamic class, whether the method is dynamic or the attribute is dynamic. Built-in call the following methods to achieve dynamic results.
Object getproperty (string name );
Void setproperty (object value );
Object invoke (object... ARGs) throws throwable;

The advantage of marking is that the checking tool can be differentiated. The complex XML operations can be simplified:
XML. getroot (). Geta (). getb (). GETC ();
Of course, the nullpointer exception of Java is better to change the policy, and the above syntax can be silenced for processing.

In this way, we can use less reflection, and even implement the foundation of some smart languages.

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.