Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    317
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Custom Java Program in ASP

    hi,

    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????

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    317
    Thanks
    0
    Thanked 0 Times in 0 Posts
    How come no reply on this topic??
    No body be able to answer???
    )

  • #3
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    Code:
    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 ...

  • #4
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    some additional info on 3. seems i'm indeed using OLE DB

    http://www.aspemporium.com/aspEmpori...leDBswitch.asp
    more search results
    http://search.megaspider.com/XP.html?asp+ole+db

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Posts
    317
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks, will try to go through.....will come back if there has any problem..


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •