We are in process of developing an Java based CMS related to travelling domain and are thinking about exposing web-services so that interested thrid parties can make use of them to fetch data/content from our system to publish in there portal/application
I am not sure how we should expose these Web-services and not able to get a clear idea about design prespective.
Since we have Action classes (Controllers) to handle view and send back data to view and these Action classes will be responsible for intracting with Facade layer.
Can some one suggest me what should be the best approach.
- Should we expose Action classes as Rest Interface Also.
- Should we create a seperate Set of classes which should be exposed.
- Should we go ahead with Rest style or SOAP based approach
myu question is a bit subjective but as of now without any direction i am not sure i can put any other information here
Update
As of now we do not thinking about booking tickets etc but most of the stuff will be with respect to only getting content out of the System. But might be in future we will provide options to offer some products to thrid party which can be sell over there appllication