Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
Does it make sense to use web service with in a web application when the web application and the database both are on same platform and the web application can directly access the database using JDBC and servelets? My understanding is web services are useful to access different applications or applications or database running on different platforms.
Web Services allows you to expose the functionality of your existing code over the network. Once it is exposed on the network, other applications can use the functionality of your program.
If you are not looking at sharing your application with the rest of the world, then you do not have to use Web Services.
No, we do not have plans to share our Application with anybody. But some are suggesting to use web service to keep all the common Java Methods and Beans under the web service so that our application functionality can use the web service to do database operations. I am telling that a web service is used for interoperability but not for this. When we can directly access our database then why our application shall go through a web service?
Right. If you are not looking at sharing your applications and when your DB is not on a remote server,you do not need to use a Web Service.
For further development related queries, please post to development forums for better support.