Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7551565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:31:47+00:00 2026-05-30T10:31:47+00:00

What protocol is used for communication between App server and DB server in Java

  • 0

What protocol is used for communication between App server and DB server in Java EE if they are both hosted on different machines?

I mean if I use JDBC, then can I just specify IP of DB server in the config file(connection string)
and the connection will be established?

And if it does get established then what protocol is used to communicate across the two servers?
Is this protocol database dependent?

Or should I have web services on the DB server to communicate with the App server?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T10:31:48+00:00Added an answer on May 30, 2026 at 10:31 am

    The protocol to communicate with the DB is database dependant. The JDBC driver takes care of communicating with the DB for you.

    The URL of the database is also database dependant, and contains the information necessary for the driver to connect to the database server.

    Using web services on the DB server is definitely a bad idea:

    • it would forbid the use of transactions in the Java EE application
    • you wouldn’t be able to scroll to results without loading them all in memory
    • it would be horribly slow
    • the web service on the DB server would still communicate with the same native protocol with the database server.

    Read the JDBC tutorial for more information.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using protobuf for implementing a communication protocol between a Java application and
which protocol is used (other than NDEF protocol) for communication between Mifare classic 1k
I'm designing a communication protocol that will be used to communicate between two PC
Because I didn't want to implement a communication protocol for my client-server based application,
According to http://www.w3schools.com/WSDL/wsdl_documents.asp binding means communication protocol used by a web-service. I know of
We are thinking of using a REST interface for communication between internal apps. App
I'm working on a server-client application. The communication is done using webservice webmethods. Both
I have a requirement for an app to communicate with a server, this communication
I was wondering if anyone had some resources that describe the binary protocol used
Is Google's Protocol Buffers used in large scale production applications in production? What is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.