Click to See Complete Forum and Search --> : How to connect to oracle database using JavaScript...


swathig
February 6th, 2008, 06:42 AM
hi friends,

Am new to JavaScript.....

can any one out here help me by giving me the code to connect to Oracle database using javascript.It's urgent....



Thank you...

PeejAvery
February 6th, 2008, 07:50 AM
You can't. JavaScript is a client-side scripting language. You need to use the server-side (PHP, ASP, etc.) in order to do this.

swathig
February 7th, 2008, 05:24 AM
Hi,
Thank you for ur reply........

you told that using javascript we can't connect to database....use any sever side technology...

could you please suggest me how to code using sever side technology(java,c#,etc....) in java script.......

Thank you.......

PeejAvery
February 7th, 2008, 07:49 AM
What do you mean server-side code in JavaScript? They are completely separate. JavaScript, as I already stated, is a client-side scripting language. It can only interact with the web browser itself.

Also, Java is not a server-side programming language at all. It is an embedded object into a browser. However, it does have the ability to work with databases. But, I would greatly suggest not using it.

What server-side language are you going to use? What experience do you already have? This is no easy/quick project.

PeejAvery
February 7th, 2008, 07:52 AM
[ moved ]