File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes multiple WSDL deployments from one application code Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "multiple WSDL deployments from one application code" Watch "multiple WSDL deployments from one application code" New topic
Author

multiple WSDL deployments from one application code

manish ahuja
Ranch Hand

Joined: Oct 23, 2003
Posts: 310
All,

Currently i am working on web service application using java. The web service caters for 3 major types one each for Property, Liability and Auto. The internal java program workflow and program logic is built in a modular fashion and shared across the 3 types down till the database queries.

Now I have a need to split each type as a separate web service like AutoWebService, PropertyWebService and LiabilityWebService.

Could you provide your thoughts on what is the best approach for this.


Regards,
manish ahuja
Ranch Hand

Joined: Oct 23, 2003
Posts: 310
Can someone throw broad ideas based on practical experience or share best practices
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3563

The internal java program workflow and program logic is built in a modular fashion and shared across the 3 types

What dependencies exist here with each other that you cannot execute a service individually?
Now I have a need to split each type as a separate web service like AutoWebService, PropertyWebService and LiabilityWebService.

What are the modifications/additions you are allowed to do here? And you may need to add more details about the current design.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
manish ahuja
Ranch Hand

Joined: Oct 23, 2003
Posts: 310
Vijitha - May be I am way off but my thought process was to leverage as much of the application code base as possible for the 3 different scenarios I illustrated and not have the need to spawn 3 separate applications but rather have 3 different web service wrappers sitting on top of the same application and each using it in respective ways.
There is lot of collateral in the application which can be shared across the 3 different scenarios and very few subtle differences.

This is a new application so we are open to make design changes. One approach i was thinking was to have separate controller class for each scenario and slam web service annotations on each of them and this way have 3 separate web service implementations generated out of single application code base (ear).

Hope this gives you a better picture. Thanks,
 
 
subject: multiple WSDL deployments from one application code
 
Threads others viewed
SCDJWS Beta!!!!!!
Web services and OO Inheritence
Sample Questions for 288 - Need answers
Web Services Certification Material
can a web application converted to webservice?
MyEclipse, The Clear Choice