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 891805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:56:53+00:00 2026-05-15T13:56:53+00:00

Learning java server technologies, trying to clarify some things. There are few technologies that

  • 0

Learning java server technologies, trying to clarify some things.
There are few technologies that allow java applications to communicate with each other.

1) Web services (REST/SOAP) over http

2) Simple POST/GET using URLConnection over http.

3) Sockets

4) RMI = Sockets + Object Serialization + Some Utilities

5) Different media servers like red5 = rtmp or rtmpt

All this technologies assume that there is a server application and client application. Client application know server address and should be initiator of call. And as far as I understand there are noway for server to push data to client, he can only send data back as response to client. And It is possible, if only they change their roles, in this case server should know client IP.

So I wondering how does network games work ? Is it possible to open connection and exchange data between server and client for all time without pulling request from client every 1-2 seconds and server would not know client IP. I’m not talking about Comet and other hacks.

Thank you

  • 1 1 Answer
  • 1 View
  • 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-15T13:56:54+00:00Added an answer on May 15, 2026 at 1:56 pm

    Most two-way, persistent applications open a network port and keep it open. The server listens on a well-known port, and when a client connects to that port, it gets a persistent TCP connection to the server. A connection like that is basically a bi-directional “pipe”, data can flow serially in both directions simultaneously. As long as that pipe is open, the server listens for messages from the client and the client listens for messages from the server.

    The common I/O API’s used for TCP pipes allow either end of the connection to be “woken up”: An asynchronous I/O request executes a registered callback function from a thread managed by the OS or I/O library or the client/server ties up its own thread on a “blocking” call, which returns when data is available. No polling or re-connection attempts are necessary with this model, the client and server both “know” when data is available and can act on it immediately.

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

Sidebar

Related Questions

I am learning Java and am trying to do some experiments with networking Java
I'm learning about socket programming in Java. I've seen client/server app examples with some
I'm learning Sockets programming in Java. I'm trying to solve a problem that consists
I am learning Java with Swing and I have some problems with using JTextField
I just started learning server/database stuff on Java, and I was wondering what the
I'm learning the Java map/reduce API in Hadoop and trying to wrap my head
I have just started learning about Java server faces and successfully tested out my
I'm learning Java and writing an android app that consumes a JSON object that
I'm learning how to implement a multi-user chat server using TCP in Java. I
I want to start learning Sencha Touch. Being a server side programmer in Java

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.