Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Multi-tiered application

Posted on 1998-12-01
10
Medium Priority
?
338 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 3

Accepted Solution

by:
williams2 earned 150 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
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!

 
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

721 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