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.