Hello
I've been reading posts of people who as failed on the assignment and some of them received this comment : "Missing DAO/integration classes".
Well. I communicate with 3 external systems:
1 - E-mail server. I have a DAO for it.
2 - WebService. I created a package with a Interface and a JAXB class in it and I made a note that the package represents the classes of a webservice client generated by wsimport tool. I injected the interface (@WebserviceClient) directly into my business
EJB by a @WebServiceRef annotation.
3 - JMS: I receive messages from another system and I have a MDB that takes the message, unmarshal it and sends to my business EJB.
My question: For the cases number 2 and 3 I have classes that act as DAO but aren't named as so.
I woudn't do it in real life, but for the case of exam, do I have to create additional DAOs for the cases 2 and 3? I think it's strange, but as some people have failed for it, I think it's wise ask for your opinion.
Thanks
By the way. Do you think that the a approach I used in case 2, for represent the webservice integration, is appropriated?
Thanks a lot.