Welcome to the new Spring.io forums!
If this is your first visit, be sure to check out the
by clicking the link above, and for security reasons, use the
forgot password link to reset your password..
You may have to register before you can post: click the register
link above to proceed. To start viewing messages, select the forum that you want to visit
from the selection below.
Actually, now I have a project, the service part is to synchonize the data of the attachment that is in xml format. So, I need to unmarshal the attachment to get the data and then through hibernate to update the data in the database.
so I try to write the DAO class (facade interface for get and insert....) and service interface (Synchonize the attachemnt), and the write the facadeImpl which can access both dao and service.
I just saw the sample, usually the service part is just directly update or insert the data in the database, i.e. only access the dao, so the TransactionProxyFactoryBean class is set to the facade interface is easy to understand.
but if the facadeImpl is implemented with the service part, how should I do the setting.
Actually, I'm still not sure it is possible to do or not.