Getting started with oracle and jdbc

i have downloaded ojdbc14.zip from oracle.com
it's documentation only tells you about the api and the packages and nothing about how to configure it.
how do i get started? where do i unzip those files and what to do next?
please help

"The Old oracle.jdbc.driver Package Will Go Away Soon
If you still have existing applications that use the
old oracle.jdbc.driver
package, now is the time to convert your code."
And who is so foolish as to use concrete types
instead of java.sql and javax.sql interfaces or embed
driver class names in their code? Well, anybody who's more interested in optimal performance than being generic, and willing to put up with the headaches of that, such as providers of high-performance OR mapping tools or someone tuning a very heavily used bit. Or anybody working in a committed Oracle-only shop. It's not a one-size-fits-all world...
Again, Oracle is evolving the standard. No, the standard is Sun's java.sql interface.Yea, Sun evolved Java, and Oracle is recommending the use of Datasources to keep step with that evolution...
This still
works, but Oracle is shifting away from <sid> and
using <service name> instead. The alternate syntax
for the URL is:
String url=jdbc:oracle:thin:@<host>:<port>/<database>
This has been true for as long as Oracle has had a
thin, type IV JDBC driver. The URL syntax hasn't
changed.
Yes it has and Oracle says it has, here:
http://download-west.oracle.com/docs/cd/B14117_01/java.101/b10979/urls.htm#BEIJFHHB
Wherein it is written, in Section 3.2.1 of the Oracle� Database JDBC Developer's Guide and Reference, the sesction on the several supported URL formats for Oracle 10.1
Notes:
* Oracle Service IDs are no longer supported at 10g Release 1 (10.1).
They go on to list three URL styles supported:
Oracle Net connection descriptor - like an entry in tnsnames.ora (ick!)
Thin-style service name - the most common, what was quoted above.
LDAP syntax - for having an LDAP service resolve the database for you
However, in the old 8.1.7 JDBC documentation, here:
http://download-east.oracle.com/docs/cd/A87860_01/doc/java.817/a83724/basic1.htm#1006213
Oracle lists support for:
Net8 connection descriptor - Net8 is the old name for Oracle Net
Thin-style sid name - what was quoted in the post to which I first responded.
Thin-style sid name syntax has a colon between the port and the sid; thin-style service name syntax has a forward slash between the port and the service name. SIDs and service names are not the same thing, although they serve the same purpose in a URL (connecting you to the right instance) and often have the same value. However, a SID for a database is set at DB creation time, is unique to the DB, and cannot be changed easily. Multiple service names can be configured for a database, and they can easily be changed (if you're the DBA). Oracle is providing an additional leval of abstraction by moving to service names, to support additional features and choices. While many installations don't need all that and have in essence ignored the distinction bewteen SID and service name, some multi-database projects can benefit from it.
>
StuDerby, I think you should look into this a bit
more. Your advice is far from optimal, IMO.
Yeah, I could've taken the time to write a more generic, newbie friendly repsonse; instead, I lifted directly from the Oracle documentation that was cited earlier since newbies seem to have an aversion to reading documentation.

Similar Messages

  • Developerday  VM Ora-12505 Getting Started with Oracle SQL Developer 3.0

    Just downloaded the VM , Started the tutorial Getting Started with Oracle SQL Developer 3.0
    As mentioned in tutorial , I was trying to make a new connection and I am getting following error
    Ora - 12505 : TNS Listener doesn't currently know of SID
    I gave SID as orcl, and seems to be working OK, can I use orcl for this tutorial
    Edited by: OrcArgusDev on Apr 13, 2012 9:01 AM
    Edited by: OrcArgusDev on Apr 13, 2012 9:11 AM

    Thanks, I'll survive. Just my luck, the first item I try to anon. debug didn't work! :)
    thanks, hopefully this problem will be few and far between

  • Get Started with Oracle 9i

    I am requesting information on Getting Started with Oracle 9i. Like the information, you have on your website for Get Started with 10g.

    You may find the Oracle by Example module on Oracle9i Database helpful:
    http://www.oracle.com/technology/obe/obe9ir2/index.html
    Regards, OTN

  • Get started with file and font sync

    Get started with file and font sync how do you access the 700 free fonts?

    Have you requested and received an email that you're eligible for File and Font Sync early access?
    If you have, go to creative.adobe.com and download the latest version Creative Cloud desktop after you log in with your Adobe ID.
    Then when installed, you should be able to click on Fonts to browse on the Typekit website.

  • Where do I get started with OAS and JSP ?

    Where do I get started with OAS and JSP ?
    Resources?
    Please point me in the right direction!
    Post and/or email me at [email protected]

    The simplest way is to read OAS4082 Documentation:
    Developer's Guide: JServlet and JSP Applications.

  • Getting started with ATG and Eclipse

    Hi,
    I am newbie in ATG web commerce. I am doing some R&D how to integrate ATG with eclipse JBoss and oracle. I searched on Google, there is one very interesting topic about getting started with atg, jboss, oracle :
    http://atgdeveloper.wordpress.com/2009/04/19/getting-started-with-atg-jboss-and-oracle
    It is very helpful to me but there is one problem what are the requirements of eclipse to integrate it with ATG. Is there any ATG plugin, which I can download all the plugin for eclipse and please can anyone help me if there is any ATG configuration documentation available, please share link or document(if there is complete step-by-step documentation available).
    I will greatly thankful to you. Very very thanks in advance.
    Thanks,
    Manveer
    Edited by: msingh on Nov 9, 2011 3:37 AM
    Edited by: msingh on Nov 9, 2011 3:38 AM

    Hi GarethR,
    I have a looked on ATGInstallationGuide.pdf, which url it shows is not working http://www.atg.com/eclipse. I think the url for ATG plugin has been changed now but I didn't found that url on google. Can you please help me to get correct url.
    When I try to use this url using eclipse update manager. It shows me no features available for this site.
    Thanks,
    Manveer

  • Getting started with Java and XML

    Hi,
    Although I am pretty familiar with Java, I am a total newbie with using it to parse XML. I have been reading quite a few tutorials so am getting a good understanding of it and am thinking of using the DOM model for my purposes.
    What I haven't been able to find, however, is how I can actually get started with this. I have tried compiling a few examples and have been getting errors such as:
    xmltest.java package javax.xml.parsers does not exist
    xmltest.java package org.w3c.dom does not existetc etc...
    It looks like these packages don't come with J2SE. Can anyone confirm this? Do I need to download and install the Java Web Services Developer Pack to solve this problem?
    Finally, I know I will need an XML parser but have read that JDK 1.4 has it's own parser (Crimson). Is this adequate for parsing XML files or will I also need a parser such as Xerces?
    Thanks so much for any help!

    Hi DrClap,
    Thanks for the reply. I have JDK 1.4.1_02 installed on my server but the following error keeps coming up when I try to run my example:
    Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/NodeAre there any further packages I need to download in order to run Java with XML? I have read some people install JAXP and XERCES... are these necessary for parsing an XML document or should J2SE 1.4.1 be sufficient?
    Thanks for your help!
    Jill

  • General questions on how to get started with Oracle OEPE and databases

    My company has a server in the cloud, written using Ruby on Rails. The server is designed to work with a browser, so it communicates via standard HTTP.
    The server has an SQL database.
    The server sends and receives HTTP requests from clients, which are then used to either update the database or retrieve information from the database.
    The database can be edited from a separate admin dashboard.
    I have recently rewritten our client software as a native android app. The new app makes calls to the server that look like browser calls. I have used Eclipse to develop the Android app.
    Sounds pretty standard so far, right? :-)
    I now want to replace the Ruby on Rails server with a new Java server that I will write. I want to use Eclipse to develop the new server. During development, I want to be able to have the new Android app communicate with the development server software that will reside on my desktop.
    So I was thinking that Oracle's tools might be perfect for me, if only I knew which tools to use. There are lot to choose from. :-)
    I believe that all I need is OEPE and a database. I would like to keep it pretty simple. I don't want to learn 20 new tools. It will be enough effort to become proficient in OEPE and a database.
    I looked at "Oracle Database Tools >> Connecting to an Oracle database" in the help files for OEPE 12.1.1. I tried going through the help files for Database connections, but I got to a "New Connection Profile" form that asks me for a SID, a user name, a password, etc. I don't have any of those. I tried to enter some data in the forms and ping the database, but I could not get any results from the ping. So my first question is: Do I have to sign up for an Oracle database in the cloud or is there a database contained within the OEPE software that I just installed. I will have to do the former anyway when I eventually deploy my new server software, so maybe the right thing to do is sign up for the "database in the cloud" service now, and use it during development.
    The other question I have is about getting a simple application client and server application sample. I found a "hello world" example at http://docs.oracle.com/cd/E13224_01/wlw/docs103/guide/webapplications/workshopJSP/tutorialJSP/TutorialJSPMakeJSP.html, but that is for WLS 10.3 and it doesn't seem to match the 12.1.1 software very well.
    So does anybody know where I can find a simple client and server sample program for WLS 12.1.1?
    If I can get these two questions answered, I can start making some progress.
    Thanks in advance to anybody who can help me navigate this minefield.
    Jim

    I wanted to add some information to my previous posting.
    1. The server I will develop will communicate ONLY with Android and iOS native apps, so the interface will not be HTML or XML. The information sent by the server to the client will be JSON. The information sent by the client to the server will be HTTP parameters, usually in the form of URL-encoded form data. This is not a browser-to-server server interface, so JSP is probably not appropriate for the server. The communication protocol will be HTTP.
    2. I don't need anything fancy on the server side. The server will simply be a Java program that emits JSON responses to the client and receives URL-encoded form data from the client. The server program will also make database queries and update the database.
    3. I don't understand how my native Android app will be able to communicate with my development server code running on my desktop. I want that communication to be over the internet, but my desktop does not have a static IP address, so I don't see how the app will be able to address the development server software on my desktop PC. I don't want to deploy the server software into the cloud every time I start a debug run, but I don't see any other way for my app to be able to address the server code over the Internet.
    If anybody has any ideas, I would appreciate hearing them.

  • Getting started with air and android

    Hi,
    I made a game using flash as3 technolgy some time ago, that is deployed in a website. I've been studying the possibility of porting the game to mobile devices (android). Is that possible? Wich level of effort am I going to need? Wich tools from adobe am I going to need?
    I think that's all for now... thanks!

    That's great! I also bought a book in amazon to help me to get started
    Thanks!!
    Sent from my iPhone
    El 09/04/2011, a les 23:20, Saumitra Bhave <[email protected]> va escriure:
    The development process remains almost same. In flash development you create swf and put it in HTML using object or embed tag. In Adobe AIR you create SWF and package it using the ADT tool which comes with AIR SDK.(But, With adobe AIR you get some more APIs which you don’t have in Flash)
    While packaging you can tell the adt to package for Android, iOS or any desktop. And provide the required parameters along with the SWF and application xml.
    Once you create the apk. You can install it on actual device or android simulator.
    For testing purposes you can generate a self signed certificate using java -keytool command.
    You can google any of the following things to get started.
    1. Android SDK, adb tool, creating Android emulator
    2. AIR adt - package command for android
    3. java -keytool help
    >

  • Getting started with Oracle 11g express edition

    I am currently in a college class doin SQL. I have downloaded oracle 11g express edition. I'm trying to get started and when I try to create a new connection it takes me to a screen where I have to sign in. When I use my oracle sign in and pass word it tells me it doesn't recognize it. No I know it works because I can sign in on the web site. But it won't connect me or allow me to make a new connection. I really don't understand what is going on. I can seriously use some help. Something that will take me step by step on what I need to do. I have to create a data base and I'm not sure how to do it.
    Thank You
    Carl Gavin

    Hello Carl,
    Something that will take me step by step on what I need to do.Sounds like what you are searching for is the [url http://docs.oracle.com/cd/E17781_01/admin.112/e18585/toc.htm]Getting Started Guide.
    If you need some advanced knowlege, there would be the "2 Day DBA Guide", which, among other topics, contains a section on [url http://docs.oracle.com/cd/E17781_01/server.112/e18804/connecting.htm#CEGIFAHF]Connecting to the Database. I think you'll find all necessary information (background and step by step description) you need.
    -Udo

  • Getting Started with Oracle Spatial

    I am not sure if this is the appropriate forum for this question but here goes:
    I have just started using Spatial, and am
    trying to setup a simple within-distance query, following closely the html documentation.
    I create a parks table:
    CREATE TABLE parks (GID VARCHAR2(32), shape MDSYS.SDO_GEOMETRY);
    and then the geometry metadata table:
    INSERT INTO sdo_geom_METADATA VALUES ('parks', 'shape', MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X', 0, 100, 0.005), MDSYS.SDO_DIM_ELEMENT('Y', 0, 100, 0.005)));
    I insert some entries into my PARKS table:
    INSERT INTO parks VALUES ('park1', MDSYS.SDO_GEOMETRY(1,NULL,MDSYS.SDO_POINT_TYPE(1,1,NULL),NULL, NULL));
    INSERT INTO parks VALUES ('park2', MDSYS.SDO_GEOMETRY(1,NULL,MDSYS.SDO_POINT_TYPE(1,3,NULL),NULL, NULL))
    and create a spatial index:
    create index parks_fixed on parks(shape) indextype is mdsys.spatial_index parameters('SDO_LEVEL=8');
    Finally, I do my within-distance query:
    select parks.GID from TARGET parks where mdsys.sdo_within_distance(parks.shape,
    MDSYS.SDO_GEOMETRY(1,NULL,MDSYS.SDO_POINT_TYPE(1,1,NULL),NULL, NULL),
    'distance=2')='true';
    to find points within 2 units of (1,1).
    Unfortunately, I get the error:
    ERROR at line 1:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-13207: incorrect use of the [SDO_WITHIN_DISTANCE] operator
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 73
    ORA-06512: at line 1
    So a few questions:
    1: What am I doing wrong?
    2: In 4.2.3 of the Oracle HTML documentation,
    the example query has SELECT A.Feature_ID
    FROM TARGET A . . . . . .
    What is TARGET?
    3: The documentation has many errors. Where can I find better documentation?
    Any help on any of these matters would be greatly appreciated!
    Sincerely Yours,
    Hirohisa

    I am not sure if this is the appropriate forum for this question but here goes:
    I have just started using Spatial, and am
    trying to setup a simple within-distance query, following closely the html documentation.
    I create a parks table:
    CREATE TABLE parks (GID VARCHAR2(32), shape MDSYS.SDO_GEOMETRY);
    and then the geometry metadata table:
    INSERT INTO sdo_geom_METADATA VALUES ('parks', 'shape', MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X', 0, 100, 0.005), MDSYS.SDO_DIM_ELEMENT('Y', 0, 100, 0.005)));
    I insert some entries into my PARKS table:
    INSERT INTO parks VALUES ('park1', MDSYS.SDO_GEOMETRY(1,NULL,MDSYS.SDO_POINT_TYPE(1,1,NULL),NULL, NULL));
    INSERT INTO parks VALUES ('park2', MDSYS.SDO_GEOMETRY(1,NULL,MDSYS.SDO_POINT_TYPE(1,3,NULL),NULL, NULL))
    and create a spatial index:
    create index parks_fixed on parks(shape) indextype is mdsys.spatial_index parameters('SDO_LEVEL=8');
    Finally, I do my within-distance query:
    select parks.GID from TARGET parks where mdsys.sdo_within_distance(parks.shape,
    MDSYS.SDO_GEOMETRY(1,NULL,MDSYS.SDO_POINT_TYPE(1,1,NULL),NULL, NULL),
    'distance=2')='true';
    to find points within 2 units of (1,1).
    Unfortunately, I get the error:
    ERROR at line 1:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-13207: incorrect use of the [SDO_WITHIN_DISTANCE] operator
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 73
    ORA-06512: at line 1
    So a few questions:
    1: What am I doing wrong?
    2: In 4.2.3 of the Oracle HTML documentation,
    the example query has SELECT A.Feature_ID
    FROM TARGET A . . . . . .
    What is TARGET?
    3: The documentation has many errors. Where can I find better documentation?
    Any help on any of these matters would be greatly appreciated!
    Sincerely Yours,
    Hirohisa

  • Getting started with DW and PhoneGap

    I've checked the videos and the FAQs, and I can't seem to find an answer to this simple(?) question:
    How do you initially create a PhoneGap app within DreamWeaver?
    The videos show things such as how to upload/build/install/etc such an app, but they all start with "here's the app that's ready to build".  They already have assets such as "phonegap.js" as part of the project.

    Try this tutorial:
    Create & package Mobile app with DW, jQuery Mobile & PhoneGap
    http://www.adobe.com/devnet/dreamweaver/articles/dw-phonegap-mobile-app.html
    Nancy O.

  • Getting started with CF10 and Dreamweaver

    I'm trying to get some HS students started on CF10 and Dreamweaver (used together).  Back in the day, Macromedia had an awesome little tutorial that showed how to get everything all set up and program a simple web app.  Can anyone point me to a similar tutorial for CF10 and Dreamweaver.  I've tried to get started but seem to get errors on every step (for example it won't let me use an Access database).  My preference is to use Dreamweaver to write a lot of the code (initially).
    Thanks for any help people can provide,
    Ben

    Here is your answer:
    http://blogs.coldfusion.com/post.cfm/coldfusion-10-64bit-and-msaccess

  • Getting Started with Flex and Java RPC for Free?

    Good Morning,
    Please forgive me if this is the wrong place to post- I'm
    just having trouble wrapping my head around what is and what isn't
    available for free in the Adobe Flex world.
    I've been working on an application for the last few months
    using Open Laszlo (
    http://www.openlaszlo.org/),
    but I've been running into frustrations with their lack of
    up-to-date documentation, and I've found it difficult to bring new
    people into the project, since the set of users who know it is so
    small.
    While I do like that I can compile to DHTML, that's not
    enough to hold me there.
    I've been looking into Adobe Flex, and it seems like a good
    alternative- I'm comfortable paying $500 for the IDE-
    I use Eclipse currently, so having a plugin for it sounds
    ideal. That said, when I look into ways to talk to a Java backend,
    everything points to Flex Data services, which is now part of some
    larger package costing tens of thousands of dollars.
    I don't need advanced messages, or data synchronization, as
    nice as it would be.. All I really need is the ability to call a
    Java method, and get an object back, which I can then work with in
    Flex.
    I see the forum message that asks
    "How
    do I 'do' Flash for free?, but this only talks about RPC very
    broadly. Given that the message is from over a year ago, I thought
    it would be better form to start a new topic, than replying to it.
    Can someone explain to me what components I'd need, both on
    the client side and the server side?
    Is there a set of manuals that explain how to do Flex RPC
    from Java?
    Can Flex compile to any versions of flash earlier than 9?
    (Flash 6/7 is still in wide deployment)
    Do I want to start using Flex 2, or Flex 3? Are the
    components compatible? Will the F3 docs be ready?
    Finally, where can I purchase the Charting components? The
    ability to create charts such as
    this
    overcome a decent price barrier.
    Thank you for any insight you can offer, and direction you
    can provide.

    quote:
    Originally posted by:
    cunparis2day
    On our project they made a proxy in java where they passed in
    the name of the method as a string, and an array of objects for the
    parameters. The proxy then sent the request via RMI and returned
    the result. Kind of a hack but they say it worked (I wasn't here
    when they did it).
    What did the RMI talk to? Are there docs on this?
    quote:
    Another approach, generate the proxy from the java
    interfaces. Or better yet, generate it dynamically with CGLIB.
    quote:
    Finally, I'm investigating using Mule for the integration.
    Let me know what you think about those suggestions.
    We have our own messages, but how would MULE translate them
    to Flex?
    You know quite a bit more about this, can you take a step
    back, and explain?

  • Getting started with JDev and 11i

    Good morning everyone. I currently have access to an 11.5.10.2 Apps instance running on ATG RUP6. I am looking to start some BPEL development and have a couple questions regarding the development and server tools necessary for this.
    1. I don't have the Metalink note(s) handy, but what I've read says that for 11i development with JDeveloper, you need certain versions of JDev available from Metalink as a patch. If I recall, they are all various patched versions of JDev 9i. Is it not possible to use the latest 10g version? From what I have seen, there are many many improvements from 9i to 10g, and I would really like to use the best tool available!
    2. Several blog entries and Oracle white papers discuss creating BPEL processes that will work with EBS. For example, this one here: http://www.oracle.com/technology/obe/fusion_middleware/fusion/soa/bpel_ebuz/bpel_ebusiness.htm
    In the few that I have gone over, they all say to download and install JDev, 11i (11.5.10+), and the SOA suite. I do not understand the part about having to install the SOA suite -- why is that necessary? Does 11.5.10 not have the necessary components to start doing BPEL development? This is not such a big deal for someone with a personal computer doing practice development, but at a company, we are talking about having to install and maintain a rather significant component. Is there anyone here who is actively developing BPEL processes for a production environment that can share some details regarding this?
    Thanks for all of your input!
    ryan

    I found the note to my first question: 416708.1. It says that specific versions of JDev are required depending on your ATG tech stack version. For 11i, they are all 9i versions. Specifically, it says "When you create extensions to eBusiness OA Framework pages, you must use the version of JDeveloper shipped by the eBusiness product team.". To amend my question, would this mean that I could use JDev 10g for BPEL development in 11i and stick to the particular JDev 9i only when modifying OAF web pages in 11i? Again, I would like to use the latest dev tools where possible.
    Thanks again.

Maybe you are looking for

  • I stumped a Genius Bar guy on two iPhone points

    I recently went to the Soho Apple store and went over all my issues that I have with my iPhone. Most of them I have seen discussed over and over since the release (see my long list below). However here are two issues I have not seen discussed that ar

  • How can I get connection between VC and back end ABAP system

    Hi, I'm developing the kits in the VC platform, and I need to access the back end system designed by ABAP. For example, the system provides some public functions(not web services), and I hope when I click the "search" button, the VC front can call th

  • Warp on Linked Image

    I'm finding it very frustrating that I cant apply a simple warp to a linked image. Why can we apply Perspective Warp, and Puppet Warp as a smart filter but not a standard Warp. this does not make sense to me. am I missing something fundamental? I act

  • IPOD Video wont finish booting

    My one day old ipod wont complete the the boot sequence and just keeps trying to boot over and over. I fear it will die from exhaustion soon. I am very angry with Apple.

  • Backflushing problem in Production order

    Hi,   In my scenario we use valuation type for the components which we consume in the production order.There is one BATCH field in the component list for a production order. There i can give my valuation type of material which i want to consume for t