Julien Thibault / Phil Brewster / Kristina Doing-Harris

Slides:



Advertisements
Similar presentations
DT228/3 Web Development WWW and Client server model.
Advertisements

Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
Apache Tomcat Server – installation & use Server-side language-- use Java Server Pages Contrast Client-side languages HTML Forms Servers & Server-side.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Introduction to Web Interface Technology (CSE2030)
Introduction to Web Based Application. Web-based application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
Apache Tomcat Server Typical html Request/Response cycle
Java Server Pages B.Ramamurthy. Java Server Pages Servlets are pure Java programs. They introduce dynamism into web pages by using programmatic content.
J2EE Java 2 Enterprise Edition. Relevant Topics in The Java Tutorial Topic Web Page JDBC orial/jdbc
Website Development with PHP and MySQL Introduction.
1 Java Server Pages Can web pages be created specially for each user? What part does Java play?
Building and Deploying a Simple Web Application. Tomcat and JSP Tomcat is an application server, commonly used to host JSP applications Applications are.
Web Applications Basics. Introduction to Web Web features Clent/Server HTTP HyperText Markup Language URL addresses Web server - a computer program that.
CS 160: Software Engineering August 27 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
8 Server Side Scripting.
Java Servlets and JSP.
Chapter 1 Web Server Setup and Configuration. Contents A.What is web server B.Installing and Configuring Web Server C.Testing the Installation.
Intro to Servlets Lec 26. Web-Based Enterprise Applications in Java Figure shows a simplified view of one application and its layers.
Web Page A page displayed by the browser. Website Collection of multiple web pages Web Browser: A software that displays web pages on client computer.
JSP and Servlets Lecture notes by Theodoros Anagnostopoulos.
DAT602 Database Application Development Lecture 15 Java Server Pages Part 1.
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
Web server and web browser It’s a take and give policy in between client and server through HTTP(Hyper Text Transport Protocol) Server takes a request.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
J2EE Web Fundamentals Lesson 1 Introduction and Overview
1 Homework / Exam Exam 3 –Solutions Posted –Questions? HW8 due next class Final Exam –See posted schedule Websites on UNIX systems Course Evaluations.
Julien Thibault  HTML is the basic building-blocks of webpages  It is not a language!! (despite its name)  Structure text/media.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
1 John Magee 9 November 2012 CS120 Lecture 17a: Publishing Web pages.
Java Omar Rana University of South Asia. Course Overview JAVA  C/C++ and JAVA Comparison  OOP in JAVA  Exception Handling  Streams  Graphics User.
Developing Axis based Web Services using Eclipse 3.3 Saurabh Mittal Feb 28, 2008.
CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES LECTURE 5_1 George Koutsogiannakis/ Summer
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
Guidelines for Homework 6. Getting Started Homework 6 requires that you complete Homework 5. –All of HW5 must run on the GridFarm. –HW6 may run elsewhere.
111 Java Servlets Dynamic Web Pages (Program Files) Servlets versus Java Server Pages Implementing Servlets Example: F15 Warranty Registration Tomcat Configuration.
COMP 321 Week 7. Overview HTML and HTTP Basics Dynamic Web Content ServletsMVC Tomcat in Eclipse Demonstration Lab 7-1 Introduction.
Website Design Lecture 1. Outline Introduction to the module Outline of the Assessment Schedule Lecture Static XHTML, client side and server side Why.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Application Block Diagram III. SOFTWARE PLATFORM Figure above shows a network protocol stack for a computer that connects to an Ethernet network and.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
The HTTP is a standard that all Web browsers and Web servers must speak in order for the Web portion of the Internet to work.
Active Server Pages Server-Side Scripting and Client-Side Scripting.
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
1 Introduction to Web Applications & APIs. 2 Agenda  Architecture of Web Applications Three layer architecture  Web Server (Tomcat) Installation Data.
Chapter 1 Server Setup and Configuration. Contents A.Installing and Configuring Web Server B.Testing the Installation.
Deploying a service. Talk titledate2 Talk titledate3 Section SOAP Deployment.
WHAT IS SERVER SIDE SCRIPTING? Server-side scripting is a web server technology in which a user's request is verified by running a script directly on the.
CITA 310 Section 7 Installing and Testing a Programming Environment (Textbook Chapter 7)
Scripting Languages Client Side and Server Side. Examples of client side/server side Examples of client-side side include: JavaScript Jquery (uses a JavaScript.
Core basic Java web server technologies. Tools Eclipse IDE for Java EE Developers (Netbeans also works) nloads/packages/eclipse-
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
Deploy Web Application Source View Development (Local) : IDE embedded Server.
JAVA, JEE Training Introduction to Web Harinath Mallepally
1 LM 6 Database Applications Dr. Lei Li. Learning Objectives Explain three components of a client-server system Describe differences between a 2-tiered.
1 Web Programming with Servlets & JSPs WEB APPLICATIONS – AN OVERVIEW.
Labs: Create, deploy and test a simple web service
Apache Tomcat & Quick Tutorial
Java Server Pages Can web pages be created specially for each user?
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
Course Outcomes of Advanced Java Programming AJP (17625, C603)
Web App vs Mobile App.
Chapter 27 WWW and HTTP.
J2EE Lecture 1:Servlet and JSP
Presentation transcript:

Julien Thibault / Phil Brewster / Kristina Doing-Harris

 Web development includes  web design, web content development, client liaison, client-side/server-side scripting, web server and network security configuration, e-commerce…  Limitations of “static” HTML  HTML only structures data (text, pictures, media) for rendering in the browser  The hosting web server just send the HTML file as is to the user  Does not natively offers ways to interface with data sources (e.g. Databases)  Dynamic web through server-side code  A web server dynamically generates a web page based on the user request  The user’s request is processed on the server-side, and HTML is generated accordingly to represent the response, then finally sent back to the user.  Many technologies and languages available  Microsoft.NET, Java Server Pages  CGI, PHP, ColdFusion

 Java Servlets  Java Classes used to process HTTP requests  Hosted by the web server (typically Apache Tomcat)  Good technology choice if you want to reuse existing Java libraries  Java Server Pages (JSP)  Java technology used to embed server-side code directly into the web page  When the JSP pages are deployed, the server compiles them and creates the corresponding Servlets.  JSP example:  Server-side code is surrounded by the tags Hello world test Hello World!

 Open Eclipse JEE and create a new Dynamic Web Project (e.g. helloproject)  The project should include the following folders:  Java Resources/src/: where you put your Java classes (including servlets)  WebContent/: where you put your web pages (html/jsp), and other web content (pictures, CSS)  WebContent/WEB-INF/lib: where you put your Java libraries (jar files)  To create a new JSP page:  Right-click on WebContent/ -> New -> JSP file (e.g. create hello.jsp from previous slide)  To create a new Servlet  Right-click on JavaResources/src/ folder -> New -> Servlet  To deploy your web application  Right-click on the project folder -> Export -> WAR file  Destination: the webapps/ folder of your Apache Tomcat install (e.g. C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\)  The project will be packaged into a WAR file (Web application ARchive) and deployed onto the server  Now you should be able to access you web app at

Connecting to CHPC  Host: sanddunearch.chpc.utah.edu  Login: uNID  Password: uNID password Hosting your JSP pages 1. Create a public_jsp folder in your home directory 2. Copy your web page to that folder (scp command or WinSCP) 3. Now you can access your webpage at: Ex: Note: if you just copy the WAR file to that folder, it might take a few minutes to actually deploy.