Results 1 to 2 of 2

Thread: jax-rpc client and session

  1. #1
    Join Date
    Apr 2005
    Posts
    3

    Default jax-rpc client and session

    Hi all,

    I'm using Spring with Axis to make some webservice access in a web app.

    The JaxRpcPortProxyFactoryBean is a singleton so returns always the same object.

    As a webapp is multi client (multi session),
    I wonder how to get a different proxy (stub) instance for each client session, in the case of a webservice has to maintain a session between calls ?

    Also, when I set singleton to false on JaxRpcPortProxyFactoryBean, Spring throws an error "FactoryBean must be defined as singleton" but in this case I want the factory to instanciate an object each time no matter the factory itself is ingleton or not...

    thanks

  2. #2
    Join Date
    Jan 2006
    Posts
    26

    Default

    Hi ,
    I too have the same confusion. Also I found two threads are talking about the synchronization issues and threading issues with the JaxRpcPortProxyFactoryBean. Eventhough the factory is a singleton, is the stub objects are multithreaded? Iam just starting the development with this setup and Iam afraid that I may face problems future.
    Please advice if you face any issues and how you solved it.

Similar Threads

  1. Replies: 4
    Last Post: Apr 20th, 2006, 04:38 AM
  2. Hibernate Long Session Per Flow?
    By akw in forum Web Flow
    Replies: 21
    Last Post: Dec 12th, 2005, 08:06 PM
  3. Replies: 0
    Last Post: Aug 25th, 2005, 05:11 AM
  4. Replies: 1
    Last Post: Aug 23rd, 2005, 09:24 AM
  5. Replies: 0
    Last Post: Jun 22nd, 2005, 05:27 AM

Posting Permissions

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