I have DAO classes for my DB operations . I wants to expose my DAO class methods to a webservice using JAX-WS. It is a good idea to expose DAO class methods as a webservice methods? Please help me.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Usually it is not a good idea.
Keep your architecture layered:
In the middle (between the dao and API) you usually have a business layer.