Beginner Design pattern question (Web Services involved)
Posted
by
zombie
on Stack Overflow
See other posts from Stack Overflow
or by zombie
Published on 2011-01-11T07:57:00Z
Indexed on
2011/01/11
8:53 UTC
Read the original article
Hit count: 213
web-services
|design-patterns
Hi all !
I am a noob to web services world. I need to develop a login validator module and expose it as a service. I want it to be service independent, i.e I should have the option of exposing it as a SOAP service or REST service in the future.
What pattern should I follow ? Sorry if I am unclear in my requirements, I can clarify as per need.
Thanks !!
Edit : I am using Eclipse as an IDE and Jersey libraries. I am not into any framework, simply using the MVC pattern. I find a lot of difference between SOAP ann REST methods, so I want my methods to be implementation independent - i.e I should be easily able to use my method through a SOAP or REST service call as per need. What should I do for maximum flexibility ?
© Stack Overflow or respective owner