Getting to Know the Java EE 6 Platform

 Oracle has released the Java EE 6 platform for some time, and has been using struts, spring, hibernate these lightweight frameworks, which struts now seems to be more and more replaced by JavaSever Faces. Since Java EE 6 already has quite mature tools, and draws on the advantages of spring and hibernate, they are integrated together, reducing the burden on developers to integrate various frameworks.

By studying the official documentation of Java EE 6, I also have some preliminary and one-sided understanding of it. At present, I have seen the introduction of JavaServer Faces (JSF) technology. I have not studied it in depth, but I have understood the difference between it and JSP. Let's take a look at the JavaServer Faces (JSF) technology it uses. It is different from the previous JSP technology. JSP is a more view-oriented servlet, while JSF is a framework, which belongs to the web layer of Java EE. The bottom layer of JSF is still Servlet, and JSP technology and JSP standard tag library can be used directly, but the separation of logic and performance of JSF is clearer. It uses a so-called "Managed Bean" to write some simple Business Rules. For creating view pages, JSF uses xhtml and has its own tag library, including core library, html library, ui library and composite component library, etc.

Also understand the difference between GlassFish server and other web servers. GlassFish fully implements the Java EE specification, including the EJB part, while other lightweight web servers, such as versions before tomcat 7, only implement the JSP and Servlet parts, so its functionality is not enough to develop Java EE 6 platform application.


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325938512&siteId=291194637