简体   繁体   中英

Deploying Java Application in Tomcat/Glassfish

I have an issue and I cannot solve it, even if I know that Maven deals with it. I have been looking for a solution for a long time and I cannot find it anywhere. I even tried to find some Maven tutorials but I haven't found anything yet.

So the problem appears when I want to deploy my application to Tomcat. Everything goes smooth until I want to modify something in it. It has a lot of images, files, video files, because it's a small portal. Every time I want to modify something I have to backup all this stuff in my computer and only after that i can run the undeploy process so that I can upload the new .WAR and it gets very unconfortable as the data grows. I would be very thankful if someone has a solution to this problem. My projects are performed in Struts/Struts2+Spring+Hibernate. Thank you

Consider using a content repository for images and external resources; look at LifeRay or Alfresco or Sling, or Communique for solutions in this space, or look at JackRabbit for implementing the client of a repository yourself. It's actually pretty easy, and very scalable.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM