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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:41:14+00:00 2026-06-10T12:41:14+00:00

I started learning JavaEE yesterday and I chose an Oracle official guide FirstCup to

  • 0

I started learning JavaEE yesterday and I chose an Oracle official guide FirstCup to get started

I’m using Netbeans 7.2 with GlassFish Server 3.1.2.2 and I’m sure I followed every instruction step by step. But I have two problems:

  1. I didn’t see any REST Resources Configuration dialog as it says in the doc.
  2. I got an 404 error in the end. But if I change the url to

    http://localhost:8080/DukesAgeService/webresources/dukesAge  
    

    It works! I got this url by expanding RESTful Web Services->Right clicking DUkesAgeResource [dukesAge] ->Test Resource Uri

I want to know:

  1. where I can find this REST Resources Configuration dialong in 1.

  2. if 2 is a print mistake in Oracle the documentation. It says the relative url should be /resources/dukesAge

  3. Why the url must end with /webresources/dukesAge, can I change it?

  • 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-10T12:41:15+00:00Added an answer on June 10, 2026 at 12:41 pm

    As pointed out in the comments, NetBeans 7.2 implements a default configuration for RESTFul Web Services that is different from the previous versions. This standard configuration can be overridden during the creation of the web service. Once created with the defaults, you can’t use the wizard anymore (the Configuration choice from the right-click menu is grayed out).

    Consequently, in order to view / edit the RESTFul paths, you need to edit the auto-generated Java classes directly:

    1. ApplicationConfig.java class contains the RESTFul main path in the annotation @javax.ws.rs.ApplicationPath("webresources")
    2. Each autogenerated XYZFacadeREST class contains the path relative to each entity class in the annotation @Path("entity.XYZ")

    If you want to have the same paths as in the tutorial, you need to replace webresources with resources (point 1) and the path in point 2 with dukesAge.

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

Sidebar

Related Questions

I started learning vim today and installed it using sudo apt-get install vim Now,
I started learning XML yesterday but I cant get around the concept of DTD.
I started learning jQuery just yesterday, and I like it very much. And now
I started learning haskell yesterday and I got stuck on a problem. After a
I started learning JavaScript last week, I saw this code yesterday and I did
Just started learning Scheme. I'm using Dr. Racket as my compiler/interpreter. I need some
Just started learning Ruby metaprogramming. Looking at Object.methods I get: Object.methods => [ :allocate,
Just started learning/using pipes and was wondering how to route file output of an
Just started learning mvc3. I've built a fairly basic website (also using EF-Code-First if
Started learning javascript yesterday at CodeAcademy and decided I could actually write code. Just

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.