If you do not want to learn, you will be confused. If you do not want to learn, you will be confused.
In the first blog post, encourage yourself and remind yourself that persistence is the key to success. Do not be blinded by other things, so that you can get lost.
When I was a child, I was always forced to write my diary, but I was always bored. But now I am actively writing my diary, because my mind is more mature than I did in my years. It is time for a child to forget a day without worry.
Early in the morning, I went to the company and looked at the history and history of JavaEE for a while. To sum up, with the development of computer technology, JavaSE cannot meet the needs of people. It is very troublesome to develop large systems, therefore, sun developed the JavaEE API. Among them, there are JSF, JSP, EJB and other technologies...
The full name of JSP is Java Server Pages, and the Chinese name is java Server Page. It is a simplified Servlet design, it is a dynamic web page technical standard that was developed by Sun Microsystems and participated by many companies. JSP technology is a bit similar to ASP technology, it is in the traditional web page HTML (a subset of standard General Markup Language) file (*. htm ,*. insert the Java program segment (Scriptlet) and JSP tag in html to form a JSP file. The suffix is (*. jsp ). Web applications developed using JSP are cross-platform. They can run both on Linux and other operating systems. It implements java extensions in Html syntax (in the form of <%, %> ). Like Servlet, JSP is executed on the server. Generally, an HTML text is returned to the client. Therefore, the client can be browsed by a browser. JSP technology uses Java programming language to compile tags and scriptlets like XML to encapsulate the processing logic for generating dynamic web pages. The web page can also access the application logic of resources on the server through tags and scriptlets. JSP separates the Web page logic from the display of the Web page design. It supports Reusable Component-based design, making Web-based application development fast and easy. JSP is a dynamic page technology. Its main purpose is to separate the presentation logic from the Servlet. Java Servlet is the technical basis of JSP, and the development of large-scale Web applications requires the cooperation of Java Servlet and JSP. JSP is easy-to-use and fully object-oriented with Java technology. It is platform-independent, secure, and reliable. It mainly targets all features of the Internet. -- Introduced from Baidu Baike JSF, EJB is the framework Struts 2 and JSF both belong to the presentation layer framework, but their framework is of different nature. The Struts 2 framework is just a simple MVC design pattern implementation framework, in essence, JSF is an event-driven component model. JSF is more similar to Microsoft's ASP. NET. The Application of JSF makes the development of Web applications more similar to the traditional C/S Design (such as Visual Basic Mode). It can process click button events on the Web page or select drop-down box events, because the core of JSF is event-driven. When using JSF to develop applications, developers do not even have to worry about traditional Web development details (such as HTTP). Page Content or operations can be directly mapped to the server-side JavaBean implementation class, the JSF framework automatically encapsulates the interaction. The Struts 2 Framework is a very traditional MVC design mode, but it is familiar to and used by the majority of programmers. Struts 2 integrates JSF, the Web development mode can be accepted by developers, and the complete encapsulation performance of JSF can be used. EJB is sun's JavaEE server component model. The design goal and core application are to deploy distributed applications. Simply put, you can package the compiled program (namely, class) on the server for execution. With the advantages of cross-platform java, distributed systems deployed with EJB technology can be not limited to specific platforms. As part of J2EE (javaEE), EJB defines a standard for developing multiple Enterprise applications based on components. It features network service support and core development tools (sdks ). In J2EE, Enterprise Java Beans (ejbs) are called Java Enterprise Beans and are the core code of Java, namely Session Bean and Entity Bean) and MessageDriven Bean ).
In summary, JSF is used as a Web server, EJB is used as a backend, and JSP is nested in a Web page. Because different systems have different layers, some have three layers, some have four layers, and some have multiple layers...
It can be divided into: 1. webpage 2. webpage Server 3. Background, Database Server 4. Database
Summary of today's work: Today's task is to make a data precipitation, that is, read the json string and write the data in the json string into the database. Create a table creat table tablename (f1 char (8), f2 varchar (30) not null). Right-click the PLSQL statement to make it easy to edit (write remarks or modify data ). However, there is still a problem in the end. The program runs normally, but the characters read are not written to the database... This problem will be solved tomorrow before writing it out.