Tutorial On Application Severs: Develop Killer Web Applications In VB.. |
| | | | Submitted on: 10/22/2000 9:29:29 PM
By: Anoop Madhusudanan
Level: Intermediate User Rating:
By 60 Users Compatibility:VB 6.0, VB Script, ASP (Active Server Pages)
Users have accessed this article 22172 times. | (About the author) |
| | This Tutorial will teach you the Ins and outs of creating custom Application Servers. Get the power to make true killer VB web applications, and give more scalability to your existing applications. <p>If you are new to the term <b>'Application Server'</b>, just consider that it is an application that runs between a thin front end (in this case the web browser) and back end servers: After reading this article, you can <p>(a) Understand what is an 'Application Server'<p>(b) Create an Application Server, with a general
handler<p>(c) Extend the Application Server with additional logic.(In this case, a 'Banner Creator', which can create Banners with respect to user requests, and writes the picture back to them) <p> Also, kindly VOTE for me, if you find it interesting..b'coz I took 6-7 solid hours to write it <p> <b> Your's Anoop M Nedumkunnam </b>
This article has accompanying files | |
|
|
Terms of Agreement:
By using this article, you agree to the following terms...
1) You may use
this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
2) You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
3) You may link to this article from another website, but ONLY if it is not wrapped in a frame.
4) You will abide by any additional copyright restrictions which the author may have placed in the article or article's description. | Dear Friends,
Kindly see the attached ZIP for the article and associated projects. Anyway, here is a short introduction. As you know, now a days, the term Application
Server is becoming so hot. An Application Server
is a software that runs on the middle layer. I mean; it runs between a thin front end (in this case the web browser) and
back end servers.
Most Application Servers rely on Internet Servers, to pass
information/data to clients on the web. Application Servers are expected to support COM (Component Object Model) and/or CORBA (Common
Object Request Broker Architecture) frameworks.
In this case, we are creating an Application Server that supports COM interface.
After reading this, you can
- Get an idea about Application Servers.
- Create and use your own COM based Application Servers.
- Write directly to RESPONSE object from
a COM component (Got it? Instead of passing a value back to a variable in ASP to write it to response object, write
directly to response object from your component)
- See how to integrate additional logic (say your existing
business COM objects) using our Application Server
Also, if you are the CEO of an IT/Web
company, don't forget to read about my ventures in the preface section
:-). OOPS, forgot to tell all of you one thing; VOTE for me please,
because I took nearly 6-7 hours to write this completely :-) (ofcourse, the brain work is extra.lol.)
Always ur's Anoop, anoopj13@yahoo.com
| |
Download article
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.
Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE: 1)Re-scan downloaded files using your personal virus checker before using it. 2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code. 3)Scan the source code with Minnow's Project Scanner
If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com
|
Terms of Agreement:
By using this article, you agree to the following terms...
1) You may use
this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
2) You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
3) You may link to this article from another website, but ONLY if it is not wrapped in a frame.
4) You will abide by any additional copyright restrictions which the author may have placed in the article or article's description. |
Other 11 submission(s) by this author
|
|
|
Report Bad Submission |
|
|
Your Vote! |
See Voting Log |
|
Other User Comments |
10/22/2000 10:07:54 PM:Author Hello People, You can post your doubts
or questions here. Or just send them to
anoopj13@yahoo.com , when you need a
quick reply. Also, please VOTE for me,
if you find this innovative: Your's
Anoop..
|
10/22/2000 10:35:51 PM:Jon So what it does is allows you to do is
create objects compiled in VB and run
the functions of the vb code? That iss
cool! If I'm wrong correct me!
|
10/22/2000 10:48:38 PM:Anoop Jon, it allows you to use the ASP
objects (Response, Request etc)
directly from your VB application, to
scale your existing business
application to multiple levels, and
even to create a better application
server than Cold Fusion. :-) Regards,
Anoop
|
10/22/2000 11:59:20 PM:Anoop Hey ppl, please VOTE for me,
na..Atleast that is what you can give
in return, for my 7 hr effort :-)
lol..
- ur's Anoop
|
10/23/2000 2:22:00 AM:Omar Hi, First let me say thanks for posting
this Excellent program. This truly
deserves an award. I would also really
- really,like to see some more codes
like this. Thanks and please post some
more.
|
10/23/2000 4:09:27 AM:Arsalan Aslam Nice piece of code
|
10/23/2000 8:46:36 AM:Larry Stevens Wow - What a great teacher you are.
Thank you for the clear logic that
un-muddled what had always been
confusing to me in the past. I really
apppreciate your hard work.
|
10/23/2000 8:56:31 AM:CShellVB First I will say thanks for the COM
code sample there are very few good
ones on the Planet. I had one question,
Why did you choose to use late binding
for the ASP objects in your project?
Certainly with an Application Server
you would not want to create any slow
downs with binding issues..? Just some
small feedback from CShellVB.
(www.cshellvb.com)
|
10/23/2000 11:46:21 AM:Anoop Hey People, Thank you really for all
the appreciation. And well, CShellVB -
I also do not support late binding..but
in this case, my preference is for
understandability :-) .. ur's Anoop
|
10/23/2000 3:08:17 PM:Anoop I feel that a lot of people have doubt
about 'Creating an Alias'. Here is
it.
An Alias is nothing other than a
URL for a mapped directory. In PWS,
goto Advanced section, click Add
button, and in the Directory textbox,
type the directory where the ASP file
resides. In the Alias text box, type
something (say <myalias>). Then take
your browser, and type
http://<yourserver>/<myalias>. If you
have PWS in your system, you can type
http://localhost/<myalias>.: Regards,
Anoop
|
10/25/2000 11:09:24 AM:Jack I have been programming for over 3
years now in VB and I have read all the
books and this is one of the simplest
explinations of a web server app I have
seen - you have my vote.
|
10/26/2000 4:33:44 PM:vbmaster With out doubt, this one is the
greatest brainstormer I have seen so
far in PSC. Really great idea. And
thank you sincerely for the time you
took for writing this..
|
11/7/2000 4:38:06 AM:jpvdm@iafrica.com Would have like to know how MTS
compares to this.
|
11/23/2000 5:31:25 AM:Erik Forbes -- Mobius-Corp Commendable! ;) A+, 100%, 5 huge
whoppin planets for this guy!
In
other words, Very nice work! Easy to
understand, VERY well written, and
recommended for anyone interested in
writing application servers! :) Keep it
up Anoop!
|
11/23/2000 8:04:02 AM:Paul Great work anoop...Great Indian Brain!
|
11/24/2000 8:20:30 AM:Maximillian Dear Anoop
|
11/24/2000 8:21:36 AM:Maximillian Well done Anoop!!!
|
3/17/2001 11:48:35 AM:Benjo I'm running a PWS and tried it.
But
it gave me this:
Microsoft VBScript
runtime error '800a01ad'
ActiveX
component can't create object:
'AppServer.Handler'
/banner/Default.asp, line 55
I
didn't change anything on the ASP file
and I tried running the project file
before I typed the URL on my browser
and press enter.
When I compiled it,
it was an EXE. Do i need to register it
as something.
Anyways, I liked it. I
understand how it works.
|
2/16/2002 2:49:46 AM:Tuk You are D man my man, this is one of
the best examples i have seen on the
net. 5 2 U!
|
6/13/2002 7:01:53 AM:Ockert Great Code and Excellent Comments -
Same problem as Benjo (3/17/2001)
though:
Microsoft VBScript runtime
error '800a01ad' ActiveX component
can't create object...
WHAT TO DO,
WHAT TO DO ???
|
7/29/2002 8:22:55 PM:Sunny Nice Work...Anoop
Hope that u teach us
more in future...
|
2/15/2003 8:46:50 PM: runs on the background, but doesn't
show up as a form. Platform W2K DC...
shows up intermittently on W2K Pro.
|
3/13/2003 4:24:25 PM: I really apreciate the savvy ness in
temrs of going for custom build
engines, where you have the potential
of learning the underlying basic
pricnciples. I am looking for a similar
solution for a webserver in VB. Can you
please give me some tips on this ?
|
|
Add Your Feedback! |
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.
NOTICE: The author of this article has been kind enough to share it with you. If you have a criticism, please state it politely or it will be deleted.
For feedback not related to this particular article, please click here. |
|