adam bien's blog

An Article About Java EE Connector Architectures 1.6 (JCA 1.6) 📎

The free Java Magazine article: Java EE Connector Architectures 1.6, discusses the implementation and deployment of a transactional JCA 1.6 File connector with a Map-like API:


public interface Bucket extends AutoCloseable{

    void write(String file,byte[] content);
    void delete(String file);
    byte[] fetch(String file);
    @Override
    void close();

}

[See also an in-depth description in the "Real World Java EE Patterns--Rethinking Best Practices" book (Second Iteration), page 303 in, chapter "Generic (File) JCA" and http://connectorz.adam-bien.com]