View Full Version : Custom Java Program in ASP

01-27-2003, 01:05 AM

I have ever come across an article talk about the Web Technologies on current market. Two of them are JSP and ASP.
I was confused by their explaination. Do hope can get good explanation from codingforums.com.

1.) ASP can support custom programs wrote by c++ and Java.
Does it mean that it can support Java Beans, Enterprise Java
Beans and Java Classes????

2.) Apache can support ASP.
If I'm not mistaken, Apache only support ASP provided by third
party (Chilisoft!). Am I right??

3.) For the standards Interface for accessing database server, the article stated that, OLE DB acesssible to C++ and Java Programmers not VB or Scripting Developer.
Doesn't OLE DB only applicable on Microsoft product. If JSP run in IIS, can the OLE DB use as standard intreface for accessing data source???? or just using JDBC.

Please advice????

01-30-2003, 03:33 AM
How come no reply on this topic??
No body be able to answer???

01-30-2003, 09:08 AM
Well, since the smart people don't react ...
About 1:
Never heard about anuthing like that. I'm using java applets in my pages (including them) but asp doesn't actually do anything with it.
They are both send to the IIS wich parses the page and sends the html etc to the browser.
JS2E and the lott, need more then asp to run and i never heard of asp doing anytrhing with it.
I also can't quite see why you should mingle the two.

About 2:
More a less corect. Ther is one free product, buth it only works when you use perl as scripting language for your asp-pages (so not when u use VBscript or Jscript.
The stuff from (former?) chilisoft, don't actualy make asp-pages run on appach. It make the pages 'portable', which mean that not everything is guaranteeed to work (since not everything can be 'ported'). I've read somewhere that chillisoft-stuf converts the scripting inside the asp to perl, but not sure about that.
Packige is to expensive for me + no garanty it will actually work like a charm.
If you want to use Appache, study some PHP (that what i'm doing)

About 3:
I should study on that topic (You realy look smart if you can say some sensible things about that)

In asp, you normally use an adodb. But if you look at the driver, it also includes oledb. I presume the RDBM delivers it's data and there is an ole db used to create a recordset object for your asp.
Just a wild guess

dim conadmin
set conadmin=server.CreateObject("adodb.connection")
conadmin.Open("provider=microsoft.jet.oledb.4.0;data source="&server.MapPath("../db/fakename.mdb"))

I never written a jsp page so i realy don't know about that. Should be some good tutorials on that ...

01-30-2003, 10:23 AM
some additional info on 3. seems i'm indeed using OLE DB

more search results

01-30-2003, 11:05 AM
thanks, will try to go through.....will come back if there has any problem..