How to connect to a database thro JavaScript

How do I connect to a database(Say Microsoft Access), through Javascript.
-Thanx in Advance
Harini

JavaScript is something entirely different than Java.
If you really want to program with JavaScript, you are in the wrong place here. The forums here are about Java, not JavaScript. So, find some other forum on the Internet which is about JavaScript.
If you are programming in Java, you'll need to learn how to use the JDBC API to connect to a database. See the tutorial.

Similar Messages

  • How to connect to  Oracle database from webdynprojava application

    Hi
    How to connect to  Oracle database from webdynprojava application. where can we provide the code to connect to database.?
    Thank You.

    Hi,
    You need to create  Java Bean model. The bean is a typical java bean with default constructor, getter and setter. You can have additional methods for query etc. The attributes in the class will be your model node and attributes.
    However you need to configure the connection and create JNDI using visual administrator before writing the code.
    You can also consider writing Session EJB with oracle and using them in WD.
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/dcaa4f05535591e10000000a1553f7/frameset.htm
    Srini

  • How to connect to oracle10g Database using oracle11g Enterprise Manager.

    Hi,
    please suggest me how to connect to oracle10g Database using oracle11g Enterprise Manager.
    i did setting in tnsnames.ora file of oracle11g database but when i am trying to connect sys@testvsr and password
    using oracle11g Enterprise manager its not connecting but from command prompt its connecting.
    its not acccepting hostname its simply telling invalid username and password ,if i remove and try to connect its connecting.
    so please suggest its very urgent my manager is nagging.
    Regards,
    Srinu.

    you cant attach a database 10g instance with
    Enterprise manager of 11g as enterprise manager is
    meant for a single database only .. your problem cant be solved
    enterprise manager it can be solved by using GRID CONTROL
    For more details visit oracle documentation..
    Hope This helps..
    BI TC

  • How do connect to Historical Databases?

    Hi,
      please explain me what is Historical databases?
    Can u tell me how to connect to Historical databases? can we download these Database servers from net?
    - senthil

    Hi Senthil,
    You can try for RTXHDB (RTX Historical Database).
    RTX provide secured relational databases for LAN and WAN network.
    Often the use of relational database, or transaction-oriented technology, for off process historical LAN/WAN database applications, and doing unconventional operations on data.
    As an example,  It is in this area of off process historical data warehousing and retrieval that the RTXHDB (RTX Historical Database) system excels. RTXHDB processes and stores a massive flow of data for LAN/WAN database applications, which then can be retrieved with a great deal of speed and quickly turned into useful information for the PC user.
    You can check following links for more information.
    www.expertune.com/articles/isa2004perfmonhda.pdf
    http://www.rtx.com/hdbcncpt.htm
    Best Regards
    Ramshanker

  • How to connect my access database using applet?

    hi all,
    i need to connect my access database in my applet program which should work like an atm machine..I dont know how to connect it. Im new to applet same thing in JDBC application. Please help i terribly need it, our deadline in our case study is fast approaching and i still dont know how to do it. I tried the tutorial but i received some sql exception error. thanks!

    Try this link
    http://java.sun.com/docs/books/tutorial/jdbc/basics/

  • How to connect to oracle database from visual basic 2010 express edition

    I have installed visual basic 2010 express edition on windows xp. But visual basic 2010 express edition supports Microsoft sql server database file,Microsoft sql server compact 3.5, Microsoft access database file. I want to connect to oracle database from visual basic 2010 express edition. So what drivers are required and how to do connectivity?

    Hello,
    I wasn't clear on what you were using to make the connection. I had a look in Visual Studio 2010 (don't have express to test sorry).
    I think you mean the Data Sources available under the menu Data-> Datasources. this seems to match the description you give when I
    look at the list of datasource options.
    In here you can make ODBC connections via the Microsoft .net Data Provider .
    If you select ODBC as a datasource you can see listed the DSN's you created - for example I see 2 which use the Oracle ODBC driver.
    This assumes you installed an Oracle Client + the oracle version of the ODBC driver (comes with the oracle client).
    Once you created a server connection then you should see it in the server explorer.
    You can also download the Oracle Developer Tools for Visual Studio which is an add on for VS.
    ** I suspect this is only for VS 2010 and I didn't see that Express was supported.
    http://www.oracle.com/technetwork/developer-tools/visual-studio/overview/index-097110.html
    Let me know if that helps.
    John

  • How to connect to oracle9i database from Unix

    Hi All,
    How can i connect to remote oracle9i database(windows based) from Unix. I have following server information Server IP, Username , Userpassword , DataBase name.Do i need any other information to connect to server?
    How can i connect database from Putty?
    Do i need to install SQL on the Unix to connect to oracle server?
    and which C/C++ API i have to use to access tables from the remote oracle server?
    please help me i am new to oracle .
    Thanks in advance.

    Oracle generally uses a special set of software, commonly called the SQLNet or Oracle Networking, as a layer to provide a connection between the client and the database server.
    In general terms,
    - the client software (perhaps sqlplus, an application, ODBC) calls Oracle Networking on the client computer and says "please connect to database known as 'x'";
    - Oracle Networking translates the request, often by looking up 'x' in the TNSNAMES.ORA file at the client side, to get the host name, the port the Oracle listener is waiting on, and the name of the database service to access;
    - Oracle Networking contacts the computer on the required port. If the listener is there, the Oracle Networking client asks for a connection to the database service;
    - The Listener (if it recognizes it) asks the database service for a 'server process';
    - The database starts up a server process which grabs a network port and tells the listener which port was obtained;
    - The listener tells Oracle Networking on the client which port to use;
    - The client disconnects from the Listener, and reconnects at that port;
    - The server process starts authentication and session initialization, after which we are good to go.
    In answer to your questions:
    1) How can i connect database from Putty?
    That implies you want to telnet to the Windows box and run the client stuff locally on the Windows box. So that means you need to look at telnet or ssh documentation - this has nothing to do with Oracle.
    2) Do i need to install SQL on the Unix to connect to oracle server?
    Not really. It does mean you might want to install an Oracle CLIENT (see the download section of http://otn.oracle.com) which will initiate the sequence as above.
    A different sort of client is SQL Developer, a Java-based GUI with it's own built-in Oracle Networking, that displays database stuff. That is also offered by Oracle at the same download page.
    3) and which C/C++ API i have to use to access tables from the remote oracle server?
    Oracle provides a C/C++ API as a pre-processor, called Pro*C. I suspect this si way beyond what you want right now.
    4) please help me i am new to oracle .
    Please, please, please, please, please ..... please .... purchase and read http://www.oreilly.com/catalog/oressentials3/

  • How to connect OBIEE to database in HP-UNIX Machine

    Thanks in advance
    Regards
    Frnds

    Yes i know that but i only wanted to know how i will connect MS Access database with Java desktop Application in NetBeans

  • How to connect to 9i database using 8i sqlplus?

    Hello,
    My Oracle server is running 9.2.0.1
    My Oracle client processes run on the same machine using Oracle 8i (ORACLE_HOME is set to 8i home).
    I cannot connect to 9i database using 8i sqlplus.
    My ORACLE_HOME for client environment is set to 8i home.
    How can I access 9i database using 8i sqlplus?
    Thanks in advance!

    I saw this answered in another thread:
    8i sqlplus not working on 9i
    Please try not to cross post.
    Alison

  • How to connect to SAP Database from a Adobe flex application?

    Hi
    I am an intern currently working on designing an Adobe flex interface that interacts with an SAP Database, although im torn between methods of implementing the most efficient connection without over-complicating the problem. I believe the best approach would be to use SAPJCo but am unfamiliar with how to approach this method and am finding it hard to get detailed documentation or code examples which show connecting to a Database. Another approach would be using a web service but my problems again arise with my lack of knowledge to connect to the Database.
    Any advice or help would be much appreciated.
    Thanks,
    Jonny

    Hi Jonathan.
    I believe webservice is the best approach, steps to create webservice is very simple.
    1. create a webservice from a standard rfc or bapi.
    2. release and activate webservice.
    3. it will generate wsdl file which can be used in flex environment.
    creating webservice.
    http://help.sap.com/saphelp_nw04s/helpdata/en/0d/2eac5a56d7e345853fe9c935954ff1/frameset.htm
    Consuming ABAP Web Services using Flex :
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/emtech/consuming%2babap%2bweb%2bservices%2busing%2bflex
    i hope this surely helps.
    Venkat.

  • How Workspace connect wih LiveCycle Database

    Hello,
    I am trying to put a "Change Password" operation for the loginned user inside the Workspace. I have imported workspace source to my Flex Builder. In the UI I have put the necessary fields for password change and a button for change the old password with current. I am new to Flex so I could not understand how Flex connect with LiveCycle.
    It seems with remoting, it calls the livecycle services. Is there any service that can I call to change password operation? Or how can I connect the database and change password? Can somebody put the sample or pseudo codes?
    Thank you
    Asiye

    Hi Asiye
    Normally LiveCycle is configured to use LDAP authentication. In this case, LiveCycle is not really capable of changing the passwords - this must be done through the LDAP server (ie ActiveDirectory, etc).
    If you're using Local domain, then passwords are stored in LiveCycle.
    I'm sure there is an api for changing passwords, but I'm not sure what, or how you would find out about it.
    If you'd like us to do some investigation for you, please email info-at-avoka.com.
    Howard
    http://www.avoka.com

  • How to connect to the database

    hello, i'm using windows 2000 sp: 4
    i have installed databaseXE 10g and Developer suite 10g (installation: Complete).
    When i run oracle designer or repository administration utility, i can't enter with my database acount > user : system, password: xxxx(database password).
    i try to configure the application with Net Configuration Assistant, creating listeners and service name but i don't understand this procedure.
    can somebody help me connecting to my database?!

    Try to follow steps from Quick Start to Oracle Net Connections: http://download.oracle.com/docs/cd/B28359_01/network.111/b28316/gettingstart.htm#i485122

  • How to connect to remote database

    Hi experts,
    i want to connect with another database in our network what are all the steps i need to follow? i just confused with listener.ora and tnsnames.ora. waiting for your ideas.....

    The database listener is the process that is configured via the listener.ora file. The administrator of the other database should have configured a listener for that database.
    On the client machine, you'll need to configure a tnsnames.ora entry unless you are using Oracle Names, Oracle Internet Directory, EZConnect syntax, or something like JDBC to connect. The administrator of the other database should be able to give you a tnsnames entry for connecting to his (or her) database.
    Justin

  • How to connect to different databases in hibernate and mysql

    I have a question maybe someone can help me, I need to MAKE A java Enforcement (Desktop) Using Hibernate Where can create a Database, and then allow me to open or connect to the database I want, let's say I have two databases schedules1 one call and another call Horarios2, if I give open Horario1 ps I load the records that database, if anyone can give me ideas, or some articles where I will be grateful I can hayar information, I am using Mysql

    http://hibernate.org/docs

  • How to connect java with database without any dsn.

    is there any way to connect java with database with out creating any dsn..like we do in ado in vb by providing provider.

    Sure use a type 4 driver. No DSN.

Maybe you are looking for