DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Hybrid View

  1. #1
    alex yershov Guest

    RMI and asynchronous calls - question.


    Does RMI support asynchronous method calls? Is it necessary to kick out a
    new thread in the remote object to process the call to it asynchronously?
    Thanks!


  2. #2
    Paul Clapham Guest

    Re: RMI and asynchronous calls - question.

    If you mean "can you call an RMI method, then continue on with your code and
    have the result come back at some future time", I don't think it does. And
    I don't see how a thread in the remote object could make it do that, either.
    A thread in the local object, yes. But you might want to consider a
    messaging architecture; what you describe sounds like "send a message, get a
    response later".

    PC2

    "alex yershov" <alexyershov@yahoo.com> wrote in message
    news:3bc61cb8$1@news.devx.com...
    >
    > Does RMI support asynchronous method calls? Is it necessary to kick out a
    > new thread in the remote object to process the call to it asynchronously?
    > Thanks!
    >




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links