This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
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.