Sometimes waiting is a kind of happiness, just
Java 1.5 (commercial version number is 5.0) and .NET 2.0 (internal version number 1.2) wait. For the Java community, 1.5 RC1 is waiting to be separated, and finally give this centering pill when everyone will lose resistance; for .NET community, it is a kind of joy, but it is also a concern. There is no mature gesture in the Java community, but it is necessary to consider whether it is moving into the new world of 2.0.
I don't know if it is the illusion of commercial propaganda. Many people compare these two heavyweight products are more concerned about the comparison of Java language and C #, from a sense of meaning. Net is not fair enough. It is also not fair to Java.
When discussing Java, we easily mix the Java language and Java platforms to a trip, and more than the .NET platform comparison, compare the Java platform and C #, or compared to the Java language and .NET platform, This is not justified in my personal consciousness.
After years of development, Java has expanded from a single language and its runtime environment, and in an absolute leading position in the field of enterprise applications, J2EE has become a standard technology architecture in fact large enterprise applications. In the field of mobile development, because of its cross-platform advantages, the development of various Java compatible equipment has also become a very important force.
.NET is based on the beginning of the platform, relative to Java advocated "one written, everywhere", .NET more advocates "a platform, multiple languages", because the platform is unified, therefore compatibility in various languages and Hybrid development is better than Java, and therefore some MS supporters laugh at Java is "once written, debug everywhere".
Throughout the innovation of these two platforms is mainly reflected in the following two aspects:
Java: This is from the first real meaning of the first true meaning. For the language implementation of the big knife, Sun has been placed more energy in the definition of the expansion of class libraries, such as JDBC. Improved, JMS, JNDI, EJB, etc. Very important normative is to gradually mature during the development of these years. Russia and in terms of language, Java Class file has not changed since Java1.1 in 1997, and there is not much change in language support, so "Book" like "Thinking in Java" from A publishing is now no substantial change now, more is the author's correction for some views. In terms of class library, after SUN and open source communities, Java has made Java into a giant platform, except for JDK's own huge library, SourceForge can find some very complete application framework, such as Hibernate Ant, Spring is the model. And this update means that Java will become more "fun" at the language level, which is more suitable for business-oriented applications, and no longer need to rely on a daunting library to achieve perhaps not complex applications. . The result of "light quantification" of the language is to bring improvement in development, while relying on the powerful resources currently have currently have in the Java world. I want to be a new era for Java, from 1.5, Java is more light, nor Yangchun Snow High is on, through core type data sharing, through the support of annotation, Java has gradually entered the desktop application market through multi-threaded improvements.
.NET: One point can be affirmed, the innovation of C # language is definitely not all .NET 2.0 new features, according to Microsoft's consistent style, from language to class library to the development tool full line support is all. Net 2.0, from this From a perspective, the number of Visual Studio 2005 Beta1, which announced the previous days, highlights Microsoft's "Wolf Ambition", except for C # general, anonymous methods, iterative procedures, and local classes, no VB.NET Exception, greatly simplified access to system resources via My namespace. Alternatively, the MANAGED C has been returned. In addition to retaining the traditional C function, the writing of the hosting application can finally use the pleasing code to complete, not the "__gc" keyword of the C programmer . The improvement in the class library is to truly let the developers are ecstatic, ASP.NET 2.0 has joined the framework for the development of the portal - WebPart support, and also added support for users, such as Skin, Password Recover, and more. There is always a bad thing, this world does not need to "solve the defeat", the business rules do not allow the emergence of "solitary and restrictions", because it will break the balance of competition, while java and .net The disputes between the two platforms have just begun, while the result is conducive to the entire software world. Developed to the present, two platforms have been approaching the same in the technical architecture. If you want to compare a probably, then I want to be more advanced than Java because of the language level because of C # or VB.NET. The class library framework is also because it is late, it is still unable to compete in large applications and Java. These two mutually contest platforms work together in mutual learning, who is the beneficiary? I think it is still a major user.
J2SE 5.0 and .NET 2.0 section technical reference