File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes Can Spring/Struts and Tapestry co-exist Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Can Spring/Struts and Tapestry co-exist" Watch "Can Spring/Struts and Tapestry co-exist" New topic

Can Spring/Struts and Tapestry co-exist

Paras Jain
Ranch Hand

Joined: Feb 26, 2005
Posts: 138
Hi Alexander,

Thanks for your reply in my other post regarding Struts/Spring and Tapestry

I have one more doubt. I am having a small application running on Struts2 and another application on Spring MVC.

Can I make use of Tapestry in my existing framework to make use of its component based architecture. In the other words, can I plug-in some of the components of Tapestry without rewriting my entire existing code in Struts or Spring


Paras Jain
SCJP 5.0
Alexander Kolesnikov
Ranch Hand

Joined: Feb 26, 2005
Posts: 99
Hi Paras,

Action-driven and component-based frameworks cannot be mixed together. You can integrate Tapestry with the IoC feature of Spring, not with its MVC.

Alexander Kolesnikov<br />Java Web Developer<br />SCJP 1.4, SCWCD 1.4, SCBCD 1.3<br /><a href="" target="_blank" rel="nofollow">Tapestry 5: Building Web Applications</a><br /><a href="" target="_blank" rel="nofollow">Java Drawing With Apache Batik</a>
Paras Jain
Ranch Hand

Joined: Feb 26, 2005
Posts: 138
Thanks for your reply.

I was thinking to plug-in some already existing login component in my Spring application.

Now let me ask this. If I have some existing basic Tapestry application. Can I plugin a Login component probably from existing Tapestry application like
I agree. Here's the link:
subject: Can Spring/Struts and Tapestry co-exist
It's not a secret anymore!