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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:05:50+00:00 2026-06-01T06:05:50+00:00

I have a web application made with Spring that runs on Tomcat. On the

  • 0

I have a web application made with Spring that runs on Tomcat. On the same machine there is a normal Java application.

I would like to execute the Java application by calling it from the web server, but i want to make it so the application won’t use the server’s resources (it involves the training of a classifier so it may take up a lot of resources and time) and it must not hang the server (so it must be called asynchronously).

Is there any way to do that?

  • 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-01T06:05:51+00:00Added an answer on June 1, 2026 at 6:05 am

    You have two options.

    1. Start a separate JVM instance by doing a exec and using a java command.

    2. Spawn a new thread – this will use server’s resources though.

    You can also combine options 1 and 2 and create a thread that does the exec call.

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

Sidebar

Related Questions

Scenario: We have a Spring managed web application that runs inside Websphere. (Spring 3.0.x,
I have made a web application that uses master page for Login & Logout
I have made a build system for my web application that's rewriting all resource
i have made a small web application with form.html output.jsp ServletOne.java In the form.html,users
I have an asp.net web application that I made in Visual Studio 2008. Everything
I have to migrate a web application I made with ASP.NET MVC to a
I have web application written in java using Eclipse. It has just one servlet
I have a ASP.NET Web Forms application that internally makes many SOAP and REST
I have made an application that displays a lot of questions from my database.
I have developed a Java EE web application. This application allows a user to

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.