Wednesday, May 18, 2005 9:22 AMDear All,
I have to develop an application, for providing interoperability between a Java application and Windows NT service. I have a three tier architecture in mind to solve this problem. I'll try to explain my idea as below (and would highly appreciate if somebody could please help):
The function of the three tiers will be:
1) Tier 1
This will be an client Java application which has to finally call the "services/data objects" running on a Windows NT machine.
2) Tier 2
At this tier, Microsoft Personal Web Server (probably version 4.0 will be used. I am not sure if any higher version for PWS came after version 5.0.) will run. The Java tier will talk to Personal Web Server using TCP over HTTP.
3) Tier 3
This tier will run an Windows NT service. The NT service could be as simple as like "adding two numbers" .. For the general case, the NT service could potentially be anything? I don't know what the NT service will be; but it has to listen to connections from the middle tier.
I could describe the architecture like this ..
Java Tier < ---- > Middle Tier (PWS) < ---- > NT Service
I know how to write a program for communication between "Java application" and "MS Personal Web Server" (for this TCP/IP will be the protocol). But I don't know how to provide communication between "Tier two" and "Tier three" .. Probably, PWS will send a protocol message to the "third tier" . The NT Service will accept the message, and send a response after possible processing. I don't know the protocol, that will be available between PWS and "NT Service".
I'll be highly grateful, if somebody could please suggest a method to achive this application design.
Friday, May 20, 2005 5:32 PMI don't see how this question is relevant to the "XML" focus of this forum. How about you try the Visual J# General forum.
Sunday, May 22, 2005 3:02 PMActually, I was thinking to use XML for communication between Java client and the middle tier (the Web Server). I feel, I can do this part. But I don't know how the Web Server shall communicate with NT Server/Workstation(which will run the NT Service). How NT Service shall return result to the Web Server? And how Web Server shall return result to the Java program..?
I'll appreciate any ideas or help for this problem ..