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 8071187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T13:38:00+00:00 2026-06-05T13:38:00+00:00

How does PlayFramework make code changes appear at runtime without restaring and redeploying? Does

  • 0

How does PlayFramework make code changes appear at runtime without restaring and redeploying?
Does it use tomcat internally? If not, can I potentially put my Spring app on top of the server container it uses, and get the benefits of runtime changes.

Note: I know that it is technically possible to do that with Tomcat as well, however, form what I experienced, it is quite buggy, and does not work all the time. Sometimes, it even requires reloading the whole application context (which is around 16s), which goes off the point.

  • 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-06-05T13:38:02+00:00Added an answer on June 5, 2026 at 1:38 pm

    Play works by, as Zenklys points out, checking the last modified date of the java files, and cross referencing them with the .class files that are generated at run time. If it recognises something has changed, then it recompiles them, at runtime.

    In Play 1.x – the recompilation is done using the eclipse jdt compiler (org.eclipse.jdt.internal.compiler.Compiler). If you want to see the code from Play 1.x, just look at the following class – https://github.com/playframework/play/blob/master/framework/src/play/classloading/ApplicationCompiler.java

    In Play 2.x, it looks as though Play does it by interlinking with the SBT tool. Check this out – https://github.com/playframework/Play20/blob/master/framework/src/play/src/main/scala/play/core/system/ApplicationProvider.scala

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

Sidebar

Related Questions

Does Play Framework 2.0 have any built-in equivalent to 1.2.x's jsAction ? If not,
I use playframework, and I am struggling with a concurrent task: I have a
Does anyone know how I can implement a single Touch Event. A simple, one
Does any one have a solution to make the SpecFlow autocomplete in Visual Studio
If the model class does not contain a creation_time field, is it possible to
Play framework [I'm using v1.2.3] does not support db password encryption stored in the
Does anyone out there know if it is possible to use sharding with a
Does play framework server have a rewrite_mode functionality like apache? That is: how can
I just started to use the Play framework and Scala. What does body: =>
Does anyone have any recommendations of tools that can be of assistance with moving

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.