How to have a Tomcat WebApp auto deploy sub services? -
I have written a service structure using the Hayesian and want to keep the URL normal, but the flexability of the auto-deployment .
If I deploy a service. I can access it properly using the Air / Service, however, I want a general location for all services.
How can I make a different reference, where all the services live and get the auto deployed. How exactly does it make with axis2.war it its services directory?
For example: I have deployed an explosion MyBridge.war, which includes a directory within the services of MLBridge.Well / Web-INF / HelvoldSesser within the services. Deploy the carrier and deploy it is.
Can I access MyBridge / HelloWorldService again?
Can this be done? I'm trying to self-deploy without using Spring and Hayesian and just Hayesian. By defining a simple servlet mapping:
All of this is important. You can also use a filter. All servlets / filters will be received on the prescribed path and they will use the resources under the web-INF / Services. Will use. I believe that you will need a special class loader to load classrooms / jar files there.
If you do not want MyBridge / HelloWorldService and MyBridge / services / HelloWorldService, you will have to pass all requests for service servlet / filter (/ * url-pattern) in such a way that you do not make an administrative page Will find
Comments
Post a Comment