Varun, Tapestry seems to be unique in the way it seperates page presentation from implementation, and that may appeal to Spring users who have invested a lot of time in their business layer code, but would like a Tapestry front end. Of course we have Hivemind to implement services, but Spring is still a great way to do the container and popular.
You don't have to use Spring, I guess compatibility just makes it easier for Spring projects to be redone using Tapestry. If you are starting off a project from scratch, just forget Spring and use Hivemind or EJBs instead. At the moment, for our dev team find even that is too much, so they just did DAOs and code those straight into the page classes. On a trivial webapp that is probably acceptable, but for bigger projects, you need some container technology to decouple things nicely, so you can implement business objects in an orderly fashion. I'm hoping to use Hivemind plus Cayenne in our next project. Hivemind will provide both business object service, like session beans, as well as internal services to provide persistence with Cayenne, like entity beans. It's all possible to achieve the above, but getting the navigation done in a well decoupled fashion, with flexibility is ambitious. I'm not keen on the struts-config model because it is only a way of allowing you some flexibility in routing at design time, that in reality is not effective, bcause the business rules wind up in the actions. Maybe configurable actions delivered somehow as services are an idea? John ----- Original Message ----- From: "Varun Mehta" <[EMAIL PROTECTED]> To: "'Tapestry users'" <[email protected]> Sent: Tuesday, November 15, 2005 10:56 AM Subject: RE: Spring + Hibernate + Tapestry + Hivemind [if required] > Hey John, > > Thanks for the example. > > I'm not bent upon using struts-config.xml(just used it as an example), but > am looking at a 'better' option (if any) to mark the next page to be called > incase of Tapestry. > > My prime question still remains unanswered, why do we need to use other > frameworks like Spring etc... to be plugged in the Tapestry. > > Regards > Varun Mehta > Member of Technical Staff, > Persistent Systems Pvt. Ltd., > Direct: +91 20 3023 4656 > Board: +91 20 3023 4000 Ext: 4656 > Visit PSPL at > * http://persistentsys.com > > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* > imagination is more important than knowledge - albert einstein > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* > > Visit Varun at > * http://varun.cjb.net [HTML] > * http://varuninfo.cjb.net [Blogged] > * http://varunmehta.cjb.net [Flash] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
