WebSphere eXtreme Scale (formerly Data Grid), Version 6.1
             Operating Systems: AIX, HP-UX, Linux, Solaris, Windows


Developing applications using proxy datasource support in WSAD

The ProxyDSAccountSample application contains one application client module and one enterprise bean module. The enterprise bean module, ProxyDSAccountSampleEJB, has four enterprise beans:

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 eXtreme Scale. 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.




Related concepts
Partitioning facility programming
Related tasks
Create ProxyDSAccountSample project
Concept topic    

Terms of Use | Feedback

Last updated: Oct 30, 2009 6:09:57 PM EDT
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r1/index.jsp?topic=/com.ibm.websphere.dataint.doc/info/WPF51/cwpfdevappsproxydata.html