WEB SERVICES IN J2EE
Submitted By…
P.Naresh
Web services:
A Web service is a method of
communication between two
electronic devices over World Wide
Web. A web service is a software
function provided at a network
address over the web or the cloud; it is
a service that is "always on" as in the
concept of utility computing.
Web services are client and server
applications that communicate over the
World Wide Web’s (WWW) Hyper Text
Transfer Protocol (HTTP). As described by
the World Wide Web Consortium (W3C),
web services provide a standard means of
interoperating between software
applications running on a variety of
platforms and frameworks. Web services
are characterized by their great
interoperability and extensibility,
 as well as their machine-processable
descriptions. Web services can be
combined in a loosely coupled way to
achieve complex operations. Programs
providing simple services can interact with
each other to deliver sophisticated added-
value services.
Web services in J2EE
 This topic introduces you to using
Web services that are based on the
Web Services for Java 2 Platform,
Enterprise Edition (J2EE)
specification.
 Web Sphere Application Server
supports Web services that are
developed and implemented based on
Web Services for J2EE. Use Web
services when operating across a
variety of platforms, including the
J2EE 1.4 and non-J2EE platforms.
Types of Web services in
J2EE
1. Big Web Services
2. RESTful Web Services
Big Web Services:
 Big web services use XML messages that
follow the Simple Object Access Protocol
(SOAP) standard, an XML language
defining a message architecture and
message formats.
 Such systems often contain a machine-
readable description of the operations
offered by the service, written in the Web
Services Description Language (WSDL),
an XML language for defining interfaces
syntactically.
RESTful Web Services
 In Java EE 6, JAX-RS provides the
functionality for Representational
State Transfer (RESTful) web
services. REST is well suited for
basic, ad hoc integration scenarios.
 RESTful web services, often better
integrated with HTTP than SOAP-
based services are, do not require
XML messages or WSDL service–API
definitions.
Benefits of Web services in
J2EE:
Web services provide several
technological and business benefits,
that is
 l Application and data integration
 l Versatility
 l Code re-use
 l Cost savings

Web services in j2 ee

  • 1.
    WEB SERVICES INJ2EE Submitted By… P.Naresh
  • 2.
    Web services: A Webservice is a method of communication between two electronic devices over World Wide Web. A web service is a software function provided at a network address over the web or the cloud; it is a service that is "always on" as in the concept of utility computing.
  • 3.
    Web services areclient and server applications that communicate over the World Wide Web’s (WWW) Hyper Text Transfer Protocol (HTTP). As described by the World Wide Web Consortium (W3C), web services provide a standard means of interoperating between software applications running on a variety of platforms and frameworks. Web services are characterized by their great interoperability and extensibility,
  • 4.
     as wellas their machine-processable descriptions. Web services can be combined in a loosely coupled way to achieve complex operations. Programs providing simple services can interact with each other to deliver sophisticated added- value services.
  • 5.
    Web services inJ2EE  This topic introduces you to using Web services that are based on the Web Services for Java 2 Platform, Enterprise Edition (J2EE) specification.  Web Sphere Application Server supports Web services that are developed and implemented based on Web Services for J2EE. Use Web services when operating across a variety of platforms, including the J2EE 1.4 and non-J2EE platforms.
  • 6.
    Types of Webservices in J2EE 1. Big Web Services 2. RESTful Web Services
  • 7.
    Big Web Services: Big web services use XML messages that follow the Simple Object Access Protocol (SOAP) standard, an XML language defining a message architecture and message formats.  Such systems often contain a machine- readable description of the operations offered by the service, written in the Web Services Description Language (WSDL), an XML language for defining interfaces syntactically.
  • 8.
    RESTful Web Services In Java EE 6, JAX-RS provides the functionality for Representational State Transfer (RESTful) web services. REST is well suited for basic, ad hoc integration scenarios.  RESTful web services, often better integrated with HTTP than SOAP- based services are, do not require XML messages or WSDL service–API definitions.
  • 9.
    Benefits of Webservices in J2EE: Web services provide several technological and business benefits, that is  l Application and data integration  l Versatility  l Code re-use  l Cost savings