Sowa Data
Sowa Data is “one API to rull them [datas] all”.
Drivers
Like JDBC Sowa Data connections are based on drivers. It’s response for base operations. In future may be there will be optimistaions
In data there are two drivers(to read and write) and DriveComplex which connect reader and writer
What ReadDriver interface should do:
- Check if the element is in cache
- Get from cache or from base
What WriteDriver interface should do:
- Put the element in cache
- After ask of cache synchronised with base
What DriverComplex interface should do:
- Manage cache
- Manage communication with Connection object
- Ask WriteDriver to write
URI-like locations
It’s like 'sowa-data-' name.of.complex '://' connection-name '/' element. For example: sowa-data-org.sf.sowa.data.MemoryComplex://0/0.
In future may be it’ll be some function support.
Mappers
It’s factory of objects like in hibernate.