September 2013
Intermediate to advanced
382 pages
8h 12m
English
This recipe explains how to create a service endpoint interface. A Service Endpoint Interface (SEI) is used in Java for exposing JavaBeans as web services, or more accurately, SEI defines the methods of Java code to be exposed as web services. The interface class must extend the java.rmi.Remote interface and all methods of the interface must throw java.rmi.RemoteException.
In our example application, the most appropriate part of the application to expose is the credit card operations module. It already contains all the relevant methods that we want to expose:
CreditCardGateway.java in JDeveloper.Read now
Unlock full access