Solved

Multi-tiered application

Posted on 1998-12-01
10
334 Views
Last Modified: 2010-04-04
Hi All,

I need to know if one multi-tiered application works:
1 - With the App Server Over the Internet.
2 - Acessing the Remote Application Server using one DialUp connection.
3 - If possible what's the better choice, use multi-tiered application
or cgi/isapi/nsapi scripts to access remote data bases. And why?

I hope to be clear. Thanks in advance.
Paulo
0
Comment
Question by:sergio_2001
  • 6
  • 4
10 Comments
 
LVL 3

Accepted Solution

by:
williams2 earned 50 total points
ID: 1348759
Mr. Sergio, I'm not sure if you mean to connect by Client/Server or by a Browser/WWW server, but I have been working around both areas, and I can provide you with answers to both topics.

A multi-tiered application does work through the Internet, I have been testing that for sure.

The system works this way:
1. If you got a LAN-adapter and an assigned TCP/IP protocol in your Network settings, you can access the surrounding IntraNET by either by using registered services (lookup by name) OR specific IP/PORT numbers assignments.
2. If you got a dialup-connection, you may connect to another App with specific IP/PORT numbers.

The OS has a tranparent network interface which decides wether to connect through the Internet or a LAN-adapter.

If you got a Dial-up connection, the service provider will automatically provide you with an unique IP-number, which will only be the same from time to time if you specifically demand it.

I can provide you with severel examples using this type of connection.

.

If you need to solve a HTML-project by using one of the (by you) above mentioned topics, I will recommend you to use CGI. CGI works this way:

1. The Server requests the .exe file from a CGI-directory.
2. ParamsStr(1) contains path and filename to an .INI file containing specific form-values from the HTML context provided by the user.
3. The INI file contains a section 'System' and a key 'Output File' which will tell you where to write the resulting HTML-document.

I can provide you with specific examples of using this.

If you are running IIS from MicroSoft, you may consider using ASP (Active Server Pages) to solve your problem. I have build a website using this. check out http://www.holvrieka.dk .

/Williams
0
 

Author Comment

by:sergio_2001
ID: 1348760
Williams2,


I have some experience with scripts like CGI. Multi-tiered application is new to me.
Adding your comments over the system work what I need about DCOM servers?

Thanks,
0
 
LVL 3

Expert Comment

by:williams2
ID: 1348761
Have I understood your question? ..Do you need help to build a DCOM Server ??

Regards
/Williams
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 3

Expert Comment

by:williams2
ID: 1348762
DCOM works different than TCP/IP applications, it's another kind of distributed system working with RPC's (Remote Procedure Calls) ..I can show you some examples using this, but I think you should be familiar with network programming before dealing with these kind of ball games.

/Williams
0
 

Author Comment

by:sergio_2001
ID: 1348763
Williams2,

To construct multi-tiered applications I need include TRemoteDataModules. Since actually TRemoteDataModule are Com objects I need one DCOM server. Ok?
So what's is required to do one connection with Internet or another machine if I have one local FrontEnd and I want to locate my AppServer on a ISP or another machine using DialUp connection. Please send-me yours examples.
sergio_2001@hotmail.com

Regards

0
 
LVL 3

Expert Comment

by:williams2
ID: 1348764
OK! ..I'll send one example now.

/Williams
0
 
LVL 3

Expert Comment

by:williams2
ID: 1348765
You might try the following links too:

http://www.macrosysinc.com/midas/
http://cs.franklin.edu/Faculty/Sawczyn/Comp310/COM.html
http://www.databiten.se/products/delphi/files/Midas.zip (275 KB - Needs Acrobat reader for .PDF files)
http://informant.com/libs/delphi/3x/DI9803DB.zip - (10 KB - DCOM Streaming)
http://informant.com/libs/delphi/3x/DI9709JR.zip - (529 KB - lets an application use objects almost anywhere.)

This is interesting - another approach:
http://www.torry.webnorth.com/vcl/database/midware.zip - (252 KB - By Francois Piette)

Regards
Williams
0
 

Author Comment

by:sergio_2001
ID: 1348766
Williams2,

See
http://hometown.aol.com/charliecal/

For instance it looks good for me.

Thanks
Sergio
0
 

Author Comment

by:sergio_2001
ID: 1348767
Williams2,

Please send me the answer to grade you.

Thanks
0
 
LVL 3

Expert Comment

by:williams2
ID: 1348768
Haven't you received the code I sent you?

From the questions you asked:

I need to know if one multi-tiered application works:
1 - With the App Server Over the Internet.
Both yes and no! ..It depends. DCOM or Distributed COM is like CORBA both a way to call methods and converting types by RPC's. The Internet is not designed to distribute COM objects. You should not mix up DNS and COM registered Services. But it mostly works with LAN, that means NOT if you are using a NOVELL system.

2 - Acessing the Remote Application Server using one DialUp connection.
I think the above answers this question :-)
 
3 - If possible what's the better choice, use multi-tiered application
You should use Socket and port specific services, like a plain Socket (TCP/IP) client/server model.

I mentioned the example of Francois Piette above. He claims to have solved this problem, you might go take a look at it.
(http://www.torry.webnorth.com/vcl/database/midware.zip)

If that doesn't provide the answer, please notify!

regards
Williams
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Intraweb submit form as a POST request 4 303
Convert Jpg /PNG To GIF 5 135
TServerSocket - file via sendbuf or Text via sendtext ? 1 53
Delphi...Split view - idea? 1 68
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question