Results 1 to 4 of 4
- 09-13-2011, 10:46 PM #1
Member
- Join Date
- Sep 2011
- Posts
- 6
- Rep Power
- 0
Concurrency with web services in a application
Hello,
I need some help in designing a standalone application with a
public static void main. as start point and uses no threads as such to communicate with jax-rpc encoded web services. This application makes many calls to web services before it exists.
But I am running into trouble to find the best way to ensure that no two calls overlaps. Since most of the methods being written are static methods.
People may call this executable jar more than once and may also overlap. But in each case integrity of the application should be maintained.
Any help will be greatly appreciated.
Libraries used. Axis 1.4, JAXRPC, SAAJ.
-Su
- 09-13-2011, 11:20 PM #2
Re: Concurrency with web services in a application
ensure that no two calls overlaps
- 09-14-2011, 12:18 AM #3
Member
- Join Date
- Sep 2011
- Posts
- 6
- Rep Power
- 0
Re: Concurrency with web services in a application
Makes sense. So if I am right, I need to remove all the singletons beans and inject all the Singleton beans to other corresponding classes which calls web services.
One other thing. The Handlers which will call webservices should they be static or singletons. To keep reusing their instances.
- 09-14-2011, 12:20 AM #4
Similar Threads
-
Work in the company Exigen Services, Senior Enterprise Application Architect (J2EE)
By Exigen Services in forum Jobs OfferedReplies: 0Last Post: 09-07-2011, 04:17 PM -
Implementing BO web services using Java Application
By Aashik Suju in forum JDBCReplies: 0Last Post: 04-13-2011, 05:51 AM -
GUI Concurrency Problems
By jkhamler in forum Threads and SynchronizationReplies: 18Last Post: 01-20-2010, 04:40 PM -
Need to help to create an application using jsp, web services, ejb, mysql
By sankethm7 in forum Enterprise JavaBeans (EJB)Replies: 0Last Post: 04-22-2009, 11:06 AM -
Web Services: Axis vs Metro vs Spring Web Services
By davidbaker29 in forum Advanced JavaReplies: 0Last Post: 01-28-2009, 12:20 PM
Bookmarks