JAVA Web Learning Notes
1. JSP
(Java Server Page)
Lock
This entry is compiled and applied to the scientific entry of "Science China" encyclopedia.
The full name of the JSP is Java Server Pages, the Chinese name Java Servers page, which is simply a simplified servlet design, it [1] is advocated by Sun Microsystems Company, many companies involved in the establishment of a dynamic Web technology standards. JSP technology is a bit like ASP technology, it is in the traditional Web page HTML (standard Common Markup Language subset) file (*.htm,*.html) inserted Java program segment (scriptlet) and JSP tag (tag), thereby forming a JSP file, suffix named (*.jsp). Web applications developed with JSP are cross-platform and can run on Linux and other operating systems.
2. servlet
Edit
A servlet (server Applet) is the abbreviation for a Java servlet, called a small service or service connector, which is a server-side program written in Java that is designed to interactively browse and modify data to generate dynamic Web content.
The narrow-sense servlet refers to the Java language implementation of an interface, the generalized servlet refers to any implementation of the Servlet interface class, in general, people will understand the servlet as the latter. The servlet runs in a Java-enabled application server. In principle, servlets can respond to any type of request, but in most cases the servlet is used only to extend the HTTP protocol-based Web server.
The first to support the servlet standard was JavaSoft Java Web server, after which some other Java-based Web servers began to support the standard servlet.
3, JavaBean
Edit
JavaBean is a reusable component written in the Java language. To write JavaBean, the class must be concrete and public, and have a parameterless constructor. JavaBean gets the internal domain exposed member properties, long and class methods by providing a common method that conforms to the consistent design pattern. It is well known that property names conform to this pattern, and other Java classes can discover and manipulate the properties of these javabean through the introspection mechanism.
4. Applets (small applications)
Edit
Applets are small applications written in the Java programming language, which can be contained in HTML( An application of the Standard Universal Markup Language ) page, in much the same way as the page contains images. [1]
The HTML file code of the Web page containing the applet has a pair of tags such as <applet> and </applet>, when a Java-enabled web browser encounters this pair of tags, The appropriate applet code is downloaded and executed on the local computer.
5. EJB
Edit
EJB is the Sun's Java EE server-side component model, and the design goal and core application is to deploy distributed applications. In simple terms, a program that has already been written (that is, a class) is packaged and placed on the server for execution. With the advantages of Java cross-platform, distributed systems deployed with EJB technology can be limited to specific platforms. EJB (Enterprise JavaBean) is part of the Java EE, which defines a standard for developing component-based enterprise multi-application applications. Features include network service support and core development tools (SDKs). In Java EE, Enterprise Java Beans (EJB) is called Java Business Bean, which is the core code of the kernel, namely the session bean, the entity bean Bean) and the message-driven bean (Messagedriven bean). After the launch of EJB3.0, entity beans were separately separated to form a new specification JPA.
JAVA Web Learning Notes