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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:59:41+00:00 2026-05-28T06:59:41+00:00

Does anyone know where I can find a good tutorial for setting up apache

  • 0

Does anyone know where I can find a good tutorial for setting up apache and a java web service (Hello World)?

I’m new to Apache and Java Web Services (do I need Tomcat?). I need a simple Java Web Service that can receive a simple http request from a client (eg. http://www.somedomain.com/service/001/notify). The idea is that a client will make an Http request and the Java Web Service will receive the request and run corresponding Java code on the host.

Sorry for the gaps in my knowledge, hence my need to have a tutorial.

In short I’d like to do this:

CLIENT:

new Request("www.somedomain.com/service/001/notify");

JAVA WEB SERVICE:

public void notify(int serviceID){
    System.out.println("Service " + serviceID + " says 'Hello!'");
}
  • 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-28T06:59:42+00:00Added an answer on May 28, 2026 at 6:59 am

    This video is slightly outdated; but it is a good tutorial for an absolute beginner.

    Also, Tomcat is what is called a servlet container. To see the difference between servlet containers and web services, here is a useful thread: Difference between servlet and web service

    You should keep in mind that Tomcat is just one of the many options out there. If you’re required to use it for school/work then go for it. But if you have the freedom to chose then I would recommend using google app engine java (tutorial here: http://code.google.com/appengine/docs/java/gettingstarted/ ). Under the hood they use Derby (I think most of Google’s products run on Derby but I don’t know that for sure).

    The reason I’m recommending because out of my experience with setting up servlets/etc app engine so far has been the easiest. It also has a free hosting quota which you should be able to stay under since this is obviously going to be a trivial/learning experience. In terms of which servlet containers are better than others I don’t think its going to matter at your level of exposure. Even though I’ve been messing around with them for a few years now it doesn’t really matter to me either…

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

Sidebar

Related Questions

Does anyone know where I can find a good explanation/tutorial of what and how
Does anyone know where I can find a good video to explain version control
Does anyone know where I can find an example or a tutorial of building
Does anyone know a good website where I can find information on C++11, other
Does anyone know of a good place where I can find the complete list
Does anyone know where can I find a good resource on WINAPI messages? The
Does anyone know where I can find good examples of abstract factory pattern as
HI Does anyone know where I can find good documentation on the Pear module
Does anyone know where I can find a good starting point to code a
Does anyone know where can I find recent data on PHP4 vs PHP5 market

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.