I am working on java 6, eclipse and tomcat . I have 2 projects in a workspace , 1 is a webservices client and the other is a webservices server. both projects are deployed under tomcat instance, so when I run the tomcat server it starts up both projects. when the client project starts up before the server project service is available , the client gets stuck in the following function and dosent finish to startup:
protected Service(java.net.URL wsdlDocumentLocation, QName serviceName) {
delegate = Provider.provider().createServiceDelegate(wsdlDocumentLocation,
serviceName,this.getClass());}
so I need the server project to start first and have the client project start only after the server finishes.
is that possible?