Hi,

I'm wondering if anyone (James?) can give me some advice on configuring tapestry service points with spring. I am using spring to build my sessionFactory and autoproxy my DAO beans to use [annotation-based] declarative transactions. I'd really like to implement James' EntityPropertyPersistenceStrategy; however, it looks like the only way to configure Tapestry is via Hivemind services.

So, I think my only options are:

1- modify the hivemodule.xml and EntityPropertyPersistenceStrategy to use DefaultSpringBeanFactoryHolder to allow me to pull my sessionFactory and hibernateService beans from Spring application context.

2- switch everything over to using HiveMind. (I suppose I lose ability to use @Transactional declarative transactions ... I'm also not entirely sure what the analogy is to using Spring's dataSource beans and sessionFactory.)

Am I missing other option(s)? For example, is there a way to set Tapestry configuration points from Spring?

I understand that philosophically HiveMind and Spring are fairly different -- and, at least on paper, I do like the distributed nature of the HiveMind approach, but Spring has a large selection of existing integration tools and far more extensive documentation.

Thanks again -

Hans


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to