Java and database

I want to develop an application software using java however i dont know which data base systems / software to use apart from mysql, and access. Is sql just a language or is it also a database software
please help

OK, that enough, but just to set the record straight. You said "SQL is a software too", no it is not. SQL is a language.
http://en.wikipedia.org/wiki/SQL
SQL (IPA: /ˌɛsˌkju??ˈɛl/ or /ˈsi??kwəl/), commonly expanded as Structured Query Language, is a computer language designed for the retrieval and management of data in relational database management systems, database schema creation and modification, and database object access control management
Some companies, such as Microsoft (not "windows"), make products, such as SQL server, with "SQL" in the title. But SQL Server is:
Microsoft SQL Server 2005 is a comprehensive, integrated data management and analysis software
http://www.microsoft.com/sql/prodinfo/overview/default.mspx

Similar Messages

  • Help needed to converstae xml with java and database

    I want to make use of xml to read soem data from database and then use that material in java to display or manipulate that data and again feed back it into database through xml.

    why using XML? how about JDBC?

  • Xml, xsl, java and database

    I have several xml documents that uses different tags to describe the same type of information. In my case they describe a row in a database table.
    file1.xml
    <therow>
    <name>Jones</name>
    <title>manager</title>
    </therow>
    file2.xml
    <arow>
    <employee>King</employee>
    <job>manager</job>
    </arow>
    I want to use a technology for reading the content of the two files and generate a new document for each file that will use generic tags so the content of the new files could look like:
    file1
    <row>
    <employeename>Jones</employeename>
    <employeetitle>manager</employeetitle>
    </row>
    file2
    <row>
    <employeename>King</employeename>
    <emplyeetitle>manager</employeetitle>
    </row>
    An then I can read this information by using a generic Java class and insert it into the database table..
    I was told that the technology used for doing this was XSLT. I have been searching the web for examples and also tried to read some of the content in the Steve Muench book 'Building Oracle XML Applications'.
    I have managed to create XSL files, but I would really appreciate if someone could show me a real example of how to do this, with the xml file, the xsl file, and a small java program to read this. Can anyone help?

    Post your XSL files, otherwise we'd have to write them again.

  • 3 tiers model with Java and Oracle.

    Hi everybody. I have a problem with my work. I want to design a simple program follow 3 tiers model with Java and database is Oracle. But I do not know how I can design them. Please help me. It will better if you give some source code for each layer.
    Thanks in advance.
    Ky Thanh.

    I'd suggest searching the net for tutorials. Pick out the things you don't know about and need to know (SQL? JDBC? Java? software design in general?) and google: tier architecture, sql tutorial, etc. Sun's Java & JDBC tutorials are at http://java.sun.com/learning/tutorial/index.html
    Source for each tier? Read the JDBC tutorial and you can write the database tier source yourself. Learn Swing/Servlets/whatever you use for the user interface and you can write the top tier. The middle tier is your business logic, which is dependent on your area of business, and you'll need to know about the business and just general programming. Then if the tiers need to be distributed (hopefully not), you'll need to learn EJB or something.
    I hope you haven't been given a task there you aren't ready to take on... Learning to swim by jumping into the river is a great way to learn in a school assignment, but you mention work, and learning that way at work sounds a bit risky to me.

  • Programming the Oracle Database with Java and Web Services: sample chapter

    This will be the first book devoted to Java in the Oracle Database: read the sample chapter @ http://www.oracle.com/technology/books/pdfs/mensah_ch1.pdf
    This book also covers the latest Oracle JDBC, Oracle SQLJ, JPublisher and Database Web Services A brief description @
    http://www.elsevier.com/wps/find/bookdescription.cws_home/706089/description#description
    Thanks, Kuassi

    Hi Kuassi,
    Thanks for letting us know that your book is available. I have been following one of your articles about "Virtualize Your Oracle Database with Web Services". More specifically "The Database as Web Services Consumer". I think that this is an area that has in the past been under estimated as to the potential benefits.
    I am currently trying to develop a solution that consumes several interfaces with a couple of them being published web services, so an ideal solution. I have then spent the last three weeks having to read up about the architecture of Java in the database, Jpublisher and make sense of how it all works together.
    I have got very close to getting one of the web services to work but failed due to using 10gR2 where all the java & libraries has moved to version 1.5. The solution is to load the jdk1.4.2 and configure jpublisher to use this. So far so good except this is not available on some platforms, Windows - 64 bit (not itanium).
    The configuration is proving very challenging but will hopefully reap rewards.
    (Thought I would give you some background to my experience).
    Anyway my question to you is having looked at Jdeveloper it appears to do almost anything except consume services into the database, also with Java now being at version 1.5 outside the database for 10gR2 and supporting 1.4 inside, do you see some alignment of these in future database releases?
    Finally off to buy your book now as no doubt there is a huge amount more to learn.
    Kind Regards
    David O'Donnell

  • Can i add a servlet in oracle database for webservices without java and how?

    HI
    can i add a servlet in oracle database for webservices without java and how?
    Please help
    Thanks

    Dear Frank,
    I have done as follows
    created a form with a button, and in my button pressed event I wrote
    WEB.SHOW_DOCUMENT('javascript:openMyURL("http://192.168.1.34/HELP/ADMF0005.html");', '_Self');
    and in my formsweb.cfg I have the following
    HTMLbeforeForm=<script> function OpenMyURL(page){window.open(page,"myURL","width=700,width=400,top=0,left=0,toolbar=no,menubar=no"); } </script>
    When I click on the button it is coming with toolbar , etc as well as no page found is coming with the following in the address bar.
    javascript:openMyURL("http://192.168.1.34/HELP/ADMF0005.html");
    My html view source comes as below for the form
    <HEAD><TITLE>Oracle9iAS Forms Services</TITLE></HEAD>
    <BODY >
    <script> function OpenMyURL(page){window.open(page,"myURL","width=700,width=400,top=0,left=0,toolbar=no,menubar=no"); } </script>
    <!-- Forms applet definition (start) -->
    <OBJECT classid="clsid:CAFECAFE-0013-0001-0009-ABCDEFABCDEF"
    codebase="/forms90/jinitiator/jinit.exe#Version=1,3,1,9"
    WIDTH="1000"
    HEIGHT="660"
    HSPACE="0"
    VSPACE="0">
    <PARAM NAME="TYPE" VALUE="application/x-jinit-applet;version=1.3.1.9">
    <PARAM NAME="CODEBASE" VALUE="/forms90/java">
    <PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
    I am using Forms [32 Bit] Version 9.0.2.7.0

  • Transactions and database locks

    Hi,
                   We use Weblogic 4.5.1 on Windows NT 4.0 with Oracle 8.0.5. Our database
              isolation is set to TRANSACTION_READ_COMMITTED. I have an entity bean with
              TX_REQUIRED & TRANSACTION_READ_COMMITTED settings. If my client creates a
              transaction, and starts calling methods on this entity bean, is the
              corresponding database row locked for the duration of the transaction? We
              have concurrent SQl-plus sessions going on and we want make sure there is
              no data corruption. If the row is not locked, is it ok for me to explicitly
              lock it from inside my entity bean?
              Thanks,
              Srini.
              

    Hi. This should have been posted to the EJB or JDBC group, but I'll take it.
              This is an Oracle question. If you have a transaction as you've described,
              then the behavior will be exactly as if you had multiple SQL-PLUS sessions,
              and in one of them, you did:
              SQL> BEGIN;
              -- do what your bean would do;
              SQL> COMMIT;
              You can test this there. In general, you'll find that Oracle's optimistic locking
              will allow any number of simutaneous transactions to access a given row
              at one time. Oracle does not lock the real data while a transaction is ongoing,
              instead making a copy for the client to work off of. At commit time, depending
              on the isolation level semantics, some or all of the transactions may fail when
              Oracle tries to update the real data from the per-session private data.
              I would council against running with SERIALIZABLE mode because there
              is a serious bug in Oracle, where serializable transactions may fail silently.
              Details on request.
              Joe
              Srini wrote:
              > Hi,
              > We use Weblogic 4.5.1 on Windows NT 4.0 with Oracle 8.0.5. Our database
              > isolation is set to TRANSACTION_READ_COMMITTED. I have an entity bean with
              > TX_REQUIRED & TRANSACTION_READ_COMMITTED settings. If my client creates a
              > transaction, and starts calling methods on this entity bean, is the
              > corresponding database row locked for the duration of the transaction? We
              > have concurrent SQl-plus sessions going on and we want make sure there is
              > no data corruption. If the row is not locked, is it ok for me to explicitly
              > lock it from inside my entity bean?
              >
              > Thanks,
              > Srini.
              PS: Folks: BEA WebLogic is in S.F., and now has some entry-level positions for
              people who want to work with Java and E-Commerce infrastructure products. Send
              resumes to [email protected]
              The Weblogic Application Server from BEA
              JavaWorld Editor's Choice Award: Best Web Application Server
              Java Developer's Journal Editor's Choice Award: Best Web Application Server
              Crossroads A-List Award: Rapid Application Development Tools for Java
              Intelligent Enterprise RealWare: Best Application Using a Component Architecture
              http://weblogic.beasys.com/press/awards/index.htm
              

  • ERROR: Exception occured while encrypting the configuration and database

    I'm facing below issue/error during the OIM 11g R2 configuration (fresh install).  Resolutions from other blog with same error (DOMAIN_HOME misconfigured) isn't helping in my case.
    Thanks for your help
    updateMLSLocale:ORACLE_HOME :/fmw/Oracle_IDM1
    updateMLSLocale:LOCALE_PROPERTIES_FILE :/fmw/Oracle_IDM1/inventory/Scripts/ext/jlib/oim/OIMLocales.properties
    java.lang.Exception: Exception occured while encrypting the configuration and database
      at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:239)
      at oracle.as.install.oim.config.OIMConfigManager.encryptDB(OIMConfigManager.java:1035)
      at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:891)
      at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:583)
      at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371)
      at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
      at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
      at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
      at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64)
      at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160)
      at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
      at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
      at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.Exception: Exception occured while encrypting the database
      at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:159)
      at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:230)
      ... 12 more
    Caused by: java.lang.Exception: Exception occured in updateMLSLocale method while updating Locale to OIM DB
      at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:318)
      at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:125)
      ... 13 more
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_OIM.UK_MLS_LOCALE_MLS_LOCALE_CODE) violated
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
      at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
      at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
      at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1512)
      at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:310)
      ... 14 more

    Hi
    I faced this issue before ,Reinstall is the option you have .Verify the version of RCU before you start creating schema .Set all Pre DB setting ,hostname and IP Address ,If DB and OIM  are in ifferent machines check pinging from both the sides .
    Please Drop all OLD schema ,Create a New "Prefix" for fresh installation , don't use old schema .
    Let me know .
    Thanks,
    Ari

  • Simple java/mysql database application question about triggers

    I am planning a new database application using java and mysql. I may want to use some triggers to automatically update the tables when a change is made. my question is this: If I write the trigger, and I use Java to modify the database, will java automatically pause and let the trigger finish doing its task before it continues? what if it writes more to the table before the trigger is finished modifying the table? how do I get java to pause and let the trigger finish?
    thanks for your response

    lduren wrote:
    I am planning a new database application using java and mysql. I may want to use some triggers to automatically update the tables when a change is made. my question is this: If I write the trigger, and I use Java to modify the database, will java automatically pause and let the trigger finish doing its task before it continues? what if it writes more to the table before the trigger is finished modifying the table? how do I get java to pause and let the trigger finish?
    It doesn't have anything to do with java at that point.
    When you execute, for example, an insert statement, then the database executes that statement. The database (not java, not the driver) decides with that statement is complete. Control returns to java when the database decides that execution is complete.
    And except for tricks that one might do (or attempt to do) via SQL or triggers then when the statement execution finishes then everthing has completed running.

  • Java and MS-Access: Login Authentication trough SQL

    Hi all,
    I am currently new to the world of java and would like to ask something for a school project.
    We have an MS-Access database setup which we want to use as an login-database.
    We can select from the tables in the database using a standard SQL query, and print out the output, but we do not know how to combine the java-string "UserID" and "Corrpass" field to compare them with the database to check if the entered login is correct.
    I know this question is a little bit on the SQL side, but could you please help me? The code for printing out Usernames was founfdon the bottom of this webpage:
    http://www.ster.be/java/java6.html
    Our Microsoft Access Database Layout:
    MS-Access Database
    Table: Users
    | UserID -AutoNumber : UserID (Login code)
    | Corrpass -text :The Correct Password for the above UserID
    | UserVoornaam -text : First name
    | UserAchternaam -text : Surname
    All help/welcome/advise/flaming posts are welcome.

    Hi all,
    I am currently new to the world of java and would like to ask something for a school project.
    We have an MS-Access database setup which we want to use as an login-database.
    We can select from the tables in the database using a standard SQL query, and print out the output, but we do not know how to combine the java-string "UserID" and "Corrpass" field to compare them with the database to check if the entered login is correct.
    I know this question is a little bit on the SQL side, but could you please help me? The code for printing out Usernames was founfdon the bottom of this webpage:
    http://www.ster.be/java/java6.html
    Our Microsoft Access Database Layout:
    MS-Access Database
    Table: Users
    | UserID -AutoNumber : UserID (Login code)
    | Corrpass -text :The Correct Password for the above UserID
    | UserVoornaam -text : First name
    | UserAchternaam -text : Surname
    All help/welcome/advise/flaming posts are welcome.

  • Java dictionary database table in web dynpro application

    Hi,
    I want to access java dictionary database table in my web dynpro application in java.
    Right now I have created one java dictionary DC.
    and in that Dc i have created two database table .
    Now I want to use this table in my web dynpro application.
    Can anyone help me.

    You can use the Dictionary Projects to create tables in Database. You must use codes to access these database tables that is created using Dictionary projects.
    You have to use the DataSource in order to get connection ; Use Visual Administrator to see the data source name.
    You can use the following code to access the database table.
    ResultSet result = null;
    try
         InitialContext initialcontext = new InitialContext();
         DataSource datasource = (DataSource)initialcontext.lookup("jdbc/<DataSourceName>");
            Connection connection = datasource.getConnection();
         Statement statement = connection.createStatement();
         result = statement.executeQuery( <Query>);
         connection.close();
    } catch (NamingException e) {
         // TODO Auto-generated catch block          
              e.printStackTrace();
    } catch (SQLException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
    Regards
       Vinod

  • Problems with MiniSAP-Installation JAVA and ABAP Stack

    Hi,
    I am a freelance SAP application developer had bought the book and SAP Interactive Forms by Adobe, in order to incorporate me into the topic. In chapter 3, the installation and configuration of an exercise Systemes is described so that you can perform the practical part. I downloaded at the website mentioned the installation files and have performed the installation as described in the book. I have also stopped the service as described in SAP DB WWW.
    The installation of the JAVA section runs smoothly and is operational after the installation. The ABAP part crashes, however. According to my research, it is because the ABAP part is also intends to install a MAXDB, although the Java-part has realized this already. Anyone know what I need to do, so I only described as the application server of the ABAP part of getting installed and not again the MAXDB.
    Regards

    Hello Reza,
    Just to clarify, Best practise is to update your kernel to the latest before you start patching in your system.
    So download SAPEXE.SAR (Database independent kernel package), SAPEXEDB (Database dependent kernel package) and IGSEXE.SAR (IGS Package) from the SMP. kernel is dependent on your operating system and database and therefore make sure you download the right package otherwise you'll end up in messing up the system.
    follow SAPnote # 19466 for help.
    Once you are done with the kernel update then patch you Abap stack by SPAM and JAva stack by JSPM.
    I hope that makes things clear.
    Best Regards
    NIraj

  • SMSY for ERP JAVA and ABAP Stack

    Hi Folks - I have installed SAP ERP 6.0 EHP5 in one database called T12. Now there is a need for a Java stack and I have installed the Java stack in another database called J12.
    I was able to define the ABAP stack on system landscape and MOPZ is working fine. However, I am not sure how I should go about the Java (J12) instance definidstion on SMSY.
    I am using Somlam 7.1 on Oracle Linux system.
    ABAP stack is on ERL 6.0 EHP5 and Java stack is Netweaver 7.0 EHP2.
    J12 and T12 systems are connected via JCO.
    SLD has been defined for both stacks and they are using the local SLD for the SolMan.
    Your help is much appriciated.

    Sunny - I checked the SLD and It is working fine. There were couple of issues that I fixed. Since I defined the Java system manually I delete it. Hopefully SLD will populate the definition.
    In same note, Would it be possible that installing ERP java and ABAP stack on different hosts (stand alone) is causing this issue, especially they are using different Sid's?
    I was reading SAP Note 1344564, It states
    III.Some Main Instances include other Main Instances (E.g., in SAP
    ERP 6.0, Main Instance SAP NW - Enterprise Portal includes SAP NW -
    EP Core.). If the including Main Instance is installed, it's not
    necessary to mark the included Main Instance(s) for relevance.
    Is this mean in SMSY I do not have to define any product for the Java engine? When installing the Java, I had to create the product manually to be able to generate the installation key.
    Your input is appreciated.
    Edited by: kourosh Ghouchkhani on Nov 22, 2011 1:20 AM

  • JAVA and ABAP stack support pakages

    Hi,
    I am new on installation of solution manager server.
    I just install solution manager server EHP1 on windows 2003. Now I want to patch my server.
    I have abap and java stack on my server. Can I use jspm to upload my new patches for both Java and ABAP stack or I should use SPAM for abap stack and jspm for java.
    Thanks Reza

    Hello Reza,
    Just to clarify, Best practise is to update your kernel to the latest before you start patching in your system.
    So download SAPEXE.SAR (Database independent kernel package), SAPEXEDB (Database dependent kernel package) and IGSEXE.SAR (IGS Package) from the SMP. kernel is dependent on your operating system and database and therefore make sure you download the right package otherwise you'll end up in messing up the system.
    follow SAPnote # 19466 for help.
    Once you are done with the kernel update then patch you Abap stack by SPAM and JAva stack by JSPM.
    I hope that makes things clear.
    Best Regards
    NIraj

  • Client server and database

    Hi im just still a beginner with java and ive a project that requires me to set up a client and server and store location information over gprs to a database. all the talk of drivers and sdks etc is very confusing trying toread through it. I've the java sdk 1.4.2-06 downloaded and as far as i can determine this contains the jdbc api. not sure which one though. whats the next step? download a driver, i dont know which one, can anyone help???? please

    Yes, J2SE does contain JDBC. It does have one driver, the JDBC-ODBC bridge, which requires that you have ODBC installed on the client machine.
    But you'll probably want an all-Java JDBC driver that's written for your database. Every database vendor has one, usually free for the download. It'll come in the form of a Java JAR file, which you'll have to put in the CLASSPATH of your client when you run it.
    Which database are you using?
    PS - What's a "GPRS"?

Maybe you are looking for

  • Not able to reinstall adobe acrobat 9 pro for mac

    I have to reinstall adobe acrobat 9 pro for mac -- I had to reinstall the full CS5 package, and I had no issues reinstalling Indesign, Photoshop and Illustrator from the original disks, but when I insert the AA9 Pro disk, it appears to download, and

  • FQDN problem in adapter engine,communication channel monitoring

    Hi all, Recently i configured FQDN for PI system while configuring END to END monitoring. Everything is going fine and end to end monitored worked smoothly. But Problem started in comminuication channel monitring.adapter engine status and others. Bec

  • PERFECT/COMPLETE VERTICAL LINE IN SAPSCRIPT?

    Hello all, I have to draw vertical lines to make a grid in a SAPscript. But the grid size is not fixed, there a number of records and long texts that are displayed based on certain conditions. Is there a way to draw a perfect/complete veritcal in SAP

  • Failed to execute SQL via TxDataSource/JDBCConnectionPool

    I have an application running well on WLS doamin. After I deployed it to an EAI domain, it does not work any more. The WLI DB is an Oracle instance on the local box, and the application DB is an Oracle instance running on a remote box. The JDBCConnec

  • Preview crashed right after starting. What can I do?

    I've just upgraded to Lion and now Preview crashed right after starting, even if I just start it without content. What can I do?