tailieunhanh - Lecture Web technology and online services: Lesson 6 - Web development with Java

Lecture "Web Technology and online services: Lesson 6 - Web development with Java" provide students with knowledge about: Free Servlet and JSP Engines (Servlet/JSP Containers); Compiling and Invoking Servlets; Environment For Developing and Testing Servlets; . Please refer to the detailed content of the lecture! | IT4409 Web Technologies and e-Services Lec 06 Web development with Java 1 Outline 1. Servlet 2. JSP Java Server Page 3. Java Beans 4. ORM Object Relational Mapping 2 Free Servlet and JSP Engines Servlet JSP Containers Apache Tomcat http tomcat Version - support Servlet and JSP Version support Servlet and JSP IDE NetBeans Eclipse https https Some Tutorials Creating Servlet in Netbeans http servlet Creating Java Servlets With NetBeans http java tutorials creating-java-servlets-with-netb eans Java Servlet Example http subMenuId 170 Developing JSPs and Servlets with Netbeans http documentation java servlets netbeans- webapps Compiling and Invoking Servlets Put your servlet classes in proper location Locations vary from server to server. . tomcat_install_dir webapps ROOT WEB-INF classes Invoke your servlets HTTP request http localhost servlet ServletName Custom URL-to-servlet mapping via Servlet vs Applet Servlets are to servers what applets are to browsers Applets run by browser servlets run by server. Applets are client-side java servlets are server-side java . Applets makes appearance of web pages alive servlets makes contents of web pages dynamic. Unlike applets however servlets have no graphical user interface. Implement only back-end processing. Java Servlets A servlet is a Java program that is invoked by a web server in response to a request Client Server Platform Web Server Web Application Servlet Java Servlets Together with web pages and other components servlets constitute part of a web application Servlets can create dynamic HTML content in response to a request handle user input such as from HTML forms access databases files and other system resources perform any computation required by an application Java Servlets Servlets are hosted by a servlet container

crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.