SIP Loan Processing Banking ApplicationUsing the converged container, HTTP session can be associated with the SipApplicationSession, SIP component & JavaEE components (eg., MDB) can share the resources, and SIP functionality can be used inside the EJB. This sample illustrates how the SailFin converged container can be used for SIP, HTTP and MDB convergence. About the sampleThe following figure depicts what the sample is all about. As shown in the picture, the customer can acess the bank's website and apply for a loan. After applying for the loan, the customer receives a phone call (on his SIP softphone) from the Bank Executive, while the loan application is being processed. During the conversation, Bank Executive will be able to access the details submitted by the customer. The sample is written in a way that, if there is only one Bank Executive, the simultaneous applications submitted by the different customers will be queued in the JMS Queue (SJSMQ) and processed one by one. Where is the sample?If you have the source code repository, you can find this sample under sailfin/samples/OnlineBank directory. If you just have the SailFin image, you can find this sample under $SAILFIN_INSTALL_DIR/samples/sipservlet/OnlineBank directory. README.html/README.txt included in the sample gives more details. Flash demoQuick flash demo of how to run this application is available here. The complete flash demo explaing the steps used in developing this application is available here Lot more functionality has been added to the sample since the time flash demos are created. So, the flash demos are quite outdated, but serve the purpose of understanding how to develop such an application using NetBeans w/ SIP development plugin, and how to deploy it to SailFin sever, and how to run it. |