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

Independent Of Framework

Mahesh Lohi
Ranch Hand

Joined: Jun 22, 2009
Posts: 151
Hi all,

I am a bit confused. I would like to know weather a website is indepent of the Framework that is used.

That is for now I am using Struts framework to build a website after a while if I wish to continue (say for enhancement of the website) with springs..

Thank you in advance
manoj r patil
Ranch Hand

Joined: Jun 06, 2002
Posts: 181
I think what you want to know really is "Is your presentation layer independent of middle layer".

Answer is: it depends on how well you have designed your UI layer. Spring is based on Dependency Injection pattern and you can very well move from struts to spring without much hassle. But if you want to move from conventional MVC framework of pre-struts era to struts framework for example, then you can not that easily and you may end up rewriting a lot of code.

love your job and not your company;
...because you never know when your company will stop loving you!
Mahesh Lohi
Ranch Hand

Joined: Jun 22, 2009
Posts: 151
Thanks for the reply

I agree. Here's the link:
subject: Independent Of Framework
It's not a secret anymore!