473,385 Members | 2,274 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

A design issue

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

Sep 20 '07 #1
5 1265
On Sep 20, 8:00 am, "TonyJ" <johansson.anders...@telia.comwrote:

<snip>
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

Sep 20 '07 #2
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

"Jon Skeet [C# MVP]" <sk***@pobox.comskrev i meddelandet
news:11**********************@o80g2000hse.googlegr oups.com...
On Sep 20, 8:00 am, "TonyJ" <johansson.anders...@telia.comwrote:

<snip>
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

Sep 20 '07 #3
On Sep 20, 9:09 am, "TonyJ" <johansson.anders...@telia.comwrote:
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

Sep 20 '07 #4
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

"Jon Skeet [C# MVP]" <sk***@pobox.comskrev i meddelandet
news:11*********************@r29g2000hsg.googlegro ups.com...
On Sep 20, 9:09 am, "TonyJ" <johansson.anders...@telia.comwrote:
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

Sep 20 '07 #5
TonyJ <jo*****************@telia.comwrote:
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.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Sep 20 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

36
by: Andrea Griffini | last post by:
I did it. I proposed python as the main language for our next CAD/CAM software because I think that it has all the potential needed for it. I'm not sure yet if the decision will get through, but...
2
by: Kymert persson | last post by:
Hi. I was wondering if there are any more C++ books along the lines of "Large scale C++ software design" by Lakos, J. I.e. concerning larger design issues in close relation to C++. I have made a...
10
by: eMKa | last post by:
Hi Code guru's I have created a user control which has access, and thus makes use of a shared singleton class like: Dim MyAppSettings As DLAppSettings = DLAppSettings.GetAppSettings This...
2
by: John Holmes | last post by:
This, I fear, is related to the fact that Visual Studio.NET reformats the HTML when going into design mode and then back out. I have an object tag that is using an object provided by a 3rd party...
1
by: keliie | last post by:
I have a relatively simple (I assume) issue which I am at a complete loss to address. My issues is: I want to populate fields in my tables with summary data from the same table. Let me explain: ...
0
by: YellowFin Announcements | last post by:
Introduction Usability and relevance have been identified as the major factors preventing mass adoption of Business Intelligence applications. What we have today are traditional BI tools that...
0
by: Paul Hadfield | last post by:
I'm looking for thoughts on the "correct" design for this problem (DotNet 2.0 - in winforms, but that's not so important). I've got two combo boxes (combo1 and combo2), both are populating via...
8
by: obrianpatrick | last post by:
Hi, I am relatively new to object oriented programming and design. I am developing an application in VS 2005. I am having the following design problem: I have two interfaces X and Y. Y is...
5
by: pgrazaitis | last post by:
I cant seem to get my head wrapped around this issue, I have myself so twisted now there maybe no issue! Ok so I designed a class X that has a few members, and for arguments sake one of the...
4
by: Ken Fine | last post by:
I've been living with a frustrating issue with VS.NET for some months now and I need to figure out what the problem is. Hopefully someone has run into the same issue and can suggest a fix. I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.