1. Trang chủ
  2. » Công Nghệ Thông Tin

Java C7. Outline of Web application and Eclipse. potx

45 347 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 45
Dung lượng 1,61 MB

Nội dung

Chapter 7. Outline of Web application and Eclipse. ITSS Java Programming NGUYEN Hong Quang, HUT Outline of WWW Client Web browser Display reading page URL address Internet Web server HTML file, program file, multimedia file : image file, sound file, movie file, etc. Request Response Link in a Web page HTTP protocol  Data is transmitted on Internet by HTTP protocol  HTTP request:  HTTP method  Request URI  ‘form’ data  HTTP response:  Response message  Contents type  Requested file “form” data exemple HTTP method : GET and POST  GET  Add transmission information to URL.  There is a limitation in the length of the transmission character string.  Example: http://localhost:8080/examples/hello? NAME=Billy  POST  There is not a limitation in the length of the transmission character string.  It is possible to transmit only by <form> tag. Web application Client Web browser Display reading page URL address Internet Application server Request Response Link in a Web page Run application Features of Web applicationApplication server  It has the execution environment such as Web containers,  the connecting function to database: MySQL, SQL Server, etc.  transaction management function to couple two or more processing, and more.  Web container :  an execution environment to execute the server applications (CGI) : Servlet and JSP, ASP, PHP, etc.  example is ‘Tomcat’, etc. Directory structure of Web application (Tomcat) Web server ROOT directory HTML file, JSP file, image files, etc. WEB_INF web.xml classes lib  configuration file  class file  class file  The contents are not open to the client  can be directly accessed from the Web browser Collaboration between Servlet, JSP and JDBC Web browser Display reading page Application server Request Response Servlet JSP pages DBMS JDBC  Servlet : Java program that runs on Server side (Web container)  JSP : Embedding the Java program into the HTML files Using directly JDK  Edit program : Editor (NotePad)  Execution program : Dos Prompt : [...]... role and composition of IDE   IDE : integrated development environment Characteristics :    editor and compiler are integrated All processes from editing to execution can be done with one set of software Java IDE Exemples :    Eclipse Visual Studio (Microsoft) Sun ONE Studio (Sun) Characteristics of Eclipse       Eclipse is an IDE (free, open source) for Java application Extension of Functions... Space Eclipse Java programming with Eclipse Start of Eclipse Making of project Making of class Build and Execution End of Eclipse Start of Eclipse : step 1 Eclipse Start of Eclipse : step 2 Eclipse Start of Eclipse : step 3 Workbench Eclipse Making project 1 Eclipse Making project 2 Eclipse Making project 3 Eclipse Making class 1 Eclipse Making class 2 Eclipse Making class 3 Eclipse Run application in... Default directory of Eclipse project Change directory 1 Eclipse Change directory 1 Eclipse Execution of class that uses command line argument 1 Eclipse Execution of class that uses command line argument 2 Eclipse Execution of class that uses command line argument 3 Eclipse Eclipse Setting of class passing 1 (JDBC driver) Eclipse Setting of class passing 2 (JDBC driver) Eclipse Setting of class passing... function) Automatic build function Refactoring, debugger, etc Web site of Eclipse Project http://www eclipse org Install plug-ins    Download plugins necessary Unzip and copy it to plugins directory of Eclipse Restart Eclipse Eclipse Main screen of Eclipse Eclipse Text Editor Package Explorer View Class view Console view : output screen, compile error and alert messages Eclipse Code assistance : Supplementation . + Space Eclipse Java programming with Eclipse Start of Eclipse Making of project Making of class Build and Execution End of Eclipse Eclipse Start of Eclipse : step 1 Eclipse Start of Eclipse. Chapter 7. Outline of Web application and Eclipse. ITSS Java Programming NGUYEN Hong Quang, HUT Outline of WWW Client Web browser Display reading page URL address Internet Web server HTML. debugger, etc.  Web site of Eclipse Project http://www eclipse org Install plug-ins Eclipse  Download plug- ins necessary  Unzip and copy it to plugins directory of Eclipse  Restart Eclipse Main

Ngày đăng: 28/06/2014, 03:20

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN