BC project
How To Switch into WSDS Mode
ADF Swing application
(1) BC project:
  - EntityImpl and ViewObjectImpl:
    extend from new My-classes
  - bc4j.xcfg: remove JDBC elements
(2) View project:
  NavigationBar: replace action process-
  ing with calls to WSDS stack -
  for “commit” and “delete row” actions
 MyEntityImpl
 - postChanges()‏
MyViewObjectImpl
 WsdsClient
NavigationBar
- doCommit()‏
- rowDeleted()‏
WSDS
ViewObject
Entity
How To Switch into WSDS Mode


Assuming that all WSDS components are installed, existing ADF Swing application can be changed into the new mode in few actions.

1) Business Components project:
- each EntityImpl class should extend the new MyEntityImpl class
- each ViewObjectImpl class should extend the new MyViewObjectImpl class
- bc4j.xcfg file: remove all JDBC-related elements

2) View project:
We need to replace default JDBC processing for DML operations.
In simple case, the two necessary changes have to be made.

First, “commit” action should call MyEntityImpl.postChanges() method for the modified row.

Second, “delete row” action should invoke “commit” for the deleted row.