GeeCON Prague 2014*
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
Author

Can Spring/Struts and Tapestry co-exist

Paras Jain
Ranch Hand

Joined: Feb 26, 2005
Posts: 137
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

Regards,
Paras


Paras Jain
SCJP 5.0
Alexander Kolesnikov
author
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="http://sundraw.ws" target="_blank" rel="nofollow">Tapestry 5: Building Web Applications</a><br /><a href="http://sundraw.ws/batik.jsp" target="_blank" rel="nofollow">Java Drawing With Apache Batik</a>
Paras Jain
Ranch Hand

Joined: Feb 26, 2005
Posts: 137
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
Hispacta
 
 
subject: Can Spring/Struts and Tapestry co-exist