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
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Passing connection object to SSJS appln" Watch "Passing connection object to SSJS appln" New topic

Passing connection object to SSJS appln

Dilip kumar
Ranch Hand

Joined: Oct 16, 2000
Posts: 360

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

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

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.

I agree. Here's the link:
subject: Passing connection object to SSJS appln
It's not a secret anymore!