WFBean.java.
- By Satagopan Rajagopalan
- August 16, 2001
Architect's Corner
Designing asynchronous J2EE architectures with JMS
by Satagopan Rajagopalan
Listing 2. WFBean.java.
public String process(InsuranceData data) {
//code to process the Insurance Data
//Interface with Vehicle History Server
//Driving History Information application
//Credit History Server
//Criminal /Background Check Server
//Evaluate the results.
notifyQueue(data.getSessionId(),resultData);
}
public void notifyQueue(String s,ResultData data) {
QueueSend qs = QueueSend.getInstance();
qs.send(s,data);
}