Hi all,
I have a doubt regarding the integration of web service to
J2EE application. Where should the code to invoke the web service go? Should it be some EJB client? If we call the service asynchronously, then we can go for some MDB(Message Driven Bean). But when the call has to be by synchronous, what option do we have?
The option of creating a EJB as a client to a web services doesn't make much sense to me. I'm thinking of creating a utility class that takes care of calling the web services and use that utility calls in my Stateless session bean that contains the business logic. I'm might name utility class as XZXDAO. Is it a good idea?
Appreciate your time.
Thanks & Regards,
Anil Chowdary K