Pattern for implementing timeout functionality in SOA 2004-10-20 - By Sankaran, Rajesh
Back Hi,
We're trying to implement timeout functionality in our services. Basically the services would be exposed as web services, to different channels of users (WEB, IVR etc). The SOA for our services is: - The service encapsulates, BusinessDelegate -> Transformation then StatelessSessionFacade -> BusinessObject -> DAO And in the above approach the req/resp data are carried using ValueObject and DataTransfer patterns.
We want to implement timeout in our BusinessDelegate so that it can return a timeout response from the service, if it takes more time in the downward flow.
Could anyone suggest a behavioral pattern to achieve the above?
Thanks, Rajesh
==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII"> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45"> <TITLE>Pattern for implementing timeout functionality in SOA</TITLE> </HEAD> <BODY>
<P><FONT SIZE=2 FACE="Arial">Hi,</FONT> </P>
<P><FONT SIZE=2 FACE="Arial">We're trying to implement timeout functionality in our services. Basically the services would be exposed as web services, to different channels of users (WEB, IVR etc). The SOA for our services is: -</FONT></P>
<P> <FONT SIZE=2 FACE="Arial">The service encapsulates, BusinessDelegate -> Transformation then StatelessSessionFacade -> BusinessObject -> DAO</FONT></P>
<P><FONT SIZE=2 FACE="Arial">And in the above approach the req/resp data are carried using ValueObject and DataTransfer patterns.</FONT> </P>
<P><FONT SIZE=2 FACE="Arial">We want to implement timeout in our BusinessDelegate so that it can return a timeout response from the service, if it takes more time in the downward flow.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Could anyone suggest a behavioral pattern to achieve the above?</FONT> </P>
<P><FONT SIZE=2 FACE="Arial">Thanks,</FONT> <BR><FONT SIZE=2 FACE="Arial">Rajesh</FONT> </P>
</BODY> </HTML> ==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
|
|