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

  • SEARCH
  • Home
  • 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 7515079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:41:16+00:00 2026-05-30T00:41:16+00:00

I am developing my first Java web application (Spring/Hibernate/Freemarker) and my only concern is

  • 0

I am developing my first Java web application (Spring/Hibernate/Freemarker) and my only concern is development speed.

I used to develop in PHP, where it was sufficient just to reload the browser to see the result. With Java, I need to always click on “update resources” in my IDE just to see changes done to templates. It seems to me that this way of developing is really inefficient as the redeployment takes up to seconds.

Also, I am not the one who will be preparing the templates – it will be just a graphic guy and he will want to test them as well. Does he need to have its own application server and keep redeploying the application or is there some more “PHP” way where you just “reload” the page?

  • 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-30T00:41:20+00:00Added an answer on May 30, 2026 at 12:41 am

    Yes, development speed is a major concern and drawback compared to dynamic languages and platforms like PHP or Rails. Obviously Java wins in different areas, but here are few tips:

    1. Prefer unit-testing to redeployment – if you feel comfortable with unit testing, you greatly reduce the amount of redeployments. I found myself deploying complete feature only once, when it’s done. All the logic is already tested so I don’t have to deploy over and over, wasting seconds or minutes.

      Also when I start to work on GUI, I don’t have to back to the back-end, since I now it works. Once I see repetitive redeployments I try to test it using JUnit instead.

    2. Use better frameworks. Spring MVC is very conservative, albeit being very good and pure. I’ve heard Play! framework can reduce turnaround time by recompiling classes on the fly.

      On the other hand modern JVM frameworks like Grails can speed-up your development because they create domain, CRUD and GUI for you.

    3. Some frameworks promote loose-coupling of templates. If you are using Freemarker or plain JSPs, it is hard to work separately on GUI. But frameworks like Wicket decouple to a great degree Java code from templates written in plain HTML. Also I am currently working on an application that is only serving static HTML and the dynamic content is updated via AJAX/REST services and JavaScript.

    4. Consider purchasing JRebel and have a look at built-in hot-swapping features in the JVM. Sometimes changing the code does not mean redeployment.

    5. IntelliJ IDEA can update modified resources (HTML, JavaScript) on the fly when the window goes background. This means that your resources are updated the moment you switch window from IDE to the browser. Probably other IDEs can do this as well.

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

Sidebar

Related Questions

I'm developing a web application using Wicket+Spring+JPA+Hibernate. This is my first project with this
I'm developing an Java Web Application, I used some jQuery and a REST web
I'm developing my first java application using Eclipse. I've recently needed to adjust the
First, some background: I'm developing a web application using Python. All of my (text)
I'm kind of new in web development with Java. I am developing a web
I am developing a contract-first web service based on Spring-WS. I'm relying on Castor
I am developing my first application in spring security. My applicationContext-security.xml file looks like
I have a java web application that I am developing in Netbeans (and running
I am planning to start developing a Web Application, it's my first contact with
I'm developing an application in java which can take textual information from different web

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.