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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:53:16+00:00 2026-05-26T10:53:16+00:00

What do I use if I need something like Tomcat server that is always

  • 0

What do I use if I need something like Tomcat server that is always up and needs to be daemon that is always alive and perform HTTP web service requests using JAX-WS? Can I use Tomcat to be the request server that invokes the web services?

UPDATE:
I still don’t understand, sorry about that. I just want simple web service client that is able to send request to several endpoints. The thing is, that it needs to always alive (up like server or daemon). The reasons it needs to be alive is that it need to read and perform internal API calls and based on them to make the web service requests.

  • 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-26T10:53:16+00:00Added an answer on May 26, 2026 at 10:53 am

    Your question is a little vague, but as far as I understand it you’re looking to develop a web service that respons to http requests.

    This can easily be done using Tomcat, Jetty or any other servlet container. You would just deploy your application as a WAR in the servlet container, and the servlet container will take care of running your web services. I assume all requests will be plain http requests, so a good starting point will be the HttpServlet. Have a look at this tutorial to learn more.

    Also keep in mind that Tomcat can manage database connections for you if the web service you’re developing needs to communicate with one. It’s the recommended way of doing it, as Tomcat will take care of opening, pooling and closing the database connections.

    If you are looking to develop a deamon that executes requests against a remote web service, then I’d say Tomcat6 can be used for that too. A good starting point would be to simply configure a context listener which implements the methods contextInitialized() and contextDestroyed(). These two methods are invoked when the WAR is started and stopped. Depending on how and when you need to execute requests against a remote web service, I’d have a look at the Quartz Scheduler framework to execute the requests at given time intervals.

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

Sidebar

Related Questions

I need to use something like get_or_create() but the problem is that I have
I use edit-in-place plugin: http://arashkarimzadeh.com/jquery/7-editable-jquery-plugin.html I't works Great! I just need something to check
I have to write something in vbscript that need to use a unique set.
I need something like this: var link = http://www.google.com; <a href='link' /> So I
I need something like Google-maps, usable on a commercial project. Can I use GoogleMaps?
I need to use something to coordinate my system with several consumers/producers each running
I need to use .htaccess file to replace a word in a URL; something
I use apache/passenger on my development machine, but need to add SSL support (something
I need something like this + scrollview | |__ moving content | |__ non
Please see this image: I need something like this which will show quote's gradually

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.