I am creating a file manager application using vaadin as ui and alfresco as file storage. I am using alfresco web service client to communicate with alfresco.
Can anyone suggest me which design pattern I should use to call alfresco web service clients?
Thanks.
First of all you don’t have to force your self using design patterns. Design patterns are reusable solutions to certain problems. I see no problem with calling web services directly. Just make your code clean, remove duplication and develop some simple internal API for making the calls.
Second. There are some content management integration patterns you could use. But you have to be more specific on what you are doing. If it is a simple file broswer you could use “browser view” pattern but not necesary.
I wouldn’t complicate things too much if it is just a simple application though.
The other thing you didn’t tell us is what kind of web services are you using? RESTful or SOAP?
Hope this helps a bit. 🙂