facebook

Using web service with in a web application

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #336386 Reply

    begurrao
    Member

    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.

    Thanks

    #336393 Reply

    support-swapna
    Moderator

    begurrao,

    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.

    #336443 Reply

    begurrao
    Member

    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?

    #336499 Reply

    support-swapna
    Moderator

    begurrao,

    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.

    Hope it helps.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Using web service with in a web application

You must be logged in to post in the forum log in