Dawn of J2EE Web Layer - JSF

zhaozj2021-02-16  110

This article is not a JSF's instructions, but to recommend JSF with the same portions of Java to enhance the people's confidence in Java. For details on JSF, please go to the official website http://java.sun.com/j2ee/javaserverFaces/ Review Download, and also recommend Oreilly book JavaServer.Faces.ebook-ddu.chm.

I don't know if you have JAVA. This technology is designed by Craig McClanahan, and Craig Mcclanahan is the main designer of Struts, such as the day (Java people know), so JSF is substantially with Struts. With the initial experience of the author, Struts is a typical framework, side weight frame design, while JSF is focused on the rapid development of JSP, this is very important! Masters may not be great to this, but don't forget, in the country's current technical level, I really can't find a Java master, maybe it is difficult to find one, and domestic software in small and medium development dominant Market, currently developing its practical JSP JavaBean JDBC is often a rapid solution for higher income, which is also determined by China's current social economy and technical conditions. Therefore, for most developers and small software companies, it is critical to solve the problem of the Web layer.

The author has repeatedly 徊 in J2EE and .NET (believe in the past, now there will be such experiences in the future), and the controversy on the network will also be hot in the Internet, so that there is no sound after the gunpowder flavor. Regarding those deep and disadvantages, the masters have their own opinions, and the author is limited by the level of limited inconvenience. Based on their own learning experience, learning Java's biggest benefit is to come into contact with more, deeper, and more original OOP knowledge. The author used to learn RAD, such as Delphi, Pb, VB, etc., Rad is the huge results of OOP. When you feel the endless benefits, it has gone to a large extent, "knowing it," The opportunity, such a bad consequence is: the code is messy, it is difficult to reuse. It is easy to get to play with the actual development between the novice and the master, and the programmer 's experience is sorted to some extent. As long as you see how many years of James Gosling have passed many years, you can understand the truth of "three feet, non-a day". Therefore, from the perspective of learning, accumulation, it is recommended to learn from Java. It is a pity that there is no perfect thing in the world. Java learns more, but unfortunately, the development speed in small and medium-sized development cannot be compared with .NET, especially the web layer JSP, compared with ASP.NET, that is really .... Therefore, Java's Web layer technology has been criticized and even said that due to the disadvantages of the Web layer development, a large number of entrances have given up Java to choose .NET (author once turned over two or three years). Even the masters are forced to use Asp.Net for the consideration of productivity, this is a big hurt of Java.

So, JSF finally arrived late. Objectively, JSF is still not perfect, temporarily unable to be with ASP.NET (according to many masters). Interestingly, JSF hit the design of ASP.NET to a large extent (for a programmer who used to RAD, the web form is a thing!) And undertake the advantages of Struts (structured) . So, from Java Fans, JSF should be able to surpass ASP.NET, which is easy to develop, and have a perfect architecture. At this day, I would like to improve this important technology as soon as Craig Mcclanahan and his teams can improve this important technology. Despite this, if you have a very frightening and debugging of the JSP's mess-up code and the old Niu La-shredded car, and when you hate J2EE, maybe JSF will make you see a dawn, regain confidence and hope. With the experience of the author, learn any new technologies, the experience of the beginning is important. The initial success, even if it is a little bit, it is enough to have confidence and interest, so I recommend everyone to download JSF Studio and documentation, routines. Try to do a small program on the top of JSfgettingStarted, J2EE's web development can also be so simple. One word, cool! (It is said that Sun's SUN Java Studio Creator can also do JSF, but unfortunately, the author has no experience and interest to Sun's IDE. Here, it is also recommended to recommends strong combination of Eclipse and JSF Studio. Welcome to exchange and correct, http: // blog .9cbs.net / LGX522)

转载请注明原文地址:https://www.9cbs.com/read-14400.html

New Post(0)