Can we develop a struts+spring+hibernate application on tomcat server and later deploy it on say Web Sphere or Web logic Application servers?
If this can be done please explain the process of deployment? If this cannot be done please let me know the reason?
I am new to working with application servers. An explanation will be greatly helpful.
Thank you,
user181333
Most of the time, Spring is application server agnostic (but well, people always, always debate such things). That means that you should have no trouble deploying web applications in different containers.
Anyways, some portability issues may arise. The only ones I am aware of is classpath loading resources because of the servlet container implementation of class loading. Another is if you registered a TomcatInstrumentableClassLoader or something similar. And maybe JtaTransactionManager lookups.
For exact details in concern of deploying a web app just refer to the documentation of your specific application server.