How to access JDBC datasource from webservice
Hi all,
I have a requirement in which my client will send some data through webservice and i will store that in oracle database, i want to know best approach to handle this. Following are some approches
1- Develop webservice with EJB back
2- Develop webservice with POJO back
3- Develop webservice with service lifecycle and get datsoource/connection from servicelifecycle implementation
4- Deavelop a webservice with DAO class and initialize DAO in constructor of webservice
Please recommend wich approach will be better, please also suggest any other approach.
Regards,
imran
0