storage - Integrating different persistence technologies in a Java EE application -


i thinking of how different persistence technologies sql-db, non-sql-db, plain-file-storage flexibly integrated in java ee application. write here directions , pleased if commented them.

in integration tier use dao pattern localize code the data access. quite straigthforward entity classes sql-db. however, in addition dao, there dao non-sql-db , dao plain files available. daos stateless session beans ensure transaction capability, location transparency , concurrency. nevertheless, concurrency , location transparency seem need implemented in data tier non-sql-db , plain file storage.

i wondering whether dao design patter suits best implement whole mechanism. encountered jca pattern not familiar , there lot of documentation on it. pleased if commented these ideas. have had similar task? thank reading far.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -