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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T17:54:21+00:00 2026-05-20T17:54:21+00:00

My project is planned to have 2 servers running – 1. The first is

  • 0

My project is planned to have 2 servers running –

1. The first is used as an interface and will serve users. software is built with php

2. The second supposes to do some computational work and will NOT be connected directly to users.software is built with Java.

the 1st server sends constantly information to the 2nd server.

Which will be the preferred way to communicate between them? I was thinking XML files, but I’d like to know if there is some toolkit or some COTS for this kind of interaction.

p.s. I had no idea how to tag this question, so if someone has a better idea – feel free to retag it.

  • 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-20T17:54:22+00:00Added an answer on May 20, 2026 at 5:54 pm

    Anything will work here, whatever floats your boat. Depends a little on the size of the payload, XML has a marshalling cost associated with it, but it’s not much more than any other plain text format. It’s certainly likely easier to do with PHP than something more native.

    You could also consider JSON, it’s a little less verbose than XML and suitable if you’re simply interested in moving data back and forth versus the other features of XML.

    Heck, CSV will work fine as well.

    The easiest way to pull this off would be to host a simple Java Web App and simply tunnel the data over HTTP to your process. If the process isn’t designed to be synchronous (i.e the PHP system should wait for processing), then you can simply store the data in a “work_to_be_done” table in a DB, or use one of the many queueing systems (JMS and its ilk).

    Nothing really magic here. Just do it. If you’re moving millions and millions of messages, then it’s different, and a different discussion. If not, fire away and have at it.

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

Sidebar

Related Questions

My situation is. I have a project planned to be built on ASP.NET MVC
About project: I'm trying to write CMS-like web-site on Java. Previously I used PHP
I am making a small website as my first project. I have finalized to
I have one question regarding unwanted extra jar files . First I had planned
I am currently looking at different ORM solutions for a project that is planned
My project is master/content. The client validation always scrolls the first control that is
Recently we planned to use checkstyle plug-in in our project. As a part of
So I have this database class in PHP and I only have 1 function
I'm working on a project that I want to have be as flexible and
I work on a Java EE project which is planned to become quite large

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.