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
Post a Comment