[RSS]

REST Web Service Component Palette

Introduction

REST Web Services tooling support in Netbeans provides support for incorporating 3rd party REST or JAXWS Web Services using REST Component architecture.

REST Component architecture, allows

1. Exposing 3rd party services (a.k.a. partner services) as palette items through partner modules. 2. Users would drag-n-drop these services onto java source to generate the necessary wrapper code for that service. 3. Partner service is dynamically shown on the Netbeans palette. They may update these modules periodically, and users would get updated modules from update center. 4. The Palette with partner services show up only when a REST java file (identified using @UriTemplate annotation)


palette_snapshot.png

Use Cases and Scenarios

A. Use Case: Adding a Google Map REST service as a sub-resource on a static resource.

User drag-n-drop Google Map palette item onto a Resource (for eg. CustomerResource.java). Upon this action, we show a dialog (a panel) that collects relevant information from user that gets added to the new method in the Resource code.


googlemap_dnd.png

B. Use Case: Adding a Yahoo News Search REST service as a sub-resource on a static resource.

User drag-n-drop Google Map palette item onto a Resource (for eg. CustomerResource.java). Upon this action, we show a dialog (a panel) that collects relevant information from user that gets added to the new method in the Resource code.


YahooNSDND.png

C. Use Case: Adding a Srike Iron JAXWS service as a sub-resource on a static resource.

User drag-n-drop StrikeIron Email Verification palette item onto a Resource (for eg. CustomerResource.java). Upon this action, we do show only a progress panel, during which the relevant code to invoke StrikeIron JAXWS service.

Attachments

YahooNSDND.png Info on YahooNSDND.png 64047 bytes
googlemap_dnd.PNG Info on googlemap_dnd.PNG 65745 bytes
googlemap_dnd.png Info on googlemap_dnd.png 65745 bytes
palette_snapshot.PNG Info on palette_snapshot.PNG 63376 bytes
palette_snapshot.png Info on palette_snapshot.png 63376 bytes
yahoons_dnd.PNG Info on yahoons_dnd.PNG 64047 bytes