Académique Documents
Professionnel Documents
Culture Documents
Lecture 45
JavaServer Faces
In the last lecture, we have covered the basic nutshells of JSF. Having a belief on
“learning by doing”, in this lecture another example is also given to show you the
capabilities of JSF.
This example demonstrates the usage of value and method binding expressions, managed
beans, and how to use page navigation technique using IDE etc.
Web Services
In the remaining handout, we’ll take an overview of web services’ potential, their types
and working model. Resources are given at the end for those who are interested in
learning new technologies.
Introduction
Web services are Web-based enterprise applications that use open, XML-based standards
and transport protocols to exchange data with calling clients.
Web Service is becoming one of those overly overloaded buzzwords these days. Due to
their increasing popularity, Java platform Enterprise Edition (J2EE) provides the APIs
and tools you need to create and deploy interoperable web services and clients.
In the beginning, things were built and deployed typically in the form of client and server
model in which clients talk to a single server, for example, remote procedure calls (RPC).
The second phase can be called web-based computing in which many clients talk to many
servers through the net. In this phase, communicating partners still have to go through
some pre-arrangement in terms of what common object model they have to use or what
common communication protocol they have to agree upon.
Finally, the web services model in which service users and service providers can be
dynamically connected. And the pretty much every computing device and application
participates as both service user and service provider.
Because the only contract that has to be agreed upon between service user and service
provider is syntax and semantics of XML messages, as long as valid messages can be
generated and understood, it does not matter what programming language is used. So a
web service is said to be programming language independent.
Web services can be dynamically located and invoked. And typically they will be
accessed and invoked over both internet and intranet.
Service Invocation
Then there has to be standard way of invoking a service. Finally, for business
transactions in which secure and reliable message delivery is important, there has
to be a standard electronic business framework.
The following figure represents simplified web service architecture and summarizes the
working of web services:
----------------
References:
Resources:
An excellent resource for learning Java related technologies is:
http://www.apl.jhu.edu/~hall/java/
http://java.sun.com
http://www.javaworld.com
http://www.theserverside.com
http://www.jsfcentral.com
http://www.jspolympus.com
http://www.onjava.com