Accounts and account owners are stored in two databases. One is located in the west coast, and the other located in the east coast. The database in the west coast has database name westtest, and the database in the east coast has database name easttest. All the accounts stored in the westtest have a prefix W, and all the accounts stored in the easttest have a prefix E.
When the façade AccountTransaction gets a request from the client to perform account operations, it examines the accountId. If the accountId starts with W, the database westtest will be used. If the accounted starts with E, the database easttest will be used.
In this scenario, a Java 2 Platform Enterprise Edition (J2EE) application is developed that uses proxy datasoure features in WebSphere Studio Application Developer (WSAD). Although this development scenario is described with WSAD, it applies when using Rational Application Developer (RAD) Version 6.0 as well. The purpose is to develop the ProxyDSAccountSample that is packaged with WebSphere Extended Deployment. The ProxyDSAccountSample is contained in the <WAS_install_root>/installableApps/ProxyDSAccountSample.ear file. Before beginning, extract all the source codes from this Enterprise Archive (EAR) file. You will copy the source codes to complete the exercise.