aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Passing connection object to SSJS appln Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Passing connection object to SSJS appln" Watch "Passing connection object to SSJS appln" New topic
Author

Passing connection object to SSJS appln

Dilip kumar
Ranch Hand

Joined: Oct 16, 2000
Posts: 360
Hi,

We have one server-side JavaScript application running on Netscape 3.6 server. I need to modify this application to connect to Oracle 8i database using a new helper class (Java). Helper class should have a method which creates a database connection pooling. I have couple of doubts and really appreciate if anyone could help.

Will the server-side JavaScript application recognize the connection object I pass from helper class (Java) ?
Are there any other options to implement this change ?

Please let me know if this is not suitable forum for this question.

Thanks much.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Man I have not heard of anyone actually running server side javascript since no one seems to have a server that supports it..lol..

My asumption would be no, but I have no clue and I do not know anyone to ask. I would say rewrite the thing in Java and get away from the severside JavaScript, but that is me and I bet there are reasons why you can;t.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passing connection object to SSJS appln