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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:36:14+00:00 2026-05-29T06:36:14+00:00

We just start testing Play!Framework and akka, for use it in our future projects.

  • 0

We just start testing Play!Framework and akka, for use it in our
future projects.

  1. We would like to know how to make an asynchronous call from an
    Action in the Controller of PLAY![2.0] to an Actor in Akka. We have
    seen examples in the scala API but no examples in java API.

  2. To make asynchronous requests, we believe that we must to use the
    class play.libs.WS and play.libs.F.Promise but these do not appear in
    play_2.9.1.jar they only appear in the API (https://github.com/playframework/Play20/tree/master/framework/src/play/src/main/java/play/libs)

Thanks in advance.

  • 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-29T06:36:15+00:00Added an answer on May 29, 2026 at 6:36 am

    You’re mixing things a little up.

    play.libs.WS is for webservice requests (requests to certain urls).
    play.libs.F.Promise is (afaik) just a relict from Play 1.x

    To use a actor, instantiate a ActorSystem, then create a actor
    and send a message to him. If you “ask” ( actor.ask(…) ) for a result,
    you can use Await.(don’t know the exact name right now, use source completion of your IDE) to wait for its response.

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

Sidebar

Related Questions

I just start playing with GWT I'm having a really hard time to make
I am setting up the development environment for my start-up just now. I use
Hallo all, I just start my carrier after graduation. My first testing task is
I would like to start doing some Android development, and would like a cheap
I am a new mobile game developer and I am just start to make
I'm currently just starting to implement Dependency injection so I can start testing my
I'll start by saying I am pretty new to unit testing and I'd like
I just start learning to write web services yesterday, kinda fascinating. I created an
I just start learning WPF, is that possible I can create an IE toolbar
I'm not sure exactly how to explain this, so I'll just start with an

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.