Home » Enterprise Java » ejb3 » Web Services

Web Services

Java Web Services Tutorial

In this article, we will demonstrate examples of Java Web Services. We will provide a brief introduction to the topic, followed by a SOAP and a REST example in Java. 1. Introduction From W3C’s definition we are able to infer that there a web service is a piece of software that satisfies 3 key requirements : The web service should ...

Read More »

Understanding WebLogic Web Service

1. Overview In this article, we will take a look at Weblogic Web Service examples. 2. WebLogic Web Service Using weblogic webservices framework, SOAP web services are built. SOAP is an acronym for Simple Object Access Protocol. SOAP is used for developing web services that are based on XML based industry-standard protocol. SOAP security is based on WS Security. SOAP web services ...

Read More »

SOAP Web Service Example in Java

1. Overview In this article, we will take a look at the SOAP Web Service examples. 2. SOAP Web Service Example Using Apache Axis, SOAP web services are built. SOAP is an acronym for Simple Object Access Protocol. SOAP is used for developing web services that are based on XML based industry-standard protocol. SOAP security is based on WS Security. SOAP web ...

Read More »

Introduction to Apache Wink

1. Overview In this article, we will take a look at the Apache Wink Web Service examples. Apache Wink 1.0 is a JAX-RS 1.0 compliant and it has features related to the coreJAX-RS specification. 2. Apache Wink Using Apache Wink, REST web services are built. REST is an acronym for “Representational State Transfer”. Roy Fielding was the first person to ...

Read More »

Apache CXF Web Service Example

In this article, we will implement an Apache CXF Web service example. Webservices can be developed using SOAP and REST. SOAP refers to Simple Object Access Protocol. REST stands for Representational State Transfer. 1. Overview Roy Fielding was the first person to come up with the REST architecture proposal. In REST, a Resource is a Uniform Resource Identifier or URI. The ...

Read More »

Expose EJB as a Web Service

With this example we are going to demonstrate how to expose an EJB as a web service. Enterprise beans are Java EE components that implement Enterprise JavaBeans (EJB) technology. Enterprise beans run in the EJB container, a runtime environment within the Application Server (see Container Types). Although transparent to the application developer, the EJB container provides system-level services such as ...

Read More »