Results 1 to 4 of 4

Thread: Async JAX-RPC with Spring (or Lingo)?

Hybrid View

  1. #1
    Join Date
    Aug 2004
    Posts
    218

    Default Async JAX-RPC with Spring (or Lingo)?

    I have an existing Axis Web service that is called with my Spring JAX-RPC client. The service end point basically puts a message on a queue and holds all the passwords and queue information on the server centrally for security.

    My client, however, needs to be asynchronous as not to affect the performance of the client should something go down or some other anomoly. Without going to JEE 5.0 and JAX-RPC 2.0, is there a way that Spring can make this call to the web service asynchronously?

    I've looked at Lingo a bit, but unfortunately the examples are down on the site. Also, I'm not sure I understand where the Lingo service endpoint would live...on a web server? Could Lingo just send the message on the queue I have directly without the service endpoint, but then how is that different from a JMS client?

    Thanks,
    Lou

  2. #2
    Join Date
    Sep 2004
    Location
    Boston, US
    Posts
    130

  3. #3
    Join Date
    Aug 2004
    Posts
    218

    Default

    Instead of introducing YAF (yet another framework) I opted to thread the process of sending the request in the client proxy, thus making it asynchronous. When I have more time, I'll have to look into Lingo. It sounds interesting but I imagine our vendor TIBCO can support this natively.

    Thanks,
    Lou

  4. #4
    Join Date
    Sep 2004
    Location
    Boston, US
    Posts
    130

    Default

    Making the call in another thread on the client might be okay in your case however realize that the call is still synchronous in the thread started and if the call is a long running process, then it's susceptible to network timeouts or JAX-RPC api timeouts.

    This would not be the case with a truly asynchronous solution.

    Sanjiv

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •