Resource « restful « Java Enterprise Q&A





1. Using HTTP OPTIONS to retrieve information about REST resources    stackoverflow.com

This problem relates to the Restlet framework and Java When a client wants to discover the resources available on a server - they must send an HTTP request with OPTIONS as the ...

2. Restlet: Log Stack Trace for All 500 Errors    stackoverflow.com

I'd like my Restlet application to log the stack trace for any Resource that generates a 500-series HTTP error (using the Context's Logger). As far as I can tell, this is ...

3. In Restlet, what's the difference between a Restlet class and a Resource class?    stackoverflow.com

I've gone through the firstResource bit of the Restlet 1.1 tutorial and put together a web service that handles GET, POST, DELETE, PUT by subclassing the Resource class and overriding the ...

4. Annotations (@EJB, @Resource, ...) within a RESTful Service    stackoverflow.com

I'm trying to inject a EJB within my RESTful Service (RESTEasy) via Annotations.

public class MyServelet implements MyServeletInterface { ... @EJB ...

5. how can I get URI of currently dispatched web resource, in JAX-RS?    stackoverflow.com

How can I get a full URI of the resource currently dispatched in JAX-RS? I'm trying to return a URI of newly created object, and need a prefix part of it, ...

6. Invoking the resource of REST Web service    stackoverflow.com

I am writing a REST Web service. This is a snippet of Web service:

@Path("/first")
public class InitialResource
{ 
 @GET
    @Path(value="/{input}/{location}/{category}/{session}")    
    @Produces({"application/xml", "text/html"})
 ...

7. Resource level authorization in RESTful service    stackoverflow.com

Let /users/{id} be a resource url in RESTful service. Basic authentication is enabled and only authenticated users are allowed to access the url. Example Scenario: User_1 & User_2 are authenticated users with userId 1 ...

8. RESTEasy - add a resource class dynamically    stackoverflow.com

With RESTEasy I've implemented a subclass of Application to provide a list of singleton resources. Is there a way to add another singleton dynamically later on? I've not found a way ...

9. [WebService REST] Help for modify a Resource Class    forums.netbeans.org

View previous topic :: View next topic Author Message helldron Joined: 29 Jun 2010 Posts: 1 Posted: Tue Jun 29, 2010 9:54 am Post subject: [WebService ...





11. Learn Web Services(SOAP and REST) - Resources needed    coderanch.com

Hi! There is not much to choose from regarding newer books on SOAP web service: Web Services Up and Running. This book also talks about RESTful web services to some extent. There is a book from 2007 dedicated to RESTful web services, which is called: RESTful Web Services At netbeans.org there are a number of tutorials showing examples on how to ...

12. Resolving the webApp root from the context of a REST Resource Object    coderanch.com

Hello, This is my first post on the boards, so please be kind I guess my questions is already answered somewhere, but I'm still a little helpless with the search. I have written REST APIs for database access before and I'm familiar with Servlets and Web Services. The work here is part of my diploma thesis and i could really need ...