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

  • Home
  • SEARCH
  • 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 6197083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:45:29+00:00 2026-05-24T03:45:29+00:00

I have deployed our Restlet services to a Jetty Java Application server using the

  • 0

I have deployed our Restlet services to a Jetty Java Application server using the ServerServlet mechanism. Some of the services are called from the GWT front-end, but I would also need to call them directly from our server logic.

The Restlet RIAP system seems perfect for this, but I’m not sure how to use this here. It seems I would need to get a hold off the Context of the Restlet component somehow.

I found one post which indicated that the RiapServerHelper would be useful for this. But I found no documentation on how to use this.
Any examples would be helpful.

  • 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-24T03:45:30+00:00Added an answer on May 24, 2026 at 3:45 am

    The RiapServerHelper class is the implementation of the server connector. You do not have to use it explicitly.

    To use RIAP, you need to implement all entities of your application as usual (server resource, application…). The difference comes when attaching applications to the component virtual hosts. Resources that need to be accessed through RIAP also have to attach to the internal router, as follows:

    Component component = new Component();
    component.getServers().add(Protocol.HTTP, 8182);
    
    MyApplication app = new MyApplication();
    component.getDefaultHost().attachDefault(app);
    component.getInternalRouter().attachDefault(app);
    

    Note that you do not have to specify RIAP protocol to the component. It’s supported by default.

    Accessing resources of the application through RIAP is then simple since you can use the Restlet client support as with other protocols:

    Request request = new Request(Method.GET, "riap://component/ping");
    Response response = getContext().getClientDispatcher().handle(request);
    Representation repr = response.getEntity();
    

    or

    ClientResource cr = new ClientResource("riap://component/ping");
    Representation repr = cr.get();
    

    For more details, you can have a look at the page http://wiki.restlet.org/docs_1.1/13-restlet/27-restlet/48-restlet/86-restlet/45-restlet.html.

    Hope that answers your question.
    Thierry

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

Sidebar

Related Questions

I have an application deployed into multiple zones and there are some issues with
I have a ClickOnce deployed application I want to launch from VBScript, similar to
I have deployed a new build on Production server, but I dont see the
I have a application deployed through clickonce, but How can I modify the config
I have a web application deployed in an internet hosting provider. This web application
We've deployed our rails app to EC2. In our setup, we have two proxies
We have deployed a fresh openemm installation on a resin server (which wasn't exactly
I have added some custom actions to our installer which is run on CE5
We have a WPF application that we've deployed to the customer. However, the application
Our web application is deployed in a web farm (more than 20 servers). The

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.