I've had no trouble using Spring beans as Tapestry configuration points. In the hivemodule.xml I can refer to spring beans using the "spring:" prefix given me by the SpringBeanContextHolder stuff.
I will also need to adapt Jims EntityPersistenceStrategy stuff to work with Spring DAOs, so perhaps I will have something to share on that. I'll need it for the current project, but haven't got to it yet. I feel your pain on having to deal with both Hivemind and Spring, but don't have a good answer. I love some of the excellent ideas in HM, but I don't feel like I can or want to ditch Spring. --Chris --- Hans L <[EMAIL PROTECTED]> wrote: > 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] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]