Where to begin with databases

Hi
My next step is to create a database for my application. I am very confused wtih this subject, and I need to understand some primary issues.
first, Do I need a DBMS like Oracle or MySQL?
since many of my friends say : "You need Orcale or SQL" I answer "But SQL is a language" they reply "We dont know"!!? maybe they mean MySQL.
second, If we really need a DBMS, then is there any for free?
third, can't I create Notepad files and work with as a database?
can I use MS-Access?
last, and Inside java what packages we are gonna use?
Next week i'm planning to buy the Advanced Java J2SE book by Dietel and Dietel. Do you recommend it for this subject?

first, Do I need a DBMS like Oracle or MySQL?
since many of my friends say : "You need Orcale or
SQL" I answer "But SQL is a language" they reply "We
dont know"!!? maybe they mean MySQL. SQL, or Structured Query Language, is the language used by all relational databases. Oracle and MySQL are both relational database products, and both use SQL.
second, If we really need a DBMS, then is there any for free?Oracle and M$ SQL Server will cost you. MySQL, PostgreSQL, HypersonicSQL are all free. I'm sure there are others.
third, can't I create Notepad files and work with as a database?You mean store your data in text files? Sure, but you won't be able to use SQL to query, update, insert, or delete records. Flat text files are pretty old technology (think 60s/70s), before relational databases took over.
can I use MS-Access?Yes, M$ Access has a SQL engine inside it.
last, and Inside java what packages we are gonna use?Look at java.sql and javax.sql.
Next week i'm planning to buy the Advanced Java J2SE
book by Dietel and Dietel. Do you recommend it for
this subject?Absolutely not. I can't recommend that book for anything.
%

Similar Messages

  • Where to begin with Solaris?

    I'm interested in exploring Solaris and not quite sure where to begin.  Currently running Ubuntu 12.04 on a dual-quad core Intel Xeon, which version of Solaris will work best? 

    Hi there,
    you might want to grab a copy of the Open Solaris Bible (OpenSolaris Bible: Nicholas A. Solter, Jerry Jelinek, David Miner: 9780470385487: Amazon.com: Books) which, while being a little outdated, gives a quite decent jump start into the matter. Then install Solaris - should be piece of cake if you know Linux - and simply start comparing to what you know from Linux. Alternatively, if you don't have access to Solaris, go for OpenIndiana (http://openindiana.org), which is a true descendant of Sun's former open source variant, OpenSolaris. The operating system is free, the community is friendly, and you learn quite a lot you can take with you when you start using 'real' Solaris.
    Cheers
    Stevie

  • Where to begin with 'composite component'?

    Hi everyone.  I'm having a hard time understanding how to build a basic composite component.  There is some online documentation on this, but for some reason, I just cannot follow it.  Honestly, I'm not trying to get someone here to do my work for me, but I'm hoping that if described a very simplified version of what I need to do, that someone could show me how to do it through code.
    Here's what I'm essentially trying to do (build a control that is a combobox with a button on the side of it):
    <hbox>
         <combobox/>
         <button/>
    </hbox>
    Doing something like above is easy enough.  But what I really need is for the root control to be a combobox so that all properties and events of the combobox are available to its owner without me having to re-implment/proxy all of them.
    Hopefully this will illustrate the concept:
    <combobox>
         <button/>
    </combobox>
    I see from the doc that I need an AS class and have to override updateDisplayList, createChildren, etc.  But for some reason, I just cannot understand the doc enough to do something even this simple.  I think if someone showed me how to do this example, then it would be a good starting point for me to go back to the doc and hopefully it'll make more sense!
    Thanks in advance!

    I think the o.p is loking for an example of composition that starts by extending some component like ComboBox, and then adds another control to it.  the benefit of this is that the new control can be treated as  a ComboBox, with all of its functionality.  Here is an example.  You will need to find your own image to use for the button, or change it to a regular button.
    Test application:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        xmlns="*"
        layout="absolute"
        creationComplete="init()" >
    <mx:Script><![CDATA[
      import mx.collections.ArrayCollection;
      import mx.controls.Alert;
      [Bindable]private var _acDP:ArrayCollection;
      public function init():void
        _acDP = new ArrayCollection([{label:"one", value:1},{label:"two", value:2},{label:"three", value:3}])
      private function onButtonClick(event:Event):void
        Alert.show(ComboButton(event.currentTarget).selectedLabel);
    ]]></mx:Script>    
    <ComboButton dataProvider="{_acDP}" labelField="label" comboButtonClick="onButtonClick(event)" />
    </mx:Application>
    ComboButton.as
    package
      import flash.events.Event;
      import flash.events.MouseEvent;
      import mx.controls.ComboBox;
      import mx.controls.Image;
      [Event(name="comboButtonClick", type="flash.events.Event")]
      public class ComboButton extends ComboBox
        [Embed(source="assets/help.gif")]
        private var buttonImage:Class;
        private var _imgButton:Image;
        //Constructor
        public function ComboButton()
         super();
        /** instantiates the button and adds it to the displaylist */
        override protected function createChildren():void
          super.createChildren();                // Call to the superclass for necessary processing.
          if(!_imgButton) {                       // Create the button component.
            _imgButton = new Image();
            _imgButton.source = buttonImage;
            _imgButton.toolTip = "Click Me";
            _imgButton.addEventListener(MouseEvent.CLICK, onClickButton);
            addChild(_imgButton);
        /** Positions and sizes the image button */
        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
          super.updateDisplayList(unscaledWidth, unscaledHeight);
            var buttonHeight:Number =  unscaledHeight;
            var buttonWidth:Number = buttonHeight; 
            var nbuttonX:Number = unscaledWidth + 5;
            var nbuttonY:Number = 0;
            _imgButton.height = buttonHeight;
            _imgButton.width = buttonWidth;
            _imgButton.move(nbuttonX, nbuttonY);
        }//updateDisplayList 
        /** dispatches event on button click */
        private function onClickButton(event:MouseEvent):void
          dispatchEvent( new Event("comboButtonClick", false));
      }//public class ComboButton
    }//package
    Tracy Spratt

  • Where do I begin with the making of an MP3 player?

    I would like to create a mp3 player, and have researched and discovered i need JMF, which i have now downloaded and installed. But i do not know where to begin with the coding of the MP3 Player. Any help would be appreciated.

    One problem, (I think) Sun had to drop MP3 support from Java because of some legal issues. You may need to head in the direction of JNI.

  • I was given an assingment, but have no idea where to begin. The assingment is to create a text file using notepad with all of my digital inputs and some how make those imputs show up on my digital indicators on my control pannel

    I was given an assingment, but have no idea where to begin. The assingment is to create a text file using notepad with all of my digital inputs and some how make those imputs show up on my digital indicators on my control pannel.
    When it was explained to me it didn't sound to hard of a task, I have no LabVIEW experience and the tutortial sucks.

    StevenD: FYI, I did NOT give you the one star rating. I would never do that!
    StevenD wrote:
    Ow. Someone is grumpy today.
    Well, this is an assignment, so it is probably homework.
    Why else would anyone give HIM such an assigment, after all he has no LabVIEW experience and the tutorials are too hard for him?
    This would make no sense unless all of it was just covered in class!
    This is not a free homework service with instant gratification.
    OK! Let's do it step by step. I assume you already have a VI with the digital indicators.
    "...but have no idea where to begin".
    open notepad.
    decide on a format, possibly one line per indicator.
    type the document.
    close notepad.
    open LabVIEW.
    Open the existing VI with all the indicators.
    (are you still following?)
    look at the diagram.
    Who made the program?
    Does the code make sense so far?
    Is it a statemachine or just a bunch of crisscrossed wires?
    Where do you want to add the file read?
    How should the file be read (after pressing a read button, at the start of the program ,etc.)
    See how far you get!
    Message Edited by altenbach on 06-24-2008 11:23 AM
    LabVIEW Champion . Do more with less code and in less time .

  • SQL Developer Strangeness with database objects beginning with 'AQ'

    I have two separate but seemingly related issues.
    *1. I am experiencing a situation whereby database objects beginning with the letters 'AQ' are not included when performing a database export from SQL Developer (using the procedure described below).*
    Procedure:
    1. Create any database objects starting with 'AQ'
    2. Tools > Database Export
    3. Check every item in the 'Types to Export' step of the Export Wizard
    4. Progress to the 'Specify Objects' step of the Export Wizard
    Expected:
    The 'Specify Objects' step of the Export Wizard lists all database objects
    Actual:
    The 'Specify Objects' step of the Export Wizard lists all database objects EXCEPT those prefixed with AQ. As these objects are not listed, I am not able to export them.
    *2. Sequences that start with the letters 'AQ' do not appear in the object list*
    Any sequences starting with the letters 'AQ' are missing from the Sequences list in the left panel of SQL Developer.
    At a glance, it appears as though these are symptoms of the same issue that's described in [this thread|http://forums.oracle.com/forums/thread.jspa?threadID=898765&tstart=180]. I have attempted this in versions 1.5.4 and 2.1.1.64 under both Windows XP and Vista. Both exhibit the same problems.
    Thanks.
    Edited by: thrillhouse on 16-Mar-2010 17:27

    I have created a new bug for the first and reopened the bug for the second. In the latter case we fixed the AQ for most nodes, but it seems a few nodes, like the Sequences were not included.
    Sue

  • Help with where to begin creating a custom GUI?

    Links to good tutorials helpful.
    Basically I have never created a GUI for java beyond your basic text box, radio button, button etc.
    I need to create a GUI using custom images for the buttons, images etc. I kind of don't know where to begin since all I have done prior is create a GUI with functionality already present in java. I need drop down menus etc.
    Any help is appreciated.

    All of this functionality that you are mentioning is available with Swing. You can do a google search for java Swing tutorials; if you need further help, please visit the Swing forum.

  • Where do I continue; I have a '07 Macbook Pro, and would truly appreciate your help as I freshly install my osx beginning with my original 10.4

    Please...
    Where do I continue; I have a '07 Macbook Pro, and would truly appreciate your help as I have freshly installed my osx beginning with my original 10.4
    Thank you
    PS
    I should mention; for reasons unknown to me, I no longer have use of my disk drive since reinstalling 10.4.

    You can use software update to install the latest version of Tiger.  If you connect an external DVD drive you can install an upgrade to Snow Leopard.  The disk is available at the Apple online store:
    http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard
    Further upgrades are dependent upon the EXACT model of your MBP.
    Ciao.

  • Cannot find serial number on box nor cd sleeve.  start guide says it begins with 1057 but neither the box nor the DVD has such a number  I can't install it without that serial numebr where do I find it??

    Trying to install Photoshop elements 13 on pc w/ WIN 8.1.
    cannot find serial number on box nor cd sleeve.  start guide says it begins with 1057 but neither the box nor the DVD has such a number  I can't install it without that serial numebr where do I find it??

    You likely have a redemption code on the box that you have to enter into an Adobe website to convert that into a serial number.
    See the information on the following page:  https://helpx.adobe.com/x-productkb/global/redemption-code-help.html

  • Where to begin in Oracle?

    Hello everyone,
    I am interested in obtaining an Oracle certification but do not know where to begin. I am new to this but I work with Access so I do have an understanding of databases. I spoke with someone recently and was told to learn Linux. The person was very vague in giving out any information on the subject (he acted like I was trying to break into Fort Knox). I would really appreciate it if someone could just point me into the right direction and help me get started. I know Oracle and Access are totally different but I am ready to put in the work to obtain this incredible certification. I am going to do this on my own because I cannot afford to attend any boot camps, Oracle classes, or community colleges. I have posted this question on many so called Oracle forums but know one is willing to respond to my question. Can anyone out there help?
    Thanks,
    bdthomas02

    I am trying to get the OCA certificationI assume in my reply below that you are referring to 1Z0-042 - Oracle Database 10g: Administration I (10g DBA OCA).
    I spoke with an Oracle rep and she informed me that the classroom requirement does not apply to this certificationThat's correct. You need it only when you clear the second exam (1Z0-043).
    1. Can I pass the exam by purchasing materials from a book store, Oracle website, or other suggested sources?The best source would be Oracle Training Material (Student Guides**). However, I do recommend "Oracle Database 10g OCP Certification All-In-One Exam Guide". I used this reference to clear the exams.
    Oracle Database 10g OCP Certification All-In-One Exam Guide
    http://www.amazon.com/Oracle-Database-Certification-Guide-Handbook/dp/0072257903
    ** Oracle Student Guides/ILT (Instructor Led Training) Materials
    Re: Student Guides
    Practice exams provide tools to help you improve and continue your exam preparation:
    Oracle Certification Program - Practice Test Page
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=208
    Sample Questions – 1Z0-042 Oracle Database 10g: Administration I
    http://www.oracle.com/global/us/education/certification/sample_questions/exam_1z0-042.html
    2. Do I need to know Linux in order to pass the exam (someone told me unless I know Linux I would not be able to understand the commands)?It is not necessary. See the following link for the exam topics:
    Oracle Database 10g: Administration I
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_042
    3. Since I do not know anything about Oracle how should I study for the exam and how long will it take to be able to pass the exam?You need to practice and work hard since you are new to Oracle. Arrange to install Oracle 10gR2 database, practice the installation, and try to cover all the topics which are listed in the link referenced above.
    You can download Oracle 10gR2 database from:
    Oracle Database Software Downloads
    http://www.oracle.com/technology/software/products/database/index.html
    Please let us know if you need any further clarification.

  • JDBC Driver woes!!! Where to begin????

    Ok... I started out by reading the basic jdbc sun tutorial. But I am not sure where to begin in terms of connecting to a database... driver-wise that is. Does jdk1.5 come with a driver? Or do I have to download 1. I have an access database that I would loev to connect to. I also have that same database on a local php server as a mySql database. Please someone aid me in finding out where to turn or recommending a driver that I can download

    What? Real newbie here. That's obvious. But you said you read the tutorial. That should have given you more information than you seem to possess.
    Could you break down what you
    said a little bit more please. Who is my database
    vendor? I am using Microsoft Access db's and mySql's
    databases.Let's see - Microsoft and MySQL are the vendors.
    What should I download exactly and what is the string
    argument I should provide to the Class.forName(...)Like I said, you can use the bridge driver to connect to Access.
    You need to download the MySQL JDBC JAR here:
    http://dev.mysql.com/downloads/connector/j/3.1.html
    Put that JAR in your app's CLASSPATH.
    You should put the name of the driver class in the call to Class.forName(). The docs will make it clear.
    %

  • Restric the connection with database

    Hi friends,
    My oracle server is 9i. can i restrict the connection with database using application type.
    Eg MSACCESS.EXE
    Regrds
    upul Indika.

    Create this trigger under the sys user. note a user with DBA privilege can still login with msaccess.
    CREATE OR REPLACE TRIGGER trg_logon AFTER logon ON DATABASE
    DECLARE
    tool_name VARCHAR(50);
    BEGIN
      SELECT MAX(PROGRAM)
      INTO tool_name
      FROM sys.v_$session
      WHERE audsid = sys_context('USERENV',   'SESSIONID');
      IF(tool_name = 'MSACCESS.EXE') THEN
        raise_application_error(-20003,   'Login with MSACCESS.EXE is not allowed!');
      END IF;
    END;Regards

  • Error : (does not begin with '%PDF-'. ) when print report in pdf

    Hi all,
    http://www.oracle.com/technology/obe/apex/apex31nf/apex31rpt.htm
    using the example in the above link,
    I have created a report and tried to print in pdf format,
    But
    does not begin with '%PDF-'. this error is appearing when the adobe reader is opening.
    Could anyone help me to make out the reason for this error?
    bye
    srikavi

    Srikavi,
    Which rendering engine are you using? BI Publisher? Apache FOP? Did you follow the steps outlined here when you configured PDF printing:
    http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
    Regards,
    Marc

  • Error with a PDF document in a BSP App: "File does not begin with '%PDF-'"

    Hi All,
    I have the following piece of in the layout of a BSP Application in our system.
    <%
    DATA: LV_PDFSIZE TYPE I,
                LW_PDF     TYPE TLINE,
                LV_XDATA   TYPE XSTRING.
    data: LT_PDF type ZGTIS_TAB_TLINE,
          lv_id type zgtis_http_id,
          filename type STRING.
    lv_id = session_id.
    import lt_pdf to lt_pdf from
           database zgtis_http_indx(in) id lv_id.
    RUNTIME->SERVER->RESPONSE->SET_HEADER_FIELD(
        NAME  = 'Content-Type'
        VALUE = 'application/pdf').
    if w_printall ne 'X'.
    CONCATENATE 'display; filename="invoice_' BIL_NUMBER '.pdf"'  INTO filename.
    else.
    CONCATENATE 'display; filename="invoice_' 'ALL' '.pdf"'  INTO filename.
    endif.
    RUNTIME->SERVER->RESPONSE->SET_HEADER_FIELD(
        NAME  = 'Content-Disposition'
        VALUE = filename ).
    RUNTIME->SERVER->RESPONSE->SET_HEADER_FIELD(
        NAME  = 'pragma'
        VALUE = 'no-store').
    RUNTIME->SERVER->RESPONSE->SET_HEADER_FIELD(
        NAME  = 'cache-control'
        VALUE = 'no-store').
    *     Convert to XSTRING
    FIELD-SYMBOLS <P> TYPE ANY.
    LOOP AT LT_PDF INTO LW_PDF.
      ASSIGN LW_PDF TO <P> CASTING TYPE X.
      CONCATENATE LV_XDATA <P> INTO LV_XDATA
        IN BYTE MODE.
    ENDLOOP.
    *     Set the response data
    RUNTIME->SERVER->RESPONSE->SET_DATA(
        DATA   = LV_XDATA ).
    %>
    This piece of code works fine when 'If w_printall ne 'X'.' condition is succesfull and I can see the PDF but when w_printall = 'X' I get the above error on a popup box, the error is "File does not begin with '%PDF-'" and I cant see the PDF.
    Does anyone have any suggestions!
    Kindly help.
    Regards,
    Karthik

    Check this thread
    it is a Big Discussion on that.
    In first page and second page you can see solutions.
    /thread/747643 [original link is broken]
    one with patch and other with setting in Adobe.
    Regards
    Vijay babu Dudla

  • How OEM works with database

    Hi,
    We use OEM (12c),have db (11.2,10.2/1).
    How OEM works with database?
    When oem initated a job aginst  db,What are the steps preformed by OEM?What are the info updated in OEM DB and Normal DB regading jobs?And Where?
    Br

    At what point do you get this message?
    Have a look at the Windows Service. Ensure the EM Agent is running. Your database and Listener may be running, but if the Agent is not running, you will not be able to see correct status.
    Stop and start the Agent

Maybe you are looking for

  • Problem in tagging the object to Transport Request

    Hello Experts, I have installed 0FISCVARNT using BI Content, but when i try to change the package of the standard object and save it under TR, it is not allowing me to change the package from local class. Please provide me any suggestions, if you hav

  • Assorted issues with JSR 269

    Hello! On my spare time I'm tinkering with a project of mine that uses JSR 269 (http://tmdbc.dev.java.net), and I've run into some things that I'm wondering about. * How do you prevent "cannot find symbol" errors from being printed when a class is be

  • Placement of Navigation bar

    Hello, I'm a dreamweaver beginner. I have my navigation bar and am trying to position it over an imported jpeg. Ever time I try to change its position on the page it start moving the elements around. Can I layer these elments somehow? Thanks

  • System disappeared from MMC

    hello All, There is a big problem on my server... I have tried to install SP16 on EP 6.0 and after that things are not working properly at all.. Now i am not able to view any of my two systems Portal and XI. I tried to start services from control Pan

  • Protect ad odument using identity server

    How can i protect a *.html that it is deploy in the application server using the identity server? I mean if you got a html en /sp1/hoja.html and you want to ask for the auth to see the person who wants to access it, what can i do? I must only create