frugi
frugi

Reputation: 605

How do I write Web Application for a Delphi Server?

I have a Delphi Application with a Client-Server Architecture. Now, I want to write a Web-application for this Delphi Client-Server Application. To write a this Web App I don't want to use Delphi - I want to use a "modern" Web Architecture like a PHP Framework, ASP.NET, Ruby on Rails etc. So far i came to one possible Solution with RemObjects (http://www.remobjects.com/ro/) and ASP.NET: ASP.NET <-> Delphi

In this approach the Delphi Application communicates with an ASP.NET WebServer over RemObjects where the Delphi Application is the REM Objects Server and the ASP.NET App is the Client.

My questions are:

  1. Is this approach really a good idea and if not why?
  2. What are other possible approaches to solve this problem?

Thank you for your help.

Edit: Thank you for your answers so far!

Upvotes: 2

Views: 791

Answers (3)

Arnaud Bouchez
Arnaud Bouchez

Reputation: 43033

An alternative could be SOAP, or a RESTful connection.

R/O is faster than SOAP, for sure, and well integrated to both sides (Delphi and C#).

And, since you are already using R/O between Delphi client and Server, it will be the first option to consider.

IMHO any RESTful connection between Delphi Server and a C# client may do the work also. And will probably be faster, so is to be considered only in a second phase, if you find any performance or stability problem with a R/O connection.

Upvotes: 1

mjn
mjn

Reputation: 36654

You need a two-way messaging / inter process communication solution. Typically SOAP, REST and other web services (RemObjects) are synchronous, request-response style communication.

A messaging middleware can be implemented in a way which totally decouples the applications so that you can restart any part of the system (for example for maintenance and update installation) without disturbing the others.

Popular open source products in this field are for example Apache ActiveMQ, Open Message Queue and RabbitMQ, which offer cross-platform/cross language clients.

Upvotes: 1

Peter
Peter

Reputation: 2977

How about establishing a neutral link like a Database?

Upvotes: 1

Related Questions