Content deleted Content added
→Components: MOS:HEAD |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 9:
====Business delegate====
Control and protection are provided through business delegate which can have two types of
====Lookup service====
Business service is located by lookup service which is used by the business delegate. The implementation details of business service lookup is encapsulated by lookup service.<ref name=":o_cjp"/>
====Business
This a business-tier component, such as an enterprise bean or a JMS component, which provides the required service to the client.<ref name=":o_cjp"/>
Line 50:
"Resource", homeClazz);
session = home.create();
} catch (ServiceLocatorException ex) {
// Translate Service Locator exception into
// application exception
throw new ResourceException(...);
} catch (CreateException ex) {
// Translate the Session create exception into
// application exception
throw new ResourceException(...);
} catch (RemoteException ex) {
// Translate the Remote exception into
// application exception
Line 65:
}
public BusinessDelegate(String id)
throws ResourceException {
Line 72 ⟶ 71:
}
public String getID() {
try {
Line 84 ⟶ 82:
throws ResourceException {
try {
session = (ResourceSession)
} catch (RemoteException ex) {
// Translate the Remote exception into
Line 93 ⟶ 90:
}
public ResourceTO setCurrentResource(
String resourceId)
Line 111 ⟶ 107:
try {
return session.getResourceDetails();
} catch (RemoteException ex) {
// Translate the service exception into
// application exception
Line 122 ⟶ 118:
try {
session.setResourceDetails(vo);
} catch (RemoteException ex) {
throw new ResourceException(...);
}
Line 131 ⟶ 127:
try {
session.addResource(vo);
} catch (RemoteException ex) {
throw new ResourceException(...);
}
|