Java High level programming language ◦ Sun Microsystems ◦ ORACLE acquired Java Development Kit – JDK Java Runtime Environment – JRE Java Virtual Machine.

Slides:



Advertisements
Similar presentations
Java EE - Introduction -
Advertisements

Java OSS Web Technologies By Dave Ford Introduction Purpose Describe Javas relationship to the OSS community Describe OSS tools used on recent project.
1 Copyright © 2005, Oracle. All rights reserved. Introducing the Java and Oracle Platforms.
1 G54PRG Programming Lecture 1 Amadeo Ascó Adam Moore G54PRG Programming Lecture 1 Amadeo Ascó 3 Java Programming Language.
Lecture 11 Server Side Interaction
DT228/3 Web Development WWW and Client server model.
6/2/2015Page 1 SOA Development and Deployment B. Ramamurthy.
got ? Research Project – April 1998 Hang Xia, Mark Wang, Richard S. Chang Updated: R Norman, August 1999.
Fundamentals, Design, and Implementation, 9/e Chapter 14 JDBC, Java Server Pages, and MySQL.
WEB1P servintro1 Introduction to servlets and JSP Dr Jim Briggs.
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of The Eclipse Web Tools Platform.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Java 2 – Enterprise Edition Kevin J. LaFata April 21, 2003 UM – St. Louis.
1 Build a Web Application on J2EE. 2 J2EE Scenario Client – Web Server – EIS Resources Client – Web Server – EIS Resources Client – Application Server.
Java Programming, 3e Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
1 Chapter 3 Programs and Packages. 2 Java Virtual Machine (JVM) Java programs execute on the JVM. The JVM is a virtual rather than a physical machine,
Java Server Team 8. Overview What is a Java Server? History Architecture Advantages Disadvantages Current Technologies Conclusion.
Chapter 14 Database Connectivity and Web Technologies
1 Java Server Pages Can web pages be created specially for each user? What part does Java play?
Java Server and Servlet CS616 Team 9 Kim Doyle, Susan Kroha, Arunima Palchowdhury, Wei Xu.
Mgt 240 Lecture Website Construction: Software and Language Alternatives March 29, 2005.
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.
Julien Thibault / Phil Brewster / Kristina Doing-Harris
L EC. 01: J AVA FUNDAMENTALS Fall Java Programming.
Apache Jakarta Tomcat Suh, Junho. Road Map Tomcat Overview Tomcat Overview History History What is Tomcat? What is Tomcat? Servlet Container.
Marlene Galea.  The JDK (Java Development Kit)  An IDE (Integrated Development Environment) ◦ Different IDEs include:  JCreator  NetBeans  BlueJ.
Intro to Servlets Lec 26. Web-Based Enterprise Applications in Java Figure shows a simplified view of one application and its layers.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Java Programming, 2E Introductory Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
CSCI 6962: Server-side Design and Programming Course Introduction and Overview.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
SSC2: Web Services. Web Services Web Services offer interoperability using the web Web Services provide information on the operations they can perform.
Developing Web Services with the Eclipse Web Tools Platform Boris Minkin.
Modern Software Technologies Java™, J2EE™, JSP™, JDBC™ by Radoslav Tr. Ivanov
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
Web Applications - Basics. Introduction to Web Web features Clent/Server HyperText Transfer Protocol HyperText Markup Language URL addresses Web server.
第十四章 J2EE 入门 Introduction What is J2EE ?
Electronic Commerce COMP3210 Session 4: Designing, Building and Evaluating e-Commerce Initiatives – Part II Dr. Paul Walcott Department of Computer Science,
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
The Basics of Javadoc Presented By: Wes Toland. Outline  Overview  Background  Environment  Features Javadoc Comment Format Javadoc Program HTML API.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
14 June 2004System-wide Services: User InterfaceRich Moeser 1 EVLA Overall Software Design Final Internal Review System-wide Services: User Interface.
Apache Jakarta Project. What is Jakarta’s mission Jakarta is a Project of the Apache Software Foundation, charged with the creation and maintenance of.
Copyright © by Shayne R Flint Simplified Web Application Development Shayne R Flint Department of Computer Science Australian National University.
An Introduction to JavaServer™ Pages Prepared by Nicole Swan.
The Java Platform, The Java Language, JDK, IntelliJ
Assignment of JAVA id : BSSE-F10-M-10-JAVA1 Overview of J2EE/Session 2/Slide 1 of 38.
Middleware 3/29/2001 Kang, Seungwoo Lee, Jinwon. Description of Topics 1. CGI, Servlets, JSPs 2. Sessions/Cookies 3. Database Connection(JDBC, Connection.
WEB SERVER SOFTWARE FEATURE SETS
Core basic Java web server technologies. Tools Eclipse IDE for Java EE Developers (Netbeans also works) nloads/packages/eclipse-
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
Topics to be covered (ni) Client side validation JSF (free tools as well) Webservices Tell Resources e.g. sites Packaging and deploying web applications.
1 LM 6 Database Applications Dr. Lei Li. Learning Objectives Explain three components of a client-server system Describe differences between a 2-tiered.
Introduction to JAVA Programming
Lecture Transforming Data: Using Apache Xalan to apply XSLT transformations Marc Dumontier Blueprint Initiative Samuel Lunenfeld Research Institute.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
Introduction to Algorithm. What is Algorithm? an algorithm is any well-defined computational procedure that takes some value, or set of values, as input.
Web Development. Agenda Web History Network Architecture Types of Server The languages of the web Protocols API 2.
Labs: Create, deploy and test a simple web service
Java Server Pages Can web pages be created specially for each user?
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
Database Processing Applications
MSIS 655 Advanced Business Applications Programming
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Presentation transcript:

Java High level programming language ◦ Sun Microsystems ◦ ORACLE acquired Java Development Kit – JDK Java Runtime Environment – JRE Java Virtual Machine – JVM ◦ Bytecode ◦ Cross-platform

Java Java programs are referred to differently, depending on the platform on which they’re running: ◦ A Java program running on a web page is called an applet. ◦ A Java program running on a server is called a servlet. ◦ A Java program running on a computer alone is called an application.

Command Line Demo Hello World

Java Java Libraries ◦ Jar files Classpath concept ◦ compile time ◦ run time Java API ◦ Application Programming Interface ◦

JDBC Java Database Connectivity ◦ an API for the Java programming language that defines how a client may access a databaseAPIJava programming languagedatabase database-independent connectivity between the Java programming language and a wide range of databases JDBC Drivers ◦ Open source ◦ Commercial

Command Line Demo Hello JDBC java -cp.:./mysql-connector-java bin.jar HelloJDBC MySQL-Connector is a JDBC driver supporting connection with MySQL

IDE Integrated Development Environment ◦ provides comprehensive facilities to computer programmers for software developmentcomputer programmerssoftware development Eclipse, Netbeans

Eclipse Demo Hello World and Hello JDBC

9 XML Extensible Markup Language has become the “universal” standard for representing data XML started out as a standard data exchange format for the Web Yet, it has quickly become the fundamental instrument in the development of Web-based online information services and electronic commerce applications Almost all recent electronic commerce standards are based on XML

10 Giving Meaning and Structure to Data 1234ABCD … Start Tag An Element An Attribute Another Element End Tag Data

XML Nazim Devren AA Deniz Akinci AA

XML - Tree Representation Database Student Row idnamecoursegrade Nazim Evren AA Element NodeText Node NODE

How to parse? Parsing means: ◦ XMLString  Object Manually (Not recommended ) Java Libraries ◦ xml4j ◦ dom4j ◦ xerces ◦ JAXB – Java XML Binding Read the API specification of your library

XSD – XML Schema XML Schema describes the structure of an XML document. ◦ combination of grammatical rules governing the order of elements ◦ Boolean predicates that the content must satisfy Boolean predicates ◦ data types governing the content of elements and attributes ◦ specialized rules such as uniqueness and referential integrity constraints XML Validation

Java Servlets Web ◦ Static: HTML ◦ Dynamic: PHP, ASP, JSP, Servlets HTTP ◦ Methods of HTTP ◦ Importance of protocols A Servlet is a Java class which conforms to the Java Servlet API, a protocol by which a Java class may respond to http requests.Java classhttp A Servlet is an object that receives a request and generates a response based on that request.Servletobject

Eclipse Demo Simple Servlet

Servlet Containers Non-commercial and commercial ◦ Apache Tomcat, Apache Geronimo, Glassfish, Jetty, Jboss, WebSphere etc… Servlets can be generated through JSP WAR – Web Archive ◦ Attention while submitting ◦ Demonstrate on Tomcat

Ant and Maven2 Apache Ant is a software tool for automating software build processes. It is similar to Make but is implemented using the Java language, requires the Java platform, and is best suited to building Java projects.automating software buildMakeJava Maven is a software tool for Java project management and build automation. It is similar in functionality to the Apache Ant tool, but is based on different concepts.Javabuild automationApache Ant Ant is imperative whereas Maven is declarative

Ant Demo

First Programming Assignment Coming on Friday…