2004 Development Technical Annual Summary Java World
2004-12-23 22:48:25 Ye.com / Peng Chenyang (BANQ)
In 2004, the Java world has undergone tremendous changes. It is the birth and development of several new nations: IOC, AOP, SOA, MDA, of course, in addition to these are revolutionary development of Java technology future towards, there are many details And micro development, let's first talk about these important detail technology development.
First, Java's foundation JDK has span J2SE 1.5, or is called J2SE 5.0, but I prefer to call it 1.5, the continuation is the more concerned about our application, of course, the revolutionary is more intoxicated So they used to name J2SE 2.0, now, in order to express this leap, and the cross is very huge, I have reached J2SE5.0, which is very exaggerated, but the foreigner is indeed very often extremely extreme, "papers can survive" I think it is the main foundation of its ambassadage culture.
J2SE1.5 is most attractive to the eyeball, I think it is mainly Annotate characteristics, which can greatly reduce programmers' programming, which combines with the Java Relfect mechanism to prepare a fairly flexible software system or framework.
As seen from J2SE 1.5, Sun is trying to simplify Java, but maybe this simplified action is late.
Similarly, Shanshan is late is a standard JSF of the J2EE Web layer, and JSF makes programmers to develop J2EE's web programs, which enhances development efficiency as developing swings, and improves development efficiency, but must have advanced development tool support.
Due to good things, it is shown in a recent survey. The open source project Struts has dominated in J2EE actual web layer development, and Struts has reached a mature vertex in 2004. It is the main feature of forming Form form. At the same time, a simple XML tag is provided instead of the Java language in JSP, so that the JAVA code is completely eliminated in JSP. In addition to Struts, Tapestry This completely abandoned JSP open source web framework products are also worth mentioning, it is a one with Webwork. Persevered stars.
In 2004, there were too many new exciting things. The most striking is the rapid development of AOP and SOA. The development of the Java world has always been divided into two routes. The first is industrial route, with Sun, IBM The industry giant representative of the BEA and Oracle is the industry standard. When the industrial giant makes EJB 2.0, they believe that EJBs in the JavaBeans technology framework have come to the limit, basically no need to develop too much, so they will pay attention to the Software system On the service function, when an EJB component provides reusable features, how to output these powerful, reusable features to different customers? Is it a copy of these components in repeated installation? Still provide comprehensive rent in a way of service? SOA is a service architecture, therefore, and gets a lot of investment and development of the industry giants, and they are still concerned about the process of customization and visualization development. Through the powerful development platform, they can easily complete the business customization of workflows. And modified.
When the industry giant focuses on the transfer from Javabeans structures, a new design idea and programming style AOP (aspect programming) is born, and the programming is the continuation of OOP object-oriented programming, and AOP has been hot outside of 2003. In 2004, it should be full of flowering, all kinds of AOP products such as JBoss 4.0, Spring, AspectWerkz, etc., bring to the new concept and philosophy impact of programmers, AOP programming methods can be applied to various fields developed in software, when you After discovering that a function is universality and versatility, then this feature may be able to use AOP implementations so your code is elegant, while maintainability and expansion. IOC reverse control should say AOP similar decoupling ideas, through IOC mode or container, can completely separate the calls between JavaBeans and modified relationships, and reach the true ground to interface programming, which is more interface-oriented. It is meaningful and important, IOC products such as pure PicoContainer and Spring, etc.
The difference between open source and industry standards is not only reflected in the development of the Javabeans system, but also in the persistent mode of persistence, in 2004, there are three popular objects in 2004 in widespread use: EJB CMP, Hibernate and JDO, these three The differences and contacts are also a lot of programmers, the founder of Hibernate, GAVIN KING, constantly questioned JDO, so that the Hibernate is high, and JDO has not been able to enter EJB's persistence standard. The Spring Hibernate architecture and the use of JBoss-based EJB architecture have become a low cost high quality J2EE popular architecture.
Under this "confusion" situation, EJB 3.0 Standard Preview Program was first proposed by the 2004 Java One Conference, and EJB 3.0 tried to please those of the lightweight solution, while also taking into account the development of the EJB standard, JBoss quickly provided For the EJB3.0 support package, we saw Gavin King this fighter's figure.
At the same time, Hibernate is going to our application system programmer, Struts 2.0 is moving and migrating to the JSF standard, is Hibernate to fight? A standard plan aimed at unifying J2EE persistence technology is starting, and we expect simple unified persistent layers to introduce, reduce programmers to choose migration.
In 2004, it was another year of Java World, some of the programmers said: Now learning Java is getting more and more confused, watching a lot, not only there is no hair in the brain, but there is a feeling of walking into the magic, because various technical factions They all compete for the right to voice, the discovery of voice means that the birth of business opportunities, JBoss and Spring develop groups have been transferred to a business company a certificate. For applicants, there is no eternal solution, only suitable tools, Java world provides you with toolboxes, rather than a choice, demand is the only reason for choosing tools.
Let our vision transfer from J2EE ideology and technology to the field of demand analysis, there are two opinions in this field: Data table analysis or model analysis? That is to say, establish a new system, first analyze the design data table or model, the former is the way the previous database system is often taken, but this traditional way is currently affected by OO objects, MDA (model analysis) 2004 mature blossoms, all kinds of Java finished products are also blooming in the rain, MDA thinking puts forward: only modeling experts in the future (other programmers become blue-collar workers), as long as modeling experts have design a system through UML Model, automatically generate corresponding code through a specific Java MDA tool, it seems that there is no need for ordinary programmers. Conclude
In summary, 2004 Java technology brings us more exciting and stress, new technology development, as a month, how to keep up with these new technologies, while selecting the correct technology to introduce our own application These are our true challenges.