Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 340
  • Last Modified:

Multi-tiered application

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
sergio_2001
Asked:
sergio_2001
  • 6
  • 4
1 Solution
 
williams2Commented:
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
 
sergio_2001Author Commented:
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
 
williams2Commented:
Have I understood your question? ..Do you need help to build a DCOM Server ??

Regards
/Williams
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
williams2Commented:
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
 
sergio_2001Author Commented:
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
 
williams2Commented:
OK! ..I'll send one example now.

/Williams
0
 
williams2Commented:
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
 
sergio_2001Author Commented:
Williams2,

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

For instance it looks good for me.

Thanks
Sergio
0
 
sergio_2001Author Commented:
Williams2,

Please send me the answer to grade you.

Thanks
0
 
williams2Commented:
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now