Solved

Multi-tiered application

Posted on 1998-12-01
10
333 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
Comment Utility
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
Comment Utility
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
Comment Utility
Have I understood your question? ..Do you need help to build a DCOM Server ??

Regards
/Williams
0
 
LVL 3

Expert Comment

by:williams2
Comment Utility
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
Comment Utility
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 3

Expert Comment

by:williams2
Comment Utility
OK! ..I'll send one example now.

/Williams
0
 
LVL 3

Expert Comment

by:williams2
Comment Utility
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
Comment Utility
Williams2,

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

For instance it looks good for me.

Thanks
Sergio
0
 

Author Comment

by:sergio_2001
Comment Utility
Williams2,

Please send me the answer to grade you.

Thanks
0
 
LVL 3

Expert Comment

by:williams2
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

728 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now