C H A P T E R 32
RESTful Web Services
This chapter is about providing and consuming server-side data by RESTful web services. Similar to web services over SOAP, it is possible to access a Java EE server application by a NetBeans Platform application. This chapter will show you which steps are necessary to create and integrate a RESTful web service client. You will create a simple product database with a persistent entity class and a RESTful web service class that gives access to the data. The server picks the data directly over the entity manager. But it is also possible to access Enterprise Java Beans (EJBs) which provide the needed data.
Creating a Web Application
Whereas it is possible to provide a SOAP-based web service within an EJB module, ...
Get The Definitive Guide to NetBeans™ Platform 7 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.