Announcement Announcement Module
Collapse
No announcement yet.
Is a parallel Spring-MVC application possible with a non-spring web app? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is a parallel Spring-MVC application possible with a non-spring web app?

    Dear Spring Gurus,

    I have a Tomcat application pretty huge. Very ctitical to the business (real money making). But it is legacy Java code. Meaning, JSP (with a lot of Javascript, Java code), Servlets (with thousands of lines of code) and so on. We want to get away from this crappy code. Now a request has come for another application (different purpose, different functionality). We need it at another context root /NewApp lets say under the legacy application directory structure. Like a mini-site. It will have a different URL, could even be serving a few virtual hosts.

    We dont want to extend the Legacy code. We want to move to better technologies and better way of doing things. We are strongly for Spring (tiles, jackson etc. etc.) and all the things it has to offer including portlets. So, we are thinking of possibilities of bringing in DispatcherServlet/ContextLoaderListener/configLocation etc into the legacy app web.xml and have a spring app side by side.

    The main reason is the new app has serious dependencies on the legacy services and libraries.

    1. Is this peaceful coexistance possible?
    2. What are the challenges that we could possibly face?
    3. Can you please point us to any example configurations?

    We cant separate them out unfortunately. Appreciate your insight into this.

    Thank you!!
Working...
X