Hi all,
I am studying the JCA resource adapter. I am questioning myself.
If I would like to let the
EJB access a legacy system, why do we need to use JCA resource adapter to integrate with the legacy sytem?
In fact, I can setup a web services interface in the legacy sytem and expose the some public methods to the EJB, then EJB can connect to the legacy to the system by using the generated stub code.
My question what is the pros and cons of using resouce adapter to integrate with the legacy sytem?
And why don't we use web services to integrate with each other?
Please help
Thanks
benson