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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:24:53+00:00 2026-05-18T05:24:53+00:00

I have a web service deployed and ready to use. The client application is

  • 0

I have a web service deployed and ready to use. The client application is going to use this service synchronously and extremely frequent. The amount of data returned from the web service is also considerable.

The web service client is a web application (liferay portlet). I have generated the client part with axis inside eclipse.

In my first tests, in each request I am instantiating a new ServiceProxy and calling its methods. I am not sure about robustness and reliability of this structure (making a new proxy object every single time).

I changed it to static classes with singleton proxy, but I am not sure what will happen during simultaneous calls of web application client (concurrency issues).

I want the design to decouple my web application from web service client and have something like client proxy cache (not data cache as my application is real time) or some thing similar.

I think there should be a design pattern or a best practice for web service client parts.

  • 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-18T05:24:53+00:00Added an answer on May 18, 2026 at 5:24 am

    Looks like your web service uses HTTP protocol, so no reason to have some proxy cache or something, the connection is created on each call, so you can call your once initialized WS client instance concurrently.

    But anyhow you will pay 200ms for each call (from my practice), and it is mostly XML processing if network is super.

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

Sidebar

Related Questions

I have web service deployed in Web Sphere and this service is SSL enabled.
I have WCF web service and client that calls this service, This client will
I have a web application deployed in an internet hosting provider. This web application
We have deployed a web service on a production server and still getting this
I have a web service application that I deployed successfully on Apache Tomcat using
I have several web service written formerley and deployed on tomcat. Now I am
Hi I have deployed the WCF web service on the server machine. I am
I have web service which i want to use to upload image to the
I have web service, which use integrated security in IIS. Now, I want to
My application is deployed to a web farm that does not use sticky sessions

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.