Solved

Multi-tiered application

Posted on 1998-12-01
10
336 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 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
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!

 
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 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