Showing posts with label Web Services. Show all posts
Showing posts with label Web Services. Show all posts

Tuesday, December 8, 2009

RESTful Java Web Services

If you are already familiar with REST theory but are new to RESTful Java web services, and want to use the Java technology stack together with Java RESTful frameworks to create robust web services, this is the book for you.

This book is a guide to developing RESTful web services using Java and the most popular RESTful frameworks available today. It covers the theory of REST; practical coding examples for RESTful clients; a practical outline of the RESTful design process-yes, it's different from traditional web application development; and a complete implementation of a non-trivial web service using the following frameworks: Jersey's JAX-RS, Restlet's Lightweight REST, JBoss's JAX-RS RESTEasy, and Struts 2 with the REST plug-in.

We begin with an introduction to REST theory, for example, what it means for a web service to be RESTful, what it means for a web service to exchange representations of resources, and what it means to only use the conventional HTTP request method types-GET, POST, PUT, DELETE-for client/server communication. Before moving into the design and implementation process of a non-trivial web service, we look at a set of sample Java applications that connect to existing REST services that are freely available (Google, Yahoo, Twitter). We then outline a practical design process for RESTful web services and then cover the four most widely used frameworks available to date: JAX-RS implementations such as Jersey and RESTEasy, the Restlet framework, and Struts 2 with the REST plug-in. We cover each framework in detail to allow you to compare the strengths and weaknesses of each framework and to begin developing your own web services after the first reading; what's more, the whole source is included for you to modify and deploy in your own web services. Finally, we discuss the most common performance issues faced by RESTful web services and cover practical solutions to security-related issues such as authentication and data transfer.

What you will learn from this book?

  • REST architecture basics
  • What it means for a web service to be RESTful
  • How to connect to and consume RESTful web services such as Yahoo or Google
  • A RESTful web service design heuristic
  • How to deploy web services to Java web containers such as Tomcat and JBoss
  • How to implement an entire web service using the most popular open source frameworks currently available, including JAX-RS implementations Jersey and RESTEasy, Restlet, and Struts 2 with the REST plug-in
  • How to create standalone Java web services using the Restlet framework
  • How you can secure RESTful web services

Thursday, September 18, 2008

Service Oriented Architecture with Java



Service Oriented Architecture provides a way for applications to work together over the Internet. Usually, SOA applications are exposed through web services.

Web services have been around for a while, but complex adoption processes and poor standardization hampered their use at first. However, with the adoption of new, simpler protocols such as REST, and major companies supporting SOA, the time is now right to adopt these standards.

This book will show you how to build SOA, web services-based applications using Java. You will find out when SOA is the best choice for your application, how to design a sound architecture, and then implement your design using Java.

The book covers the important web services protocols: XML-over-HTTP, REST, and SOAP. You will learn how to develop web services at all levels of complexity and for all kinds of business situations.

Wednesday, September 10, 2008

The Service-Oriented Media Enterprise: SOA, BPM, and Web Services in Professional Media Systems



Companies worldwide are rapidly adopting Service-Oriented Architecture (SOA), a design methodology used to connect systems as services, and Business Process Management (BPM), the art of orchestrating these services. Media organizations from news organizations to music and media download services to movie studios are adapting to SOA-style architectures, but have run into roadblocks unique to the media and entertainment industry. These challenges include incorporating real-time data, moving large amounts of data at one time, non-linearity and flexibility for workflow, and unique metrics and data gathering. The Service-Oriented Media Enterprise details the challenges and presents solutions for media technology professionals. By addressing both the IT and media aspects, it helps individuals improve current enterprise technologies and operations.

Tuesday, May 20, 2008

Test and Analysis of Web Services

Book Description

The service-oriented approach has become more and more popular, now allowing highly integrated and yet heterogeneous applications. Web services are the natural evolution of conventional middleware technologies to support Web-based and enterprise-level integration.

The highly dynamic characteristics of service-oriented applications means their validation is a continuous process that often runs in parallel with execution. It is not possible to clearly distinguish between the predeployment validation of a system and its use, nor is it possible to guarantee that the checks passed at a certain time will be passed at a later time and in the actual execution environment as well.