This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing connection object to SSJS appln

 
Dilip kumar
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic