A design issue

  • Thread starter Thread starter TonyJ
  • Start date Start date
T

TonyJ

Hello!

I just want to have your opinion about the problem. We have two applications
running on two different plattforms in the same LAN network.
On the first plattform we have windows and on the second plattform we have
something called OpenVMS.
The application on the window side is based on MFC.

Both application will send message do each other.
Here I'm only interested to find a solution on the window side.

Now and then we want to send a message from the OpenVMS to the windows
application and update it's database.
My solution is the following on the window side and I hope somebody can
comment to this solution.

I create a window service and have this listen to a socket. When the OpenVMS
application send a message on this socket the window service
look at this message and put it in the database.

Sometime when the window application are using some dialog a message will be
sent to the OpenVMS application.based on using sockets.

So my solution is to use window service and socket. Is there any better
solutions to this ploblem perhaps?

//Tony
 
I create a window service and have this listen to a socket. When the OpenVMS
application send a message on this socket the window service
look at this message and put it in the database.

Sometime when the window application are using some dialog a message will be
sent to the OpenVMS application.based on using sockets.

So my solution is to use window service and socket. Is there any better
solutions to this ploblem perhaps?

What development platform are you using on OpenVMS? If you're using
something like Java which supports web services well, I'd consider
using web services to communicate between the two.

Jon
 
Hello!!

The application on OpenVMS is based on ingress 4GL development tool and and
an Ingress database.
You mentioned web service. I come to think of if it would be possible to
create a web service using Java on thwe OpenVMS and have it listen to
message from the windows application.
Would it be possible to use a web service on the window side instead of a
window service?

Just tell me which would you prefer to use on the window side of windows
service or web service?

//Tony
 
The application on OpenVMS is based on ingress 4GL development tool and and
an Ingress database.
You mentioned web service. I come to think of if it would be possible to
create a web service using Java on thwe OpenVMS and have it listen to
message from the windows application.

Yup, you could certainly do that too.
Would it be possible to use a web service on the window side instead of a
window service?

That's what I was suggesting.
Just tell me which would you prefer to use on the window side of windows
service or web service?

A web service would be easier than handling all the socket stuff
yourself - so long as calling it from the OpenVMS side isn't too hard.
(Java makes it pretty easy.)

Jon
 
Hello!!

Some more question here.

When the OpenVMS application want to sent a message to the application
running on the window plattform.you mean
that on this window plattform we have a web service that the OpenVMS calls
and pass the data. This web service should just store the data in
the database in the window application. Because the data is feed by the
OpenVMS and should just be stored in the window application automatically we
don't have any user interface in the web service is that possible.

But if it's not possible to call a web service from the Ingress application
running on the OpenVMS plattform I probably have to use socket and window
service.


Now on the other direction
When the window application want to sent a message to the OpenVMS
application you mean
that on this OpenVMS plattform we have a web service that the windows
application calls. This web service should just store the data in
the database in the OpenVMS application. Because the data is feed by the
windows application and should just be stored in the Open VMS application
automatically we don't have any user interface in the web service is that
possible

But if it's not possible to call a web service running on the OpenVMS from
the MFC application running on the window plattform I probably have to use
socket and something suitable on the OpenVMS side.

The main problem here is if it's possible to call a web service from MFC and
is it possible to call a web service from this ingres application.
If none of these are possible a have to use window service and socket on the
window side.
On the OpenVMS side I use socket and perhaps something similar to window
service.

If I can call a web service from MFC I can create a web service in Java and
have it run on the OpenVMS plattform

Is this correct understood from me?

//Tony
 
TonyJ said:
Some more question here.

When the OpenVMS application want to sent a message to the application
running on the window plattform.you mean
that on this window plattform we have a web service that the OpenVMS calls
and pass the data. This web service should just store the data in
the database in the window application. Because the data is feed by the
OpenVMS and should just be stored in the window application automatically we
don't have any user interface in the web service is that possible.

Web services don't have user interfaces in the first place.
But if it's not possible to call a web service from the Ingress application
running on the OpenVMS plattform I probably have to use socket and window
service.

Well, if you get to write code which uses sockets, you'd probably have
access to web service client code anyway.
Now on the other direction
When the window application want to sent a message to the OpenVMS
application you mean
that on this OpenVMS plattform we have a web service that the windows
application calls. This web service should just store the data in
the database in the OpenVMS application. Because the data is feed by the
windows application and should just be stored in the Open VMS application
automatically we don't have any user interface in the web service is that
possible

But if it's not possible to call a web service running on the OpenVMS from
the MFC application running on the window plattform I probably have to use
socket and something suitable on the OpenVMS side.

I'm sure there are native web service client libraries available.
The main problem here is if it's possible to call a web service from MFC and
is it possible to call a web service from this ingres application.

Right - and you'd have to ask on a more appropriate group for either of
those questions.
If none of these are possible a have to use window service and socket on the
window side.
On the OpenVMS side I use socket and perhaps something similar to window
service.

If I can call a web service from MFC I can create a web service in Java and
have it run on the OpenVMS plattform

Is this correct understood from me?

I think so, although talking about the "user interface of a web
service" suggests you may not quite understand what web services are.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top