Information Over The Web part III - PowerPoint PPT Presentation

1 / 16
About This Presentation
Title:

Information Over The Web part III

Description:

tickets. Promotions. Future events. Events. catalog. Fan clubs data. Behind the scenes. Tickets Catalog. Tickets purchase. Reservation handling. Examples for. web ... – PowerPoint PPT presentation

Number of Views:62
Avg rating:3.0/5.0
Slides: 17
Provided by: Adi
Category:
Tags: iii | information | over | part | tickets | web

less

Transcript and Presenter's Notes

Title: Information Over The Web part III


1
Information Over The Web(part III)
  • Introduction by
  • Jackie Assa

2
Outline
  • Today
  • From previous class - Rest Json
  • A long demo (axis2, tomcat)
  • Working in TAU
  • Project

3
REST Representational State Transfer
  • REST is an architectural style, not a standard
  • REST emphasizes
  • Scalability of component interactions
  • Generality of interfaces
  • Independent deployment of components
  • Support for intermediaries

4
Key Principles of REST
  • "Identification of resources"
  • Resources are anything that can be named
  • Naming authority assigns an identifier to a
    resource
  • "Manipulation of resources through
    representations"
  • Representations capture current/intended state of
    resources
  • Representations are transferred between
    components
  • Representations often contain links to related
    resources
  • "Self-descriptive messages"
  • Resource identifiers, representation data
    formats, control data
  • "Hypermedia as the engine of application state"
  • Servers are stateless, messages are independent
  • Clients maintain state (representations)
    traverse links
  • Induces scalability, generality, evolvability,
    extensiblity

5
RESTs Generic Actions
  • GET
  • obtained the state of a resource
  • POST
  • update the state of a resource (non idempotent)
  • PUT
  • replace the state of a resource with a new
    version (idempotent)
  • DELETE
  • delete the resource

6
Json example
"name" "Jack B. Nimble", "at
large" true, "grade" "A",
"format" "type" "rect",
"width" 1920, "height" 1080,
"interlace" false, "framerate"
24
7
Java Web Development
  • Eclipse WTP http//www.eclipse.org/downloads/morei
    nfo/jee.php
  • Apache Tomcat http//tomcat.apache.org
  • Apache Axis 2. http//ws.apache.org/axis/
  • Apache Ant wouldnt hurt http//ant.apache.org

8
Using eclipse
9
Demo
  • Many many many things, including
  • Oxygen XML Editor
  • Apache Axis2
  • Apache Ant
  • Apache TomcatLinks
  • http//wso2.org/library/1719
  • http//wso2.org/library/95
  • Others from Apache Axis2 web site.
  • Intoduction to JSP/Servlets
  • http//www.wisdom.weizmann.ac.il/talm/talks/JSPIn
    tro.ppt

10
Axis2
11
Working in TAU
  • Web server is tomcat (use JDK 1.5!)
  • Use CS/system FAQ page for a description how to
    create your own server.
  • The DMZ is located in KITE
  • No user accounts
  • No quota
  • copy to and from there using scp and not cp
  • The Java EE eclipse and MANY other installations
    in
  • /users/courses/databases/workshop
  • Axis2.0 file should be installed on the generated
    tomcat in the webapps folder (follow the
    installation instruction) (either as a war or
    inside your application war file)

12
Project
13
Ticketing Application
Promotions
Future events
Events catalog
Purchase tickets
Fan clubs data
14
Behind the scenes
Examples for web services
Examples for web services
OTHER GROUPS
Tickets Catalog
Tickets Catalog
OTHER GROUPS
Tickets purchase
Tickets purchase
Reservation handling
Reservation handling
Detailed log
15
Development stages
  • Prototype, prototype and prototype
  • Think
  • Design
  • Coding
  • Integration
  • Testing
  • Release

16
Good Luck
  • mailtojackassa_at_post.tau.ac.il
Write a Comment
User Comments (0)
About PowerShow.com