Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 846403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:36:29+00:00 2026-05-15T06:36:29+00:00

I am doing some research in the way i can deploy an application efficiently

  • 0

I am doing some research in the way i can deploy an application efficiently using a war file. What i currently do is i deliver the war file everytime there is a release.

This means everytime there is a change no matter how small the change is i have to build and deliver all files that make up the application. I am thinking that maybe this is not the correct way to do this.

For example if there is a change to a css file i have to rebuild the war file which will include all file. This includes recompiling all *.java files as well.

In the above example, is it possible to build a war file with just the css file and deploy it to the tomcat server and have Tomcat just replace the css file and leave everything else as is?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T06:36:29+00:00Added an answer on May 15, 2026 at 6:36 am

    You can do an “exploded” deployment which is just the war file unzipped. Then you can update the individual files. For that you place the “unpacked” directory where you would want to have the war file. If you use tomcat and look in the deploy directory, you’ll see that that is what tomcat does anyway.

    It is not guaranteed that the changes will be picked up though. CSS files and images and o forth should pose no problems, but JSP, template files etc tend to be compiled and cached and you have to do some config magic to have the app replace these artifacts. Typically this comes at a performance cost and may lead to the Dreaded PermGen Errors when classes are replaced but not freed from memory. If you do this, make sure you bounce your server regularly at a good moment, and keep an eye on the PermGen memory area with virtualvm or jconsole or similar tool.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently doing some research about my project, a smartphone tracking native application, and
I am doing some research on developing thread safe applications. I know users can
I think it is not complicated but after doing some research I can't find
I am busy doing some research into using REST services with mobile applications and
i am doing some research about entity data model in asp.net and there is
I'm doing some research into using log4net, and I found the IObjectRenderer interface interesting.
After doing some research on the subject, I've been experimenting a lot with patterns
Im doing some research for an upcoming project and I am wondering if it
I'm doing some research and I'm playing with Apache Mahout 0.6 My purpose is
In asking around and doing some research, it seems like many people are really

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.