1.264 Lecture 15. Web development environments: JavaScript Java applets, servlets Java (J2EE) Active Server Pages
|
|
- Nathaniel Jones
- 5 years ago
- Views:
Transcription
1 1.264 Lecture 15 Web development environments: JavaScript Java applets, servlets Java (J2EE) Active Server Pages
2 Development environments XML, WSDL are documents SOAP is HTTP extension UDDI is a directory/registry of services, sites Allow servers, services to be found Browsers and client apps can handle these new protocols Less need for dynamic content to be downloaded Servers must generate and receive XML, SOAP, Straightforward extensions to HTTP, MIME types Java (J2EE) and Active Server Pages (ASP.NET) are the server environments that manage this Java (J2EE) and C#, C++ and Visual Basic (ASP) are programming languages used on servers Scripts and applets are used on the client side, but are relatively less important JavaScript, VBScript, Java applets are used on clients
3 Java, JavaScript, Java Beans < Run on server > -----Run on client-----> Developed independently by Sun (Java, Java Beans) and Netscape (JavaScript) Java and JavaScript, by chance, released in Netscape Navigator 2.0 JavaScript, JavaScriptBeans (JS components): Scripting language for HTML pages, using several new tags Can run on either browser (client) or Web server Java: Full programming language: Web and general programming Java applets: Limited Java programs running on browser (client) Java servlets: Full featured Java programs running on Web server Java Beans: Java programming language components Component model with standard interfaces (on server) PME (properties, methods, events) paradigm Enterprise Java Beans: database-oriented Java component Database transaction components: load balancing, rollbacks, Session components: maintaining state Java Server Pages: Simpler way of writing Java servlets on the Web server
4 Script basics (Java Script, VB Script) Script is program run on client or server in response to browser request Early scripts (Common Gateway Interface, or CGI) run on server only Modern script languages (VBScript, JavaScript) run on client or server JavaScript, VBScript are at least three times faster than CGI on server Active Server Pages specifies scripts to run on client and/or server Web scripts can be written in many languages Perl, C are typical choices in the past (and present) for server only VBScript and JavaScript are major options now for client Server side includes are a very simple script capability Include server variables, files, command outputs in html page sent to browser. SSI runs on server only. First part of this lecture focuses on scripts, primarily running on the browser These client scripts are loosely termed Dynamic HTML or DHTML Microsoft and Netscape DHTMLs are different and incompatible, though both support JavaScript (MS Jscript essentially identical) Server side scripts are used in the same way as server side programs, but only for simple operations
5 Motivation for scripts If sophisticated programs (Java, etc.) execute on server only, there are some problems: Send and receive html from browser, which is treated as dumb terminal Not very good interactively: long round-trip delay in displaying and getting forms with any internal logic or operations Economic issue (still unsolved): idle clients and expensive, loaded servers Solution is to put small programs on client machine to execute locally (though it hasn t been a great solution) Forms with built-in checking, animations, popup window prompts, (XML, XForms are better) Java, JavaScript, VBScript are distinct and confusingly named languages that address these issues JavaScript is now considered unsuitable: Security issues with loading unknown scripts on browser JavaScript capabilities limited; can be superseded by server
6 Browser-server interaction Step 1: Browser requests page without any parameters Step 2: Server fetches page, and returns empty input form Step 3: User fills out input form and presses submit button Step 4: Browser packages form into query string and sends to server Step 5: Program synthesizes a response document and returns it Browser Side GET /MyApp/MyPage xxxxxx xxxxxx GET /MyApp/MyProg?name=Pat Server Side Web svr Web svr MyProg MyProg Every dynamic validation, fill-in requires server intervention. - If later choices depend on earlier choices, etc. - JavaScript was felt to be solution, now XML, XSLT are - Pages can be XML or HTML
7 JavaScript (or VBScript) on browser Can read and write parts of their own documents and other documents the browser has open Limited access to browser resources (e.g., history list, back and forward buttons) Can read and set contents of fill-out forms, open new windows, create new documents (access to local folders!) Library of math and text manipulation functions Limited network communications, graphics and window creation Must use Java, not JavaScript, if you need to go beyond the bounds of an html document or a simple feature, such as: Animation, simulation, network communications, modules JavaScript has no modules and gets unwieldy after lines Use server side includes to fake a JavaScript library JavaScript code can t be kept private; Java can be compiled
8 Common JavaScript applications Create forward and backward buttons using history list Hard to know how user got to a static html page without JavaScript Create menus that select among URLs Conserve space by having list boxes instead of text lists Create scrolling or active headers or marquees Use function to shift strings one character at a time using settimeout() Create navigation bars in frames Allow menu in one frame to control display in another frame Extension of menus that select among URLs Again, these are simple enough that XML and XSLT can provide these features without downloading active content to the browser from a server
9 JavaScript applications, cont Validating fill-out form before submitting it Routine runs to check for required fields and valid formats If not correct, display alert box and refuse to submit form Creating pick lists for text fields using popup menus Creating shopping cart (not the best way to do it, though) Ecommerce application to add selected items to an order Frames can be used for short catalogs; windows for long catalogs Cookies must be used to maintain current status of cart Browsers reload JavaScript every time user resizes windows or frames Use local disk storage with cookie
10 JavaScript shopping cart example
11 Java applets (on browser) Java-enabled browsers can download and execute Java applets (small Java programs) Java applets are much more powerful than JavaScript Open own windows Create buttons Create animations on the fly, 3D model views, calculators, etc. Open network connections to home server, etc. Libraries for networks, graphics, multimedia, controls (widgets) Platform-independent: UNIX, Windows, Mac, Security features (much better than scripts or ActiveX) However, applets are still very limited because they run on the browser: No direct database access, little access to client hardware, less access to browser internal objects than JavaScript (due to security concerns)
12 Java applets Applets are embedded in HTML documents (like images) <APPLET> Browser examines tag to find location of Java code Browser downloads code, makes room on page, and runs it Usually from same server as HTML but not always Applet does the rest: Draws text, graphics into its space Interacts with user with its own buttons Most applets run in same windows, but some open new one Applet runs until user closes browser window or moves to different page
13 <APPLET> tag <APPLET CODE= name of applet compiled file (.class file) WIDTH= width of applet (pixels) HEIGHT= height of applet (pixels) CODEBASE= URL of applet ALT= alternate text to display NAME= applet name ALIGN= alignment VSPACE= extra whitespace above and below applet HSPACE= extra whitespace to left and right of applet > <PARAM NAME= first parameter VALUE= first value > <PARAM NAME= second parameter VALUE= second value > HTML text (ignored by applet; displayed by non-javaenabled browsers) </APPLET>
14 Java applet (runs on client, not server)
15 Java applet HTML <html> <head><title>charting Applet</title></head> <body><h1>charting Applet</h1> <APPLET CODEBASE="./applets" CODE="ChartUI" WIDTH=400 HEIGHT=300> <PARAM NAME="LocationType" VALUE=URL> <PARAM NAME="Location" VALUE="applets/goatdata.txt"> <PARAM NAME="Style" VALUE="3D Pie"> </APPLET>
16 Typical current Java applet examples Page decorations Marquees, banners, etc. Animation (set of.gif files that are looped through) Multimedia buttons Image maps (client side) Graphics (charts, graphs) Slide shows Real applications implemented as applets are rare... JavaScript can now pass parameters to applets Signed applets have more permissions than anonymous applets CORBA ORBs allow Java applets still more permissions (next lecture) Similar to JavaScript (or VB Script), this has not been very useful yet
17 Java on servers Java servlets. Implement the following steps: Read data sent by browser Usually entered by user, but could be from applet or JavaScript Look up other information from the HTTP request Browser capabilities, cookies, host, etc. from HTTP headers Generate results Access database, execute program (possibly via CORBA/COM), etc. Format the results as an HTML, XML or other Servlets can generate GIF, gzip, many MIME types Set HTTP response parameters in headers Send document back to browser Java Virtual Machine (JVM) runs the servlets on the server These evolved from applets (useless) into servlets (extremely useful, secure, standard)
18 import java.io.*; import javax.servlet.*; import javax.servlet.http.*; Servlet example public class Hello1264 extends HttpServlet { public void doget(httpservletrequest request, HttpServletResponse response) throws ServletException, IOException { response.setcontenttype("text/html"); PrintWriter out = response.getwriter(); String doctype = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " + "Transitional//EN\">\n"; out.println(doctype + "<HTML>\n" + "<HEAD><TITLE>Hello 1.264</TITLE></HEAD>\n" + "<BODY>\n" + "<H1>Hello 1.264</H1>\n" + "</BODY></HTML>");}}
19 Java Server Pages (JSP) Allows us to mix static HTML with dynamically generated content from servlets Many Web pages are primarily static Changeable parts are in only a few locations on the page A servlet requires us to generate the entire page dynamically each time JSP allows the Web designer to write static HTML and leave stubs for dynamic content Java programmers can then write the stubs Active Server Pages is very similar (homework 6) You won t need to write any code!
20 JSP example <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>JSP Example</TITLE> <LINK REL=STYLESHEET HREF="JSP-Styles.css" TYPE="text/css"> </HEAD> <BODY> <H2>JSP Expressions</H2> <UL> <LI>Current time: <%= new java.util.date() %> <LI>Your hostname: <%= request.getremotehost() %> <LI>Your session ID: <%= session.getid() %> <LI>The <CODE>testParam</CODE> form parameter: <%= request.getparameter("testparam") %> </UL> </BODY> </HTML>
21 JSP Example 2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>Color Testing</TITLE> </HEAD> <% String bgcolor = request.getparameter("bgcolor"); boolean hasexplicitcolor; if (bgcolor!= null) { hasexplicitcolor = true; } else { hasexplicitcolor = false; bgcolor = "WHITE";} %>
22 JSP Example 2, cont. <BODY BGCOLOR="<%= bgcolor %>"> <H2 ALIGN="CENTER">Color Testing</H2> <% if (hasexplicitcolor) { out.println("you supplied an explicit background color of " + bgcolor + "."); } else { out.println("using default background color of WHITE. " + "Supply the bgcolor request attribute to try " + "a standard color, an RRGGBB value, or to see " + "if your browser supports X11 color names."); } %> </BODY> </HTML>
23 Example Active Server Page or ServerSide JavaScript page <HTML> <HEAD> Normal HTML page sections </HEAD> <BODY> <% %> Script that runs on server as pg created <SCRIPT LANGUAGE= JavaScript > Script that runs in browser as pg interpreted </SCRIPT> <SERVER> Script executed on server, as pg created </SERVER> <!--#include --!> Server-side include, e.g., script or HTML stored in files <TABLE> Normal HTML code... </TABLE> </BODY> </HTML>
24 Coordinating scripts on server and client Browsers support VBScript, JavaScript and Java (JVM) Server may execute some scripts or programs on its own machine, and return others to the browser for execution on the client Java applets, client side JavaScript and ActiveX controls are always executed on client: Applets are sent between <APPLET> and </APPLET> tags ActiveX controls are sent between <OBJECT> and </OBJECT> tags JavaScript is sent between <SCRIPT> and </SCRIPT> tags Scripts to be executed on server: <% %> or <SERVER> encloses scripts to be run on server This code executes as page is being generated/interpreted on server
25 JavaBeans Component model for Java servlets and Java Server Pages Support reusable application components Components are pre-developed pieces of application code that can be assembled and integrated into working applications Beans are encapsulated classes whose code cannot be changed All data (properties) have SetXxx and GetXxx methods This allows a visual Properties box to display and set all data (Beans also need a 0-argument constructor and have no public data) Beans are usually used in Java Server Pages, which offer the best component environment
26 Enterprise Java Beans (EJBs) HTTP server Servlet, JSP Session object Entity object Web client Web server/ container EJB server/ container Database
27 EJBs, cont Session beans Represents client (browser), always a single client Keeps state : the status and current representation of the session (or can be stateless) Creates session bean just in time when needed, for efficiency and load balancing Entity beans Representations of back end data: a database, almost always Persistent, represent one object (often a table) Manages transactions, including rollbacks if failures Two phase commit, just as databases use Both EJBs are highly reusable and portable Sharply reduce programming effort Can be attached, configured in many ways by nonprogrammers
28 Summary: Java (J2EE) environment Application server Application server HTML, XML Java virtual machine Web server Java virtual machine Java RMI, XML EJBs XML databases Other Windows Linux
29 Active Server Pages Architecture Internet Internet Information Server (IIS) CGI Perl, Awk Active Server Pages (DLLs) Server-side includes VB Script J Script ASP ADO ODBC components Active Server Pages (.ASP files) Data
JSP Scripting Elements
JSP Scripting Elements Core Servlets & JSP book: More Servlets & JSP book: www.moreservlets.com Servlet and JSP Training Courses: courses.coreservlets.com 1 Slides Marty Hall, http://, book Sun Microsystems
More informationCSC309: Introduction to Web Programming. Lecture 11
CSC309: Introduction to Web Programming Lecture 11 Wael Aboulsaadat Servlets+JSP Model 2 Architecture 2 Servlets+JSP Model 2 Architecture = MVC Design Pattern 3 Servlets+JSP Model 2 Architecture Controller
More informationWeb Programming. Lecture 11. University of Toronto
CSC309: Introduction to Web Programming Lecture 11 Wael Aboulsaadat University of Toronto Servlets+JSP Model 2 Architecture University of Toronto 2 Servlets+JSP Model 2 Architecture = MVC Design Pattern
More informationServlet Basics. Agenda
Servlet Basics 1 Agenda The basic structure of servlets A simple servlet that generates plain text A servlet that generates HTML Servlets and packages Some utilities that help build HTML The servlet life
More informationServlet and JSP Review
2006 Marty Hall Servlet and JSP Review A Recap of the Basics 2 JSP, Servlet, Struts, JSF, AJAX, & Java 5 Training: http://courses.coreservlets.com J2EE Books from Sun Press: http://www.coreservlets.com
More informationChapter 10 Web-based Information Systems
Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 dessloch@informatik.uni-kl.de Chapter 10 Web-based Information Systems Role of the WWW for IS Initial
More informationCOMP9321 Web Application Engineering
COMP9321 Web Application Engineering Java Server Pages (JSP) Dr. Basem Suleiman Service Oriented Computing Group, CSE, UNSW Australia Semester 1, 2016, Week 3 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2442
More informationAdvanced Java Programming
Advanced Java Programming Length: 4 days Description: This course presents several advanced topics of the Java programming language, including Servlets, Object Serialization and Enterprise JavaBeans. In
More informationCOMP9321 Web Application Engineering
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 3 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2411 1 Review:
More informationCSC309: Introduction to Web Programming. Lecture 10
CSC309: Introduction to Web Programming Lecture 10 Wael Aboulsaadat WebServer - WebApp Communication 2. Servlets Web Browser Get servlet/serv1? key1=val1&key2=val2 Web Server Servlet Engine WebApp1 serv1
More informationSession 8. Introduction to Servlets. Semester Project
Session 8 Introduction to Servlets 1 Semester Project Reverse engineer a version of the Oracle site You will be validating form fields with Ajax calls to a server You will use multiple formats for the
More informationStateless -Session Bean
Stateless -Session Bean Prepared by: A.Saleem Raja MCA.,M.Phil.,(M.Tech) Lecturer/MCA Chettinad College of Engineering and Technology-Karur E-Mail: asaleemrajasec@gmail.com Creating an Enterprise Application
More informationKINGS COLLEGE OF ENGINEERING 1
KINGS COLLEGE OF ENGINEERING Department of Computer Science & Engineering Academic Year 2011 2012(Odd Semester) QUESTION BANK Subject Code/Name: CS1401-Internet Computing Year/Sem : IV / VII UNIT I FUNDAMENTALS
More information13. Databases on the Web
13. Databases on the Web Requirements for Web-DBMS Integration The ability to access valuable corporate data in a secure manner Support for session and application-based authentication The ability to interface
More informationCE212 Web Application Programming Part 3
CE212 Web Application Programming Part 3 30/01/2018 CE212 Part 4 1 Servlets 1 A servlet is a Java program running in a server engine containing methods that respond to requests from browsers by generating
More informationDatabase Systems Lab. 11. JSP I 충남대학교컴퓨터공학과 데이타베이스시스템연구실
데이타베이스시스템연구실 Database Systems Lab. 11. JSP I 충남대학교컴퓨터공학과 데이타베이스시스템연구실 Overview http://www.tutorialspoint.com/jsp/index.htm What is JavaServer Pages? JavaServer Pages (JSP) is a server-side programming
More informationWeb based Applications, Tomcat and Servlets - Lab 3 -
CMPUT 391 Database Management Systems Web based Applications, - - CMPUT 391 Database Management Systems Department of Computing Science University of Alberta The Basic Web Server CMPUT 391 Database Management
More informationICOM 5016 Database Systems. Database Users. User Interfaces and Tools. Chapter 8: Application Design and Development.
Chapter 8: Application Design and Development ICOM 5016 Database Systems Web Application Amir H. Chinaei Department of Electrical and Computer Engineering University of Puerto Rico, Mayagüez User Interfaces
More informationIntroduction. This course Software Architecture with Java will discuss the following topics:
Introduction This course Software Architecture with Java will discuss the following topics: Java servlets Java Server Pages (JSP s) Java Beans JDBC, connections to RDBMS and SQL XML and XML translations
More informationJ2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format.
J2EE Development Detail: Audience www.peaksolutions.com/ittraining Java developers, web page designers and other professionals that will be designing, developing and implementing web applications using
More informationJavaServer Pages. Juan Cruz Kevin Hessels Ian Moon
Page 1 of 14 JavaServer Pages Table of Contents 1. Introduction What is JSP? Alternative Solutions Why Use JSP? 2. JSP Process Request Compilation Example 3. Object Instantiation and Scope Scope Synchronization
More informationIntroduction. Literature: Steelman & Murach, Murach s Java Servlets and JSP. Mike Murach & Associates Inc, 2003
Introduction This course Software Architecture with Java will discuss the following topics: Java servlets Java Server Pages (JSP s) Java Beans JDBC, connections to RDBMS and SQL XML and XML translations
More informationsessionx Desarrollo de Aplicaciones en Red A few more words about CGI CGI Servlet & JSP José Rafael Rojano Cáceres
sessionx Desarrollo de Aplicaciones en Red José Rafael Rojano Cáceres http://www.uv.mx/rrojano A few more words about Common Gateway Interface 1 2 CGI So originally CGI purpose was to let communicate a
More informationDEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
SHRI ANGALAMMAN COLLEGE OF ENGINEERING & TECHNOLOGY (An ISO 9001:2008 Certified Institution) SIRUGANOOR,TRICHY-621105. DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING Year/Sem: IV / VII CS1401 INTERNET
More informationServlets and JSP (Java Server Pages)
Servlets and JSP (Java Server Pages) XML HTTP CGI Web usability Last Week Nan Niu (nn@cs.toronto.edu) CSC309 -- Fall 2008 2 Servlets Generic Java2EE API for invoking and connecting to mini-servers (lightweight,
More informationHTML HTML. Chris Seddon CRS Enterprises Ltd 1
Chris Seddon seddon-software@keme.co.uk 2000-12 CRS Enterprises Ltd 1 2000-12 CRS Enterprises Ltd 2 Reference Sites W3C W3C w3schools DevGuru Aptana GotAPI Dog http://www.w3.org/ http://www.w3schools.com
More informationJavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK
Programming for Digital Media EE1707 JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK 1 References and Sources 1. Javascript & JQuery: interactive front-end
More informationSession 9. Introduction to Servlets. Lecture Objectives
Session 9 Introduction to Servlets Lecture Objectives Understand the foundations for client/server Web interactions Understand the servlet life cycle 2 10/11/2018 1 Reading & Reference Reading Use the
More informationJava Enterprise Edition. Java EE Oct Dec 2016 EFREI/M1 Jacques André Augustin Page 1
Java Enterprise Edition Java EE Oct Dec 2016 EFREI/M1 Jacques André Augustin Page 1 Java Beans Java EE Oct Dec 2016 EFREI/M1 Jacques André Augustin Page 2 Java Bean POJO class : private Attributes public
More informationJSP Scripting Elements
2009 Marty Hall Invoking Java Code with JSP Scripting Elements Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/csajsp2.html 2 Customized Java EE Training:
More informationHandout 31 Web Design & Development
Lecture 31 Session Tracking We have discussed the importance of session tracking in the previous handout. Now, we ll discover the basic techniques used for session tracking. Cookies are one of these techniques
More informationPSD1B Advance Java Programming Unit : I-V. PSD1B- Advance Java Programming
PSD1B Advance Java Programming Unit : I-V PSD1B- Advance Java Programming 1 UNIT I - SYLLABUS Servlets Client Vs Server Types of Servlets Life Cycle of Servlets Architecture Session Tracking Cookies JDBC
More informationWelcome To PhillyJUG. 6:30-7:00 pm - Network, eat, find a seat 7:00-7:15 pm - Brief announcements 7:15-8:30 pm - Tom Janofsky's presentation
Welcome To PhillyJUG 6:30-7:00 pm - Network, eat, find a seat 7:00-7:15 pm - Brief announcements 7:15-8:30 pm - Tom Janofsky's presentation Web Development With The Struts API Tom Janofsky Outline Background
More informationJava Applets, etc. Instructor: Dmitri A. Gusev. Fall Lecture 25, December 5, CS 502: Computers and Communications Technology
Java Applets, etc. Instructor: Dmitri A. Gusev Fall 2007 CS 502: Computers and Communications Technology Lecture 25, December 5, 2007 CGI (Common Gateway Interface) CGI is a standard for handling forms'
More informationTo follow the Deitel publishing program, sign-up now for the DEITEL BUZZ ON-
Ordering Information: Advanced Java 2 Platform How to Program View the complete Table of Contents Read the Preface Download the Code Examples To view all the Deitel products and services available, visit
More informationIntroduction to Servlets. After which you will doget it
Introduction to Servlets After which you will doget it Servlet technology A Java servlet is a Java program that extends the capabilities of a server. Although servlets can respond to any types of requests,
More informationVision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1
Umair Javed 2004 J2EE Based Distributed Application Architecture Overview Lecture - 2 Distributed Software Systems Development Why J2EE? Vision of J2EE An open standard Umbrella for anything Java-related
More informationChapter 10 Web-based Information Systems
Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 dessloch@informatik.uni-kl.de Chapter 10 Web-based Information Systems Role of the WWW for IS Initial
More informationHttpServlet ( Class ) -- we will extend this class to handle GET / PUT HTTP requests
What is the servlet? Servlet is a script, which resides and executes on server side, to create dynamic HTML. In servlet programming we will use java language. A servlet can handle multiple requests concurrently.
More informationive JAVA EE C u r r i c u l u m
C u r r i c u l u m ive chnoworld Development Training Consultancy Collection Framework - The Collection Interface(List,Set,Sorted Set). - The Collection Classes. (ArrayList,Linked List,HashSet,TreeSet)
More informationSoftware Elements of Electronic Business Sites
Software Elements of Electronic Business Sites Daniel A. Menascé, Ph. D. www.cs.gmu.edu/faculty/menasce.html 1 Implementation Options Client Server Client-side: client-side scripts Java applets Server-side:
More informationIT6503 WEB PROGRAMMING. Unit-I
Department of Information Technology Question Bank- Odd Semester 2015-2016 IT6503 WEB PROGRAMMING Unit-I SCRIPTING 1. What is HTML? Write the format of HTML program. 2. Differentiate HTML and XHTML. 3.
More informationEnterprise Java Unit 1- Chapter 3 Prof. Sujata Rizal Introduction to Servlets
1. Introduction How do the pages you're reading in your favorite Web browser show up there? When you log into your favorite Web site, how does the Web site know that you're you? And how do Web retailers
More informationCS506 Web Design & Development Final Term Solved MCQs with Reference
with Reference I am student in MCS (Virtual University of Pakistan). All the MCQs are solved by me. I followed the Moaaz pattern in Writing and Layout this document. Because many students are familiar
More informationChapter 15 Plug-ins, ActiveX, and Applets
Chapter 15 Plug-ins, ActiveX, and Applets Presented by Thomas Powell Slides adopted from HTML & XHTML: The Complete Reference, 4th Edition 2003 Thomas A. Powell Web Programming Toolbox Redux Java Applets
More informationWHITE LABELING IN PROGRESS ROLLBASE PRIVATE CLOUD
W HI TEPAPER www. p rogres s.com WHITE LABELING IN PROGRESS ROLLBASE PRIVATE CLOUD In this whitepaper, we describe how to white label Progress Rollbase private cloud with your brand name by following a
More informationClient-side Processing
Client-side Processing 1 Examples: Client side processing 1. HTML 2. Plug-ins 3. Scrips (e.g. JavaScript, VBScript, etc) 4. Applet 5. Cookies Other types of client-side processing 1. Cascading style sheets
More informationUnit 4. CRM - Web Marketing 4-1
Unit 4. CRM - Web Marketing What This Unit Is About Identify/utilize the components of the framework to build and run Web Marketing solutions What You Should Be Able to Do After completing this unit, you
More information1.264 Lecture 14. SOAP, WSDL, UDDI Web services
1.264 Lecture 14 SOAP, WSDL, UDDI Web services Front Page Demo File->New Web (must create on CEE server) Choose Web type Add navigation using Format->Shared Borders (frames) Use top and left, include navigation
More informationCourse Content for Java J2EE
CORE JAVA Course Content for Java J2EE After all having a lot number of programming languages. Why JAVA; yet another language!!! AND NOW WHY ONLY JAVA??? PART-1 Basics & Core Components Features and History
More informationIntroduction to Java Servlets. SWE 432 Design and Implementation of Software for the Web
Introduction to Java Servlets James Baldo Jr. SWE 432 Design and Implementation of Software for the Web Web Applications A web application uses enabling technologies to 1. make web site contents dynamic
More information1.264 Lecture 12. HTML Introduction to FrontPage
1.264 Lecture 12 HTML Introduction to FrontPage HTML Subset of Structured Generalized Markup Language (SGML), a document description language SGML is ISO standard Current version of HTML is version 4.01
More informationJAVA SERVLET. Server-side Programming INTRODUCTION
JAVA SERVLET Server-side Programming INTRODUCTION 1 AGENDA Introduction Java Servlet Web/Application Server Servlet Life Cycle Web Application Life Cycle Servlet API Writing Servlet Program Summary 2 INTRODUCTION
More information(Refer Slide Time: 01:40)
Internet Technology Prof. Indranil Sengupta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture No #25 Javascript Part I Today will be talking about a language
More informationChapter 6 Enterprise Java Beans
Chapter 6 Enterprise Java Beans Overview of the EJB Architecture and J2EE platform The new specification of Java EJB 2.1 was released by Sun Microsystems Inc. in 2002. The EJB technology is widely used
More informationComponent-Based Software Engineering. ECE493-Topic 5 Winter Lecture 26 Java Enterprise (Part D)
Component-Based Software Engineering ECE493-Topic 5 Winter 2007 Lecture 26 Java Enterprise (Part D) Ladan Tahvildari Assistant Professor Dept. of Elect. & Comp. Eng. University of Waterloo J2EE Application
More informationOracle 10g: Build J2EE Applications
Oracle University Contact Us: (09) 5494 1551 Oracle 10g: Build J2EE Applications Duration: 5 Days What you will learn Leading companies are tackling the complexity of their application and IT environments
More informationSession 8. JavaBeans. Reading & Reference. Reading. Reference. Session 8 Java Beans. 2/27/2013 Robert Kelly, Head First Chapter 3 (MVC)
Session 8 JavaBeans 1 Reading Reading & Reference Head First Chapter 3 (MVC) Reference JavaBeans Tutorialdocs.oracle.com/javase/tutorial/javabeans/ 2 2/27/2013 1 Lecture Objectives Understand how the Model/View/Controller
More informationThis tutorial will teach you how to use Java Servlets to develop your web based applications in simple and easy steps.
About the Tutorial Servlets provide a component-based, platform-independent method for building Webbased applications, without the performance limitations of CGI programs. Servlets have access to the entire
More informationComputational Web Portals. Tomasz Haupt Mississippi State University
Computational Web Portals Tomasz Haupt Mississippi State University What is a portal? Is it a web page? There is something going on behind the scene! Synopsis URL TCP/IP SSL HTTP HTTPS PKI Kerberos HTML
More informationChapter 8 Web-based Information Systems
Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 dessloch@informatik.uni-kl.de Chapter 8 Web-based Information Systems Role of the WWW for IS Initial
More informationJava Enterprise Edition
Java Enterprise Edition The Big Problem Enterprise Architecture: Critical, large-scale systems Performance Millions of requests per day Concurrency Thousands of users Transactions Large amounts of data
More informationSUB Gfittingen A nd Editi S«BEX- SAN FRANCISCO PARIS DUSSELDORF SOEST LONDON
SUB Gfittingen 213 545 233 2001 A 9390 nd Editi S«BEX- SAN FRANCISCO PARIS DUSSELDORF SOEST LONDON CONTENTS Introduction xxiii Part I Introducing HTML 1 Chapter 1 a Introducing Web Pages and HTML 3 An
More informationSNS COLLEGE OF ENGINEERING, Coimbatore
SNS COLLEGE OF ENGINEERING, Coimbatore 641 107 Accredited by NAAC UGC with A Grade Approved by AICTE and Affiliated to Anna University, Chennai IT6503 WEB PROGRAMMING UNIT 04 APPLETS Java applets- Life
More informationThe Basic Web Server CGI. CGI: Illustration. Web based Applications, Tomcat and Servlets - Lab 3 - CMPUT 391 Database Management Systems 4
CMPUT 391 Database Management Systems The Basic Web based Applications, - - CMPUT 391 Database Management Systems Department of Computing Science University of Alberta CMPUT 391 Database Management Systems
More informationSERVLETS INTERVIEW QUESTIONS
SERVLETS INTERVIEW QUESTIONS http://www.tutorialspoint.com/servlets/servlets_interview_questions.htm Copyright tutorialspoint.com Dear readers, these Servlets Interview Questions have been designed especially
More informationAdvanced Internet Technology Lab # 4 Servlets
Faculty of Engineering Computer Engineering Department Islamic University of Gaza 2011 Advanced Internet Technology Lab # 4 Servlets Eng. Doaa Abu Jabal Advanced Internet Technology Lab # 4 Servlets Objective:
More informationAppendix A - Glossary(of OO software term s)
Appendix A - Glossary(of OO software term s) Abstract Class A class that does not supply an implementation for its entire interface, and so consequently, cannot be instantiated. ActiveX Microsoft s component
More information********************************************************************
******************************************************************** www.techfaq360.com SCWCD Mock Questions : Servlet ******************************************************************** Question No :1
More informationCHAPTER 7 WEB SERVERS AND WEB BROWSERS
CHAPTER 7 WEB SERVERS AND WEB BROWSERS Browser INTRODUCTION A web browser is a software application for retrieving, presenting, and traversing information resources on the World Wide Web. An information
More informationAdvanced Topics in Operating Systems. Manual for Lab Practices. Enterprise JavaBeans
University of New York, Tirana M.Sc. Computer Science Advanced Topics in Operating Systems Manual for Lab Practices Enterprise JavaBeans PART III A Web Banking Application with EJB and MySQL Development
More informationJava J Course Outline
JAVA EE - J2SE - CORE JAVA After all having a lot number of programming languages. Why JAVA; yet another language!!! AND NOW WHY ONLY JAVA??? CHAPTER 1: INTRODUCTION What is Java? History Versioning The
More informationOverview p. 1 Server-side Component Architectures p. 3 The Need for a Server-Side Component Architecture p. 4 Server-Side Component Architecture
Preface p. xix About the Author p. xxii Introduction p. xxiii Overview p. 1 Server-side Component Architectures p. 3 The Need for a Server-Side Component Architecture p. 4 Server-Side Component Architecture
More informationDeccansoft Software Services. J2EE Syllabus
Overview: Java is a language and J2EE is a platform which implements java language. J2EE standard for Java 2 Enterprise Edition. Core Java and advanced java are the standard editions of java whereas J2EE
More informationAJP. CHAPTER 5: SERVLET -20 marks
1) Draw and explain the life cycle of servlet. (Explanation 3 Marks, Diagram -1 Marks) AJP CHAPTER 5: SERVLET -20 marks Ans : Three methods are central to the life cycle of a servlet. These are init( ),
More informationJ2EE Web Development 13/1/ Application Servers. Application Servers. Agenda. In the beginning, there was darkness and cold.
1. Application Servers J2EE Web Development In the beginning, there was darkness and cold. Then, mainframe terminals terminals Centralized, non-distributed Agenda Application servers What is J2EE? Main
More informationProblems in Scaling an Application Client
J2EE What now? At this point, you understand how to design servers and how to design clients Where do you draw the line? What are issues in complex enterprise platform? How many servers? How many forms
More informationCh04 JavaServer Pages (JSP)
Ch04 JavaServer Pages (JSP) Introduce concepts of JSP Web components Compare JSP with Servlets Discuss JSP syntax, EL (expression language) Discuss the integrations with JSP Discuss the Standard Tag Library,
More informationComponent Based Software Engineering
Component Based Software Engineering Masato Suzuki School of Information Science Japan Advanced Institute of Science and Technology 1 Schedule Mar. 10 13:30-15:00 : 09. Introduction and basic concepts
More informationChapter 27. HTTP and WWW
Chapter 27 HTTP and WWW 27.1 HTTP Transaction Request Message Response Message Headers Note: HTTP uses the services of TCP on well-known port 80. Figure 27.1 HTTP transaction Figure 27.2 Request message
More informationSession 20 Data Sharing Session 20 Data Sharing & Cookies
Session 20 Data Sharing & Cookies 1 Reading Shared scopes Java EE 7 Tutorial Section 17.3 Reference http state management www.ietf.org/rfc/rfc2965.txt Cookies Reading & Reference en.wikipedia.org/wiki/http_cookie
More informationChapter 10 Web-based Information Systems
Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 dessloch@informatik.uni-kl.de Chapter 10 Web-based Information Systems Role of the WWW for IS Initial
More informationCS WEB TECHNOLOGY
CS1019 - WEB TECHNOLOGY UNIT 1 INTRODUCTION 9 Internet Principles Basic Web Concepts Client/Server model retrieving data from Internet HTM and Scripting Languages Standard Generalized Mark up languages
More informationInternet Technologies 5-Dynamic Web. F. Ricci 2010/2011
Internet Technologies 5-Dynamic Web F. Ricci 2010/2011 Content The "meanings" of dynamic Building dynamic content with Java EE (server side) HTML forms: how to send to the server the input PHP: a simpler
More informationThe Umbilical Cord And Alphabet Soup
2.771J BEH.453J HST.958J Spring 2005 Lecture 24 February 2005 The Umbilical Cord And Alphabet Soup THE UMBILICAL CORD AND ALPHABET SOUP Java contributions Interpreted language Remote code without security
More informationCS433 Technology Overview
CS433 Technology Overview Scott Selikoff Cornell University November 13, 2002 Outline I. Introduction II. Stored Procedures III. Java Beans IV. JSPs/Servlets V. JSPs vs. Servlets VI. XML Introduction VII.
More informationUNIT -I PART-A Q.No Question Competence BTL
VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur-60303. Department of Information Technology Academic Year: 06-07 QUESTION BANK- ODD SEMESTER Name of the Subject Subject Code Semester Year Department
More informationServlet Fudamentals. Celsina Bignoli
Servlet Fudamentals Celsina Bignoli bignolic@smccd.net What can you build with Servlets? Search Engines E-Commerce Applications Shopping Carts Product Catalogs Intranet Applications Groupware Applications:
More informationA General ecommerce Platform with Strong International and Local Aspects
A General ecommerce Platform with Strong International and Local Aspects By Martin Ramsin A Master s Thesis August 2000 Examiner: Professor Seif Haridi Supervisors:Andy Neil and Mark Bünger, Icon MediaLab
More informationCOMP9321 Web Application Engineering
COMP9321 Web Application Engineering Semester 2, 2017 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 3 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2465 1 Review:
More informationServlets by Example. Joe Howse 7 June 2011
Servlets by Example Joe Howse 7 June 2011 What is a servlet? A servlet is a Java application that receives HTTP requests as input and generates HTTP responses as output. As the name implies, it runs on
More information3. WWW and HTTP. Fig.3.1 Architecture of WWW
3. WWW and HTTP The World Wide Web (WWW) is a repository of information linked together from points all over the world. The WWW has a unique combination of flexibility, portability, and user-friendly features
More informationServlets. An extension of a web server runs inside a servlet container
Servlets What is a servlet? An extension of a web server runs inside a servlet container A Java class derived from the HttpServlet class A controller in webapplications captures requests can forward requests
More information4.1 The Life Cycle of a Servlet 4.2 The Java Servlet Development Kit 4.3 The Simple Servlet: Creating and compile servlet source code, start a web
UNIT - 4 Servlet 4.1 The Life Cycle of a Servlet 4.2 The Java Servlet Development Kit 4.3 The Simple Servlet: Creating and compile servlet source code, start a web browser and request the servlet, example
More informationDistributed Multitiered Application
Distributed Multitiered Application Java EE platform uses a distributed multitiered application model for enterprise applications. Logic is divided into components https://docs.oracle.com/javaee/7/tutorial/overview004.htm
More informationJavaServer Pages (JSP)
JavaServer Pages (JSP) The Context The Presentation Layer of a Web App the graphical (web) user interface frequent design changes usually, dynamically generated HTML pages Should we use servlets? No difficult
More informationINVOKING JAVA CODE WITH JSP SCRIPTING ELEMENTS. Topics in This Chapter
INVOKING JAVA CODE WITH JSP SCRIPTING ELEMENTS Topics in This Chapter Static vs. dynamic text Dynamic code and good JSP design The importance of packages for JSP helper/utility classes JSP expressions
More informationSun Java Studio Creator. Ken Paulsen Staff Engineer Sun Microsystems, Incorporated (Slides by: Craig R. McClanahan)
Sun Java Studio Creator Ken Paulsen Staff Engineer Sun Microsystems, Incorporated (Slides by: Craig R. McClanahan) Agenda Background Developer characteristics Corporate developers Sun Java Studio Creator
More informationJAVA. Duration: 2 Months
JAVA Introduction to JAVA History of Java Working of Java Features of Java Download and install JDK JDK tools- javac, java, appletviewer Set path and how to run Java Program in Command Prompt JVM Byte
More informationIntroduction. This course Software Architecture with Java will discuss the following topics:
Introduction This course Software Architecture with Java will discuss the following topics: Java servlets Java Server Pages (JSP s) Java Beans JDBC, connections to RDBMS and SQL XML and XML translations
More information