1.Java EE that Java Platform Enterprise Edition, the purpose is to develop Web Dynamic Web site.
2. the types of Web pages include :
(1) static Web page : A Web page with a fixed content and interface that is not interactive with the user.
generally used HTML,CSS to organize and display these materials,
Adopt Webauthoring tools such as Dreamweaver, Photoshop, Fireworks, and Flash .
(2) Client Dynamic Web page : Using JavaScript , Ajax technology, and other client-side programming techniques, provide an
interface, Rich interactive features, but the data is generally not dynamic change.
each client computer needs to install the client program.
(3) server-side Dynamic Web page : The use of server-side programming technology to provide dynamic data. Typically server
End Dynamic Mesh interface is not gorgeous, because it provides dynamic data.
No client program is required for any client, and the client accesses the server through a browser.
3.Web namely the World Wide Web (World Wide Web, abbreviated as "Web", "WWW" or "W3") , commonly known as Web sites.
a system consisting of many interconnected hypertext documents, HTTP protocol access.
4.Web Application is that b/S structure,Java EE is a technology to realize B/S mode.
5. client / server (c/S,client/server), browser / Server (b/S,browser/server).
6.HTTP Protocol based on the request / response pattern.
HTTP Request Package :
Request method: There are post,get,put,delete and other methods
URL: The location of the requested resource ( URL )
HTTP protocol version: typically http/1.1.
HTTP Response Package :
status information: Information about whether the service processed the request successfully, if the success ,304 not modified , the wrong request ,
403 has been banned ,404 Not Found , Server internal error.
MIME Format: Requested file type :. html,.htmltext/html , etc.
7. Client-side development technology : Web presentation. The following technologies complement each other
(1) HTML : Hypertext Markup Language ( Web page ) .
(2) CSS : Cascading style sheets for displaying HTML the appearance of the document.
(3) XML : Extensible Markup Language for data exchange and more.
(4) JavaScript : One of the most common client-side scripting languages that provides interfaces for interacting with users.
(5) BOM and the DOM : Browser object model and document Object model.
(6) Ajax : A way to create an interactive Web application development techniques.
The above technologies are mutually reinforcing, so client development needs to be based on the needs of the user .
8. Server-side development technology : The server that holds the website . The following technologies are used independently
(1) CGI : Generic Gateway Interface, which is a relatively early server-side programming technique.
(2) ASP as well ASP : This is the server-side programming technology provided by Microsoft, The disadvantage is limited to Windows platform,
The advantage is easy to use, suitable for beginners to learn.
(3) PHP : It's very popular AMP (Apache,MySQL , and PHP) part of the technology,
available on Linux or Windows platforms, it is ideal for small and medium-sized web site development.
(4) JSP as well Java EE : This is based on Java language server-side programming technology, can be
on Linux or Windows platforms, for the development of medium to large sites.
Select a technology to do, the above four technologies are independent, can not be used at the same time.
9.Java EE Technology:
(1) The most narrowly defined meaning : Java SE+EJB ( powerful, complex, difficult to learn, etc. ) + Related technologies
a collection of technical specifications, called Heavyweight Java EE. EJB is the Sun 's java EE Server-side component model, and the design goal and core application is to deploy distributed applications.
(2) the meaning of a broad point : SSH Architecture:Struts +spring + Hibernate technology,
called a lightweight Java EE.
(3) The most extensive meaning : Refers to a software framework and design ideas, using multi-layer, distributed,
a component-based enterprise application model to develop enterprise-class application systems.
10.JavaEE Related Technologies : Applets, EJBs, JAAS,JACC,JAF,Jax-RPC,
JAX-ws,JAXM,JAXP,jaxr,JCA,JDBC,JMS,JMX, JNDI,JSF,
JSP,JSTL,JTA,JavaMail,Servlet,StAX,WS, and so on.
11.JavaEE Development Environment : Jdk+ide Development Environment + database +jdbc driver +web container +
Interface design Tool + browser.
12.JavaEE Operating Environment :
server-side: JRE ( or JDK) + database +web container.
Client: Chrome,Firefox,IE.
13.
| Compare items |
Static page |
Server-side Dynamic Web page |
Client Dynamic Web page |
|
| language |
html java |
html javascript |
| page type |
html |
jsp |
jsp html |
| data transferred |
html html file contents and code execution results |
< Span style= "font-size:14px;font-family: ' Times New Roman ';" >html file contents and code itself |
| The place where the code executes |
No |
Server |
Browser |
| The role of the browser |
Show data |
Show data |
Display the data, execute the code, and display the results of the execution |
|
default pages and Profiles :Tomcat 's default page is index.html,index.jsp, etc. 6 , Can be changed into
The default page that you define, you must restart the server to take effect.
This article is from the "meaning of Love" blog, please be sure to keep this source http://cx1096121178.blog.51cto.com/3631286/1684832
First chapter of the initial Java EE