|
Grab Ahold Of The Code
Dig deeper into Java technologies with Hands-on Labs.
This hands-on lab will illustrate the interaction between SOAP and RESTful web services and other Web 2.0 technologies. Step by step, you will be walked through the building and consumption of SOAP and RESTful web services. The advantages of these services will be discussed and the differences between them will be highlighted. The tooling provided by NetBeans IDE 6.0 will be used throughout. The goal is to learn the two different approaches and how they can coexist in your Web 2.0 application. You will first examine and deploy an EJB module with a session bean that is responsible for retrieving images. You will then create a Web application and implement a traditional SOAP-based web service and a RESTful web service that delegate to the session bean to retrieve the images. Finally, you will create a client web application that can consume both types of web services. In the end, you will have a web application that displays images retrieved from the EJB module via the two different web service strategies that you will have become familiar with throughout the lab. As a bonus, you will also get to try out a rapid technique to build client application written in JavaScript, illustrating how to consume RESTful web services in a language other than the Java programing language. Please bring your laptops as there will be no machines provided for this lab.
Software Requirements: Please make sure to install the following software BEFORE coming to the lab:
You need to be a registered Sun Developer Network member to download the lab and view the instructions. If you are a registered SDN member, please click on "Download or Instructions" button to log-in to view the lab. If you wish to join SDN, please click here. |
FREE White Papers on Java SE, Java EE, cloud computing and database technologies.
| |||||||
|
| ||||||||||||