Interface Design
<< Object Oriented Classes
Page 4: Service Oriented Classes
Service-oriented classes tend refer to a set of functional interfaces that are not stateful and they offer THIN interfaces. These type of interfaces can map directly to HTML, JSP and SOAP.
Here is an example Service Oriented file handler implementation, called FileService:
public class FileService
{
public String getContent(String fileName) {...}
public void setContent(String fileName, String content) {}
}
>> Next Page: Component Oriented Classes
<< Back to Design
<< Back to Software Reality
|