Introduction to Java Web Programming Gregg Sporar

Slides:



Advertisements
Similar presentations
JSP and web applications
Advertisements

ISE 390 Dynamic Web Development Java EE Web Applications.
Web MVC-2: Apache Struts Rimon Mikhaiel
Web applications using JavaServer Faces (JSF) A brief introduction 1JavaServer Faces (JSF)
JSP: JavaServer Pages Juan Cruz Kevin Hessels Ian Moon.
Internet Technologies 1 Master of Information System Management Java Server Faces Model/View/Controller Design Pattern for Web Development Slides.
WEB1P servintro1 Introduction to servlets and JSP Dr Jim Briggs.
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
Tutorial: Server-Side Web Applications with Java, JSP and Tomcat Eran Toch December 2004 Methodologies in Information Systems Development.
Layers & Tiers Umair Javed Lec - 41.
1 Build a Web Application on J2EE. 2 J2EE Scenario Client – Web Server – EIS Resources Client – Web Server – EIS Resources Client – Application Server.
Introduction to Servlet & JSP
1 Java Server Pages Can web pages be created specially for each user? What part does Java play?
Session-01. What is a Servlet? Servlet can be described in many ways, depending on the context: 1.Servlet is a technology i.e. used to create web application.
Web Applications Basics. Introduction to Web Web features Clent/Server HTTP HyperText Markup Language URL addresses Web server - a computer program that.
Introduction to Java web programming Dr Jim Briggs JWP intro1.
Java Enterprise Edition Java Web Development Structure of a web project Introduction to Web Applications The first project Introduction to Java Web Development.
INTRODUCING THE JAVA EE PLATFORM Ch-5. Introduction Java is a  platform-independent programming language  secure and robust applications  may run on.
J AVA SE, EE, AND ME Compiled (with permission) from Sang Shin’s Introduction to Java EE Online Course Introduction to Java EE Online Course.
Struts. Agenda Preface Struts and its components An example The architecture required for Struts Applications.
UNIT-V The MVC architecture and Struts Framework.
JavaServer Faces: The Fundamentals Compiled from Sun TechDays workshops (JSF Basics, Web-Tier Codecamp: JavaServer Faces, Java Studio Creator; IBM RAD)
11. Java-Based Web: JSP, JSF. 2 Motto: Rule 1: Our client is always right Rule 2: If you think our client is wrong, see Rule 1. - Anonymous.
Introduction to Java EE (J2EE)
Web Tier Technologies.
Pittsburgh Java User Group– Dec Java PureFaces: A JSF Framework Extension.
Distributed Multitiered Applications The J2EE platform uses a multitiered distributed application model. Application logic is divided into components 1.
Bayu Priyambadha, S.Kom. What is J2EE? * Open and standard based platform for developing, deploying and managing n-tier, Web-enabled, server-centric,
Framework and application bytecode size CLDC MIDP kXML parser Utility classes Graphics Logic (MIDlet) Application Data (XML file)
Computer Science Wi-Fi App using J2ME and MVC Architecture Advisor : Dr. Chung-E Wang Department of Computer Science Sacramento State University Date:
Web applications using JavaServer Faces (JSF) A brief introduction 1JavaServer Faces (JSF)
Apache Struts RIFE Ruby on Rails Harry R. Erwin, PhD University of Sunderland CIT304/CSE301.
JSF Introduction Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Lecturer: Prof. Piero Fraternali, Teaching Assistant: Alessandro Bozzon, Advanced Web Technologies: Struts–
Fall CIS 764 Database Systems Design L8. Web ….
Java Web Development with NetBeans IDE -- Kai Qian Chapter 5 JavaServer Faces (JSF) Technology.
Introduction to Java EE (J2EE). CSE, IITB Umesh Bellur Session Objectives Understanding the value propositions of J2EE Getting a big picture of J2EE architecture.
JSF Framework Java Server Faces Presented by Songkran Totiya (6/10/2014)
Copyright © 2002 ProsoftTraining. All rights reserved. JavaServer Pages.
JavaServer Faces (JSF) and Ajax Integration. Agenda 대강의 ( 정말로..) 개요 예제 아키텍트라면..
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 41 JavaServer Face.
An Introduction to JavaServer™ Pages Prepared by Nicole Swan.
Markus Hjort Reaktor Innovations Java Web Development T WWW-palvelun HUT
An Introduction to JavaServer™ Pages Prepared by Nicole Swan.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 3 1COMP9321, 15s2, Week.
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
Chapter 3 JSP Overview. The Problem with Servlets processing the request and generating the response are both handled by a single servlet class Java programming.
STRUCTURE OF JSP PRESENTED BY: SIDDHARTHA SINGH ( ) SOMYA SHRIVASTAV ( ) SONAM JINDAL ( )
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
10 Copyright © 2004, Oracle. All rights reserved. Building ADF View Components.
APACHE STRUTS ASHISH SINGH TOMAR ast2124. OUTLINE Introduction The Model-View-Controller Design Pattern Struts’ implementation of the MVC Pattern Additional.
SDJ INFOSOFT PVT. LTD. 2 BROWSERBROWSER JSP JavaBean DB Req Res Application Layer Enterprise server/Data Sources.
Topics to be covered (ni) Client side validation JSF (free tools as well) Webservices Tell Resources e.g. sites Packaging and deploying web applications.
Java High level programming language ◦ Sun Microsystems ◦ ORACLE acquired Java Development Kit – JDK Java Runtime Environment – JRE Java Virtual Machine.
Speaker Name Speaker Title Speaker Title Oracle Corporation Olivier Le Diouris Principal Product Manager Oracle Corporation Building Servlet and JSP Applications.
Struts 2 Development. Topics  Roles in Struts Development  Control Flow  Actions  Struts 2 Views and Target  Struts 2 Custom Tags  Validation 
Intro to J2EE Concepts Mimi Opkins Fall 2016 CECS493.
Java Server Pages Can web pages be created specially for each user?
Plateform for Enterprise Solution: Java EE5
ORACLE ADF ONLINE TRAINING COURSE
Unit 6-Chapter 2 Struts.
MSIS 655 Advanced Business Applications Programming
ISE 390 Dynamic Web Development
Advanced Java programming in J2EE Chapter 1
Java Servlet Ziad A. Al-Sharif.
JavaServer Faces: The Fundamentals
J2EE Lecture 1:Servlet and JSP
Intro to J2EE Concepts.
Struts BY: Tejashri Udavant..
Presentation transcript:

Introduction to Java Web Programming Gregg Sporar

2 Agenda ● What is Java? ● Web/Application Servers ● Servlets ● JSPs ● Java Web Frameworks ● JavaServer Faces ● Beyond the Java Language

3 What is Java? ● Runs Everywhere ● and Open Source

4 Java Flavors Optional Packages Java Enterpris e Edition (Java EE) Java Standard Edition (Java SE) JVM Java Card APIs CardVM Optional Packages Personal Basis Profile Personal Profile Foundation Profile CDC MIDP CLDC KVM Java Micro Edition (Java ME)

5 “Hello World” in Java

6 A Specification...

7 Web/Application Servers Clien t Client Tier Enterprise Information Tier Middle Tier Enterprise Information Systems (EIS): Relational Database, Legacy Applications, ERP Systems Enterprise JavaBeans™ Enterprise JavaBeans Other Services: JNDI, JMS, JavaMail™ Java EE Applicatio n Server Web Server JSP, Servlets Firewall HTML/XML

8 Web/Application Servers ● Open Source ● Tomcat ● JBoss ● Geronimo ● GlassFish ● Proprietary ● WebSphere ● WebLogic ● OC4J

9 What is a Servlet? A servlet is a Java programming language class used to extend the capabilities of servers that host applications accessed via a request- response programming model.

10 Servlet Processing

11 “Hello World” Java Servlet

12 Servlet Deployment

13 “Hello World” Revisited... Not Very Robust....

14 What is a JSP? JavaServer Page: A JSP page is a text-based document that contains two types of text: static template data, which can be expressed in any text-based format, such as HTML, SVG, WML, and XML;...and... JSP elements, which construct dynamic content.

15 “Hello World” with a JSP

16 You Might Be Wondering... Why does the code do so much grunt work?

17 Java Web Frameworks ● Struts ● Tapestry ● Wicket ● Stripes ● Spring MVC ● Google Web Toolkit ● JavaServer Faces (JSF) ● etc...

18 What is JavaServer Faces? JavaServer Faces technology includes: * A set of APIs for representing UI components and managing their state, handling events and input validation, defining page navigation, and supporting internationalization and accessibility. * A JavaServer Pages (JSP) custom tag library for expressing a JavaServer Faces interface within a JSP page.

19 “Hello World” with JSF

20 “Hello World” with JSF (cont'd)

21 “Hello World” with JSF (cont'd)

22 “Hello World” with JSF (cont'd)

23 JSF Life cycle Source: JSF for nonbelievers, by Rick Hightower

24 Beyond the Java Language Devices Development and more... The Virtual Machine JavaFX Script

25 Beyond the Java Language (cont'd) on

26 Resources ● Java: java.sun.com ● JavaPassion: javapassion.com ● Java EE: java.sun.com/javaee ● Servlets: java.sun.com/products/servlet/articles/tutorial/ ● JSP: java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPIntro.html ● JSF: ● Ruby, JRuby, Rails: ● NetBeans: netbeans.org