An Overview of J2EE and WebServices - PowerPoint PPT Presentation

1 / 13
About This Presentation
Title:

An Overview of J2EE and WebServices

Description:

Can be a mix of template data in HTML/XML with some dynamic content ... The main difference between JSP & Servlets is basically that servlets are pre-compiled ... – PowerPoint PPT presentation

Number of Views:72
Avg rating:3.0/5.0
Slides: 14
Provided by: jamesm91
Category:
Tags: j2ee | webservices | dutta | overview | run | up

less

Transcript and Presenter's Notes

Title: An Overview of J2EE and WebServices


1
An Overview of J2EE and WebServices
  • Kinshuk Dutta

2
Overview of J2EE
  • J2EE supports the following technologies
  • Extensible Markup Language
  • Web Applications
  • Web Services Support / WSDL Standard Format
  • UDDI and ebXML Standard Formats
  • HTTP-SOAP Transport Protocol
  • J2EE comes with a built in application server

3
XML
  • J2EE defines Java API for XML Processing (JAXP)
    API for processing XML
  • Uses SAX and DOM standarts

4
Web Applications
  • Java Servlets/JSP are part of the Suns J2EE
    Enterprise Architecture
  • The web development part
  • Java Servlet is a Common Gateway Interface (CGI)
    scripting technology
  • CGI scripting is used to generate dynamic
    content.
  • Java Servlet
  • is a simple, consistent mechanism for extending
    the functionality of a web server
  • Are precompiled Java programs that are executed
    on the server side.
  • Require a Servlet container to run in
  • Java Server Pages (JSP)
  • A simplified, fast way to create dynamic web
    content
  • HTML or XML pages with embedded Java Code or Java
    Beans
  • Can be a mix of template data in HTML/XML with
    some dynamic content
  • A JSP is a complied to a Java Servlet
    automatically by the Servlet container, it is
    then cached
  • The main difference between JSP Servlets is
    basically that servlets are pre-compiled

5
Web Services and J2EE
  • Web services are built using Java API for
    XML-based RPC (JAX-RPC)
  • RPC requests and responses are represented using
    SOAP 1.1
  • Web service endpoints and clients use JAX-RPC
  • Uses WSDL to describe web services

6
How a web service is deployed?
  • Has built in binaries
  • to compile web
  • services
  • Has a user friendly
  • Deploy Tool
  • Services are deployed to Application Server
  • Stubs, classes and WSDL are automatically
    generated from java files by precompiled
    binaries.

7
Invoking a Web Service
  • Three ways to design
  • Static Stub
  • Dynamic Proxy
  • Dynamic Invocation Interface (DII)
  • Problem Parsing WSDL file is not included in the
    standart API.
  • Solution wsdl4j implementing Java Specification
    Request (JSR) 110

8
J2EE and XML Registries
  • Uses Java API for XML Registries (JAXR) to
    provide access to different kinds of XML
    Registries.
  • Consists of a JAXR client and JAXR provider.

9
HTTP SOAP
  • SOAP with attachments (SAAJ) API is used
  • Write SOAP messaging applications directly rather
    than using JAX-RPC
  • Support SOAP 1.1

10
EDMR Service
11
EDMR Service Flow
12
THE END
  • THANKS!!!

13
THE END
  • For more information on Java related topics
    please visit www.kinshukconsulting.com
Write a Comment
User Comments (0)
About PowerShow.com