New in Oracle and Java

I used Sql Server and .Net for developing application to now. I switch to Oracle and Java recently. I have installed Oracle 11g. What I need to start developing aoolication with Java and Oracle?
Has Oracle a graphical interface like MS Sql Server? how can I install them? What Developing Environment You suggest for Java? I am familiar with eclipse.

user987274 wrote:
I used Sql Server and .Net for developing application to now. Which means 1 year or 5?
I switch to Oracle and Java recently. I have installed Oracle 11g. What I need to start developing aoolication with Java and Oracle? Starting basics.
1. Learn basics of java
2. Learn basics of Oracle
3. Learn JDBC which allows you to code in java and talk to Oracle.
Do not attempt step 3 until you have complete 1 and 2.
Has Oracle a graphical interface like MS Sql Server? That would be a Oracle question rather than a java question. There are other forums on this site specific to Oracle.
Myself I just use sqlplus.
how can I install them? Huh? Just like you install anything else.
1. Acquire appropriate software
2. Read documentation
3. Install
4. Look for post install options that might be relevant.
What Developing Environment You suggest for Java? I am familiar with eclipse.I presume that you mean that you know eclipse exists for java rather than that you have used it before.
Since you are probably used to using Visual Studio, then you probably want an IDE. Eclipse will suffice for that.

Similar Messages

  • Need Expert Advice regarding oracle and java objects

    In our project, we are submitting data for many screens at a time. Some screens will have a list of records to be submitted. There is also some hierarchy among the data up to 4 levels.
    In such a scenario, we need to know the best way to exchange data between Oracle and Java. Currently java holds the data as objects, where each object may contain an array of next level of objects in it.
    Is it best approach to pass the entire data with hierarchy to Oracle using nested table approach and internally oracle handling the data? Is there any other way to do this?
    Also in some scenarios we need to pass the entire information for all the screens in one shot with the hierarchy. So we need to know a solution for that also. Could you please help us in this regard?

    See Oracle JPublisher technique to map Oracle object types to Java ones:
    http://download-west.oracle.com/docs/cd/B10501_01/java.920/a96658/toc.htm
    Rgds

  • Link between oracle and java

    Please, can you explain me the link between oracle and java.

    The link b/w oracle and java is through
    driver.
    Driver name :JDBC

  • My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!

    My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!

    Hi,
    You could use FND_FLEX_LOADER_APIS.UP_VALUE_SET_VALUE to upload them from staging table (I suppose you mean value set values...).
    You can find a sample scripts if you google around.
    What do you mean "how to map any API to our staging table" ?
    You should do at least the following mapping (which column(s) in the staging table will provide these information):
    - the 3 value sets name which you're going to update/upload (I suppose these are existing value sets or which have been already created)
    - the value set values and  description
    Try to start with something and if there is any issues the community could then help... but for the time being with the description of the problem you have provided, that's the best I can do...

  • NEW TO XML AND JAVA

    hi, I'm new to xml, actually I'm taking a course in xml and I should choose a certain project related to xml.
    I want to ask about xml and java
    the things that I know about java is some classes ( I made a program of bouncing ball in java and changed some java game programs). but I need to know how to use java in databases and how to relate it to xml
    Is it too dificult or I can learn it knowing that I'm ready to learn and already I'm learning xml.
    If anyone wants to help me please send me links to some websites where it is simple to learn java .
    Also if any one can give me an example of a certain project that can be done easily using java and xml u'll be more than welcome

    Check the JAVA XML Tutorials provided by the Java Site.

  • Oracle and Java

    Hi!
    How can I write a query in Java to retrieve data from Oracle database, if I want to put some parameters from my Java application in that query?
    For example:
    String username = userName.getText().toString();
    String pass = password.getText().toString();
    String command = "SELECT UserName, Password FROM Users WHERE UserName='username' and Password = 'password'";
    So how do I put strings username and password into this query?
    In c# and I do it like this:
    SqlCommand cmd = new SqlCommand("SELECT * from korisnici where korisnicko_ime = @korisnicko_ime2 and lozinka = @lozinka2", con);
    cmd.Parameters.AddWithValue("korisnicko_ime2", kor_ime.Text);
    cmd.Parameters.AddWithValue("lozinka2", lozinka.Text);
    dr = cmd.ExecuteReader();
    Where can I find some materials to learn more about this?

    Welcome to the SQL and PL/SQL Forum.
    I guess you're better off in the Forums under
    https://forums.oracle.com/forums/category.jspa?categoryID=500
    https://forums.oracle.com/forums/category.jspa?categoryID=285
    and/or see the Java Developer's Guide: http://docs.oracle.com/cd/E11882_01/appdev.112/e12137/toc.htm
    Edited by: Hoek on Apr 28, 2013 1:27 PM

  • Problem with new-line-character and java.io.LineNumberReader under AIX

    Hi folks,
    I got the following problem: I wrote a little parser that reads in a plain-text, tabulator-separated, line-formatted logfile (and later on safes the data to a 2-dimensional Vector). This logfile was originally generated by an AIX ksh script, however, I copied it on my Windows machine to work with it (for I'm using a Java editor that runs under Win Systems).
    For any reason, Windows, and what is worse Java too, seems not to recognize correctly the new-line character (in the API it is written that this should be a newline '\n' or a carriage-return '\r' or one followed by the other) that marks the end of a line in the logfile.
    Also, when I'm opening the logfile with the "Notepad"-editor, this special character does not seem to be recognized, every line is inserted right after the other.
    On the other side, when I open the logfile with the built-in editor in the CMD-Shell ("Dos-shell"), the newline chars seem to be recognized correctly.
    But when start my parser on the AIX-machine the newline does not seem to be recognized correctly again.
    I tried to read in the logfile with MS-Excel and safe it as a plain-text, tabulator-separated, line-formatted logfile again, with such files my parser works fine both on the AIX as it does on Windows.
    Any ideas? Anybody got over the same problem already?
    Greetz FK

    Under windows, text files' lines are usually delimited by \r\n,
    under Unix/Linux/AIX etc. \n
    and under Mac \r.
    I recommend to use the following editors, which are capable to handle files with Unix and Windows-styled line-delimiters or convert between these types:
    Programmer's File Editor (PFE; available on Windows)
    The Nirvana Editor (http://www.nedit.org/; available on Unix, MAcOS, Windows)
    (BTW good old vim can handle that too. Transferring text files to windows in order to edit them, even using Excel for this purpose means your being a UNIX newbie, (I mean no offense by writing this) so vim is probably beyond your reach for the moment.)
    Java normally assumes the platform's line delimiters where it is running, so if you transferred the file from Unix to Windows might be distrurbing.

  • Please help, probleme de connection to database oracle and  java

    Ihave a problem to make connection to database Oracle when I use a simple code of java
    ======================
    import java.sql.*;
    public class Exemple1 {
    public static void main (String args[]) {
    Statement stmt = null;
    Connection con=null;
    try {
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:GB","scott","tiger");
    catch (Exception e) { System.out.println(e);        }
    =================
    I have :
    * Linux (Fedora core3).
    * Oracle 10g
    My var. environ.:
    * ORACLE_HOME=/u01/app/oracle/product/10.1.0/Db_1
    * PATH=$ORACLE_HOME/bin
    * CLASSPATH=$ORACLE_HOME/jdbc/lib/ojdbc14.jar
    the error is:
    Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: oracle.sql.CharacterSet
    at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
    at JvResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
    at oracle.jdbc.driver.DBConversion.DBConversion(short, short, short) (Unknown Source)
    at oracle.jdbc.driver.T4CConnection.connect(java.lang.String, java.util.Properties) (Unknown Source)
    at oracle.jdbc.driver.T4CConnection.logon() (Unknown Source)
    I don't know what's heppen exactly?

    If
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    is replaced
    with
    Class.forName("oracle.jdbc.driver.OracleDriver");does the java.lang.NoClassDefFoundError: while resolving class: oracle.sql.CharacterSet get generated?

  • Interesting Error message using ORACLE and java

    Hi Everyone.
    i'm using Java beans, JSP, Oracle db.
    I'm using classes that work on other projects.
    has anyone seen this error before ?
    Error Message: Fail to convert to internal representation
    Stack Trace: java.sql.SQLException: Fail to convert to internal representation
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:273)
         at oracle.jdbc.driver.OracleStatement.getLongValue(OracleStatement.java:3194)
         at oracle.jdbc.driver.OracleStatement.getIntValue(OracleStatement.java:3141)
         at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:329)
         at oracle.jdbc.driver.OracleResultSet.getInt(OracleResultSet.java:1420)
         at weblogic.jdbcbase.pool.ResultSet.getInt(ResultSet.java:290)
         at justice_center.database.JuvenileNetworkBean2.getVecLogIn(JuvenileNetworkBean2.java:273)
         at jsp_servlet._justice_center._juvenile._juv_login._jspService(_juv_login.java:110)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
         at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:907)
         at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
         at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
         at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
         at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    what do you think error is when you look at this trace?
    stephen

    woops never mind
    this s[6] = Integer.toString(rs.getInt("fieldname"));
    should have been this
    this s[6] = rs.getString("fieldname");
    stephen

  • Java Mail and Java Activator

    I have problems to deploy the API's Java Mail and Java Activator
    into Oracle 8.1.5 on a NT4 server.
    When deploying the classes in the API's that has names beginning
    with "com/sun/java..." everything works fine, but when trying to
    deploy the classes starting with "javax..." I get error:
    "ORA-01031 Unsufficient privileges."
    The error occurs during the creation of the classes.
    Does someone know why?
    I have tried to unjar the jar-files, and rejar them again with
    no compression, but this does not help.
    /Lars-Eric
    null

    Hi Mark
    I wish to send email messages from stored procedure. I looked at
    the "Java Stored Procedures Developer's Guide" but I am still
    confused. I wrote a Java program (importing "javax.mail" package)
    and then I called "loadjava": it did not work
    I read this reply, but I do not understand exactly what you mean.
    I am quite new to Oracle, and there are "tons" of things which I
    do not understand.
    Would you please explain me what I have to do to send email from
    a stored procedure?
    Thanks in advance, Carlo
    email: [email protected]
    PS: Sorry for my bad English
    mark tomlinson (guest) wrote:
    : In addition to loading JavaMail as sys in the database. You
    also
    : need to load the "invocation framework" that JavaMail depends
    on
    : (there is a link on the Javasoft JavaMail site to download the
    : code).
    : When you load java code as SYS you can pass the -s and -g
    public
    : options to loadjava to make sure that public synonyms are
    created
    : and that the loaded classes are runnable by all schemas:
    null

  • Help!! wms and java api

    hi!, i`m newie on oracle, and i`m using mapviewer with java api but i have problems with the addWMSMapTheme function:
    Object vsp = new Object[]{new String[]{"DATASOURCE", "example"}, new String[]{"antialiasing", "true"}};
    mv.addWMSMapTheme("wmstheme","http://onearth.jpl.nasa.gov/wms.cgi?","false","1.1.1","BMNG","default","EPSG:4326","image/jpeg","false","0xFFFFFF","application/vnd.ogc.se_inimage", vsp);
    it return a exception (that the object vsp is not define).
    does i have to use the xml request?? how can do it??

    Hi,
    you can use the API which will generate and send the map request to MapViewer. Your vsp parameter looks strange. The following is a sample code that use the MVDEMO data set, just to give you an idea of the definition for vsp parameter.
        mapViewer.setImageFormat(MapViewer.FORMAT_PNG_URL);
        mapViewer.setDataSourceName("mvdemo");
        mapViewer.setCenterAndSize(-70.,44.,20.);
        mapViewer.setMapTitle("WMS");
        mapViewer.deleteAllThemes();
         Object []vsp = new Object[]{new String[]{"DATASOURCE", "mvdemo"}  };
         mapViewer.addWMSMapTheme("wms_theme", "http://localhost:7001/mapviewer/wms",
                                  new String[] {"THEME_DEMO_STATES"}, new String[] { "asdf"},
                                  "SDO:8265", "image/png","0xffffff", vsp);             
         System.out.println("Current request: " + mapViewer.getMapRequestString());    
         boolean response = mapViewer.run();
         if (response)
              double[] mbr = mapViewer.getMapMBR();
              System.out.println("mbr="+mbr[0]+","+mbr[1]+" "+mbr[2]+","+mbr[3]);
              System.out.println("URL: " + mapViewer.getGeneratedMapImageURL());
          }For you case, make sure the WMS server at http://onearth.jpl.nasa.gov/wms.cgi? is running and accepting requests. I tried a GetCapabilities request to this server, and got an exception message that the system was overloaded and not processing requests.
    Joao

  • Collaboration and Java

    I'm new to Oracle and OTN, so I'm not familiar with the environment. I've been trying to watch recorded seminars on subjects like the use of BLAST for Life Sciences, with very little luck.
    I get all sorts of failures, hangs, and Java exceptions.
    I had to register with Collaboration to be able to watch these seminars, but am not even sure whether this has anything to do with the Collaboration suite. There is just a brief note in the Help file for the meeting services logon listing one problem - what to do if you are disconnected -just reconnect again! Wow! This must be the smallest help system in the entire history of the computer industry! (Please pardon my sarcasm!)
    BTW, I'm using the latest J2SE 1.4.2-03 and MS Internet Explorer.
    Maybe my experience is not normal, but the few times I've ever tried to use Java under MS Windows, not just this time, it seems that there are all sorts of problems, making me wonder why it appears to be so popular for certain tasks, such as writing data mining algorithms.
    Thanks,
    Alan J. Robinson

    I think the best will be to do a Homogenous System Copy to your new box and then run the upgrade.
    You'll find the HSC and upgrade guide in SAP Marketplace
    http://service.sap.com/systemcopy
    http://service.sap.com/upgrade
    Regards
    Juan
    PS: Are you John Beard or Tracey Smith

  • Please help me. I'm new to Oracle.

    Hello all
    I'm Sean and new to Oracle and wana purse learning Oracle Forms&Reports but to start I need to also learn Oracle DataBase as well.
    Please I know you're all busy but HELP me to fix this problem and start learning Oracle.
    I've installed oracle DB 10G. XE. without any problem and have been using it everyday BUT I just installed Oracle SQL Dev v. 1.2.1.... and can't creat a new connection. (it's all installed in my compaq laptop using Win XP SP 3).
    I've been reading all the comments in forums but I'm still stuck. PLEASE SOME ONE HELP ME.
    Learning from all you guys comment I looked at my Listener.ora and it looks like this:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = Shawn_COMPAQ)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    and my sqlnet.ora looks like this:
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    The tnsnames.ora looks like this:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SHAWN_COMPAQ)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    from looks of it comparing to what I have seen in ppl's comments and copy&past of files in forums, my 3 files all looks weird and I guess it missing lot of things.
    when I try to create a new connection to see built-in schema (HR) all though it's unlocked but sql dev can't establishes a connection.
    In New \ Select database connection window for following fields iI put:
    Hostname = localhost:1521:orcl (I 've tried just putting localhost)
    Port = 1521
    SID = orcl
    In my browser when I am in home page of DB 10g XE the URL reads: http://127.0.0.1:8080/apex/f?p=4500:1000:4313426409493576
    When i put hostname = localhost (or either 127.0.0.1) and port = 1521 and SID = orcl, I'm getting error :
    status: failure-listener refused the connection with following error - ORA-12505, TNS: listener doesn't currently know of SID given in connect descriptor The connection descriptor used by client was: localhost:1521:orcl .
    When I just change the Port to 8080 I get the error:
    Status: failure-Io Exception: Got minus one from a read call.
    By default DB 10g XE installed in: C:\oraclexe\app\oracle\product\10.2.0\.............
    and all the mentioned files (3 files mentioned above) are in: C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN
    Please I know you're all busy but HELP me to fix this problem.
    God bless you.
    tnx
    Sean

    Thanks a lot.
    Yes. It works well now.
    In it's documentation it says put orcl for SID but never thought to try default xe.
    You're the man.
    tnx

  • Hi, i am new to oracle, SQL DEVELOPER:- ERROR:- ORA-01918

    Hi,
    I am new to oracle, and i have installed Oracle database 12c enterprise edition, and oracle jdeveloper 12c for adf web application development,
    I created a database and a new connection in it using sql developer, however while trying to create new user with the name db1 by right clicking on other users. by following the instructions in oracle documentation site. i get the error that new user db1 doesnt exist, and gives error:- ORA-01981. i even tried by changing the username as i thought may be it doesnt support alphanumeric name, but still i get the same error.
    So please tell me how to create a new user. is there any way to get out of this ora:-01918, as i googled and it says this is a bug.
    My os is win 7 x64(amd processor ).
    Thank you
    Baldwin

    A new user (called a schema in Oracle) is created using the CREATE USER SQL command. You need to be signed in as the SYS schema/user or as a schema that has been granted the rights to create schemas.
    12c database comes in two basic flavours. Container database (containing pluggable databases). Standard database. If connected to a container database, you cannot create standard user schemas - you need to be connected to a pluggable database.
    Also, your question has no relevance to either the SQL or PL/SQL languages - the subject matter of this forum. Please repost your question to a more appropriate forum dealing with SQL-Developer issues.

  • Oracle or Java Job please guide.

    Hi friends,
    I have knowledge of both Oracle8 and Java. I live in India. I want a good job.
    I have started a group on Oracle and Java discussion. one can join that by :
    [EMAIL][email protected][EMAIL] .
    I would like to know which is better for career Java or Oracle8.
    Thanks for guidance.
    Sanjay Sharma
    [EMAIL][email protected][EMAIL]

    any sax parsers?What version of Java are you using? With Java 1.4 the XML parser is included in the SDK / JRE.
    If you're using an older version of Java, go to http://xml.apache.org and get the Xerces parser.

Maybe you are looking for

  • Is it possible to set a hand cursor on an image in the JTableHeader?

    I want to change the mouse cursor to a hand when the user rolls over a sort button image that is contained within the table header. I have customized (quite heavily) the JTableHeader so that I can activate a filter popup and a sort action by clicking

  • Can't Create Todos

    I can no longer create To Dos in iCal. When I try to create a To Do, nothing happens. If I click File > New To Do, nothing happens. If I push ⌘K, nothing happens. If I drag an event into the To Dos panel, nothing happens. I've searched all over for a

  • Airplay on ipod touch 2g

    I own an airport express and currently use it to stream from my laptop to my receiver. My understanding is that airplay will allow ipods to stream to airport express http://discussions.apple.com/message.jspa?messageID=12282499 So my question is, will

  • Printing problems using a macbook pro and an hp photosmart 309g printer

    I am using a macbook pro with lion 10.7.4.  I have been printing on a wireless hp photosmart 309g printer and all of a sudden, on 90% or more of what I try and print, every once in a while a line wil print but the rest is faded or you might say smear

  • ORA-30036 when modifying column in large table

    Oracle version 10.2.0.4 Afternoon everyone! I have a large table that I need to modify a column in - increasing from CHAR(3) to CHAR(6) On altering the table I'm getting an ORA-30036: unable to extend segment but 8 in undo tablespace Increasing undo