Totally new to data bases

Hello,
I?d like to know if there?s an "internal" database like system inside java.
The point is that I?d like to make a program that stores a lot of data (it will not need to make insertions, updates and delets, just selects)...
I?d like to know how I could store the data without a dbms. I?d like too to have some security, I don?t whant to let the people see the data outside my program.
I read the tutorial about jdbc and such, but i didn?t understand about making the connection. for example, If i what it to connect to a mysql database, how I could do that?
thanx!

For working with JDBC to connect to a database, see the JDBC tutorial.
If you want a small database for your application, you can consider using Apache Derby or HSQLDB. Both of those are small 100% Java databases.
Both of them also have the option to use them as embedded databases, which means the database will run completely inside your application (i.e. inside the same JVM). This can be very useful for applications that need a small, private database, like what you are describing.

Similar Messages

  • Data base creation

    hi,
    I am new with data bases in Java. I need to build a servlet that saves data in data base. I would like to use mySQL. I really don't know nothing about mySQL and JDBC, only that it is free and it uses SQL (which I knows).
    What should I know and have in order to make this? what jars and what servers should I find? where can I find an example of how to create a data base and use it?
    thanks, Naor.

    The JDBC tutorial....
    http://java.sun.com/docs/books/tutorial/jdbc/index.html
    The mysql site....
    http://dev.mysql.com/
    I suggest that the read the license carefully first.

  • Data-base driven site

    1. Hi. I'm new to data-base driven sites. firstly, i want to
    basically link my database (with two tables. no relationships) to a
    new website. Can somebody talk to me through the steps for doing
    this? i know mySQL and PHP are used...
    2. Secondly if I get it all set up...how does it actually
    work? Does the database generate pages for each record and add the
    fields in that i select? I'm supposing this is what happens.
    3. also, if i get it all setup, can you edit the database
    (and therefore editing the site) from the database its self (so its
    linked directly) or do you have to log in to your webhost and edit
    the data there?

    cripaustin wrote:
    > Thanks for the replies.
    > What I am trying to do (I dont know if any of this is
    even possible):
    > 1. I am trying to develop a website using Dreamweaver
    with normal html and
    > CSS. I will make the template(s) for the main pages
    including a template for a
    > page on a particular product which will be used over a
    hundred times for all
    > the different products. I dont want to have to set up
    each individual page,
    > assign the template, copy over the content, and add in
    an image. To solve this
    > problem, I thought I would create a table within a
    database and easily copy
    > over the data from a spreadsheet into this table. From
    there I would somehow
    > generate a page for each record and add in certain data
    from certain fields in
    > certain 'edit areas' of the template to which all
    generated pages will be
    > assigned.
    The end result will be hundreds of generated pages, one for each
    > record of my table, all assigned to a certain template,
    and all formatted the
    > same way. I want to be able to update the data from the
    table (so no web design
    > skill is needed) and then have the website
    automatically updated.
    >
    > 2. If this is at all possible, there will be a few
    concerns. Don't bother
    > replying to these unless point one is even possible
    though. If I can generate
    > pages with data on each one, is it possible to have
    images in each record in
    > the data base and have these placed on each page aswell?
    > (there are more concerns but I will ask later)
    > Thanks, Chris
    >
    >
    of course it's possible, and that's how all commercial
    websites are b uilt these days.
    You can either use a database, or writable files which will
    store the data.
    You would use server-side templates (not dreamweaver
    templates), and populate them dynamically with
    the appropriate content depending on the product requested.
    What server-side language are you planning to use?
    seb (@webtrans1.com)
    high-end web design:
    http://webtrans1.com
    an ingenious website builder:
    http://sitelander.com
    music:
    http://myspace.com/popmodelberlin

  • Is there a data base?

    How can I transfer data base documents from Appleworks version 6.2.9 in my MacBook OS 10.4.11 to my new MacBook Pro with OS 10.8.2 and be able to use them on my new computer?  How can I create new compatable data base documents?

    More information:
    Apple Works Documents
    Apple Works Documents (2)

  • How we create new data base in oracle 10g express edition

    hello every body.. i student of B tech n new user of oracle so please help me how we creat new data base in oracle 10g express edition

    Hello, Oracle XE can not create more than one instance, the other editions yes, but like other editions XE allows you to create database schemas, schemas logically grouped objects like tables, views, indexes created by a user. By creating an Oracle user is associated with a schema of the same name.
    Using SYS or system accounts for creating user accounts.
    Syntax to create a user:
    create user Your_user
    IDENTIFIED BY password
    default tablespace users;
    grant connect, resources to your_user;
    Edited by: rober584812 on Jun 25, 2010 9:03 PM

  • Add new payment term base on sales order contract date and shipment date

    Dear Sir/Madam,
    My company need to create new payment term base on sales order's contract date and shipment date.
    the first time is 30% made in T/T within 30days from contract signed date.
    the second time is 70% made in T/T before shipment.
    I don't know how to configuration this payment term base on that both date, who can tell me ,thanks very much!
    Best Regards
    Danny Zhang

    Hi,
    You have to define the PAYMENT TERMS as per days and Percentage.
    Define the Payment terms in the transaction OBB8 and assign this payment terms in the CUSTOMER MASTER and will be copied to the SALES ORDER from the customer master
    In the MATERIAL MASTER in the SALES ORG 1 view you have to check the field CAHS DISCOUNT In the Pricing procedure you can defin the CASH DISCOUNT condition type ( in standard there are two SKTV & SKTO)
    Now process the sales order and check
    regards,

  • Data base problem-new user need help

    im new user and trying to insert data base to my page using
    "asp.net c",i get connetction to my data base but when i try to
    build a form ,and then preview him i get ,the following message
    Server Error in '/' Application.
    Parser Error
    Description: An error occurred during the parsing of a
    resource required to service this request. Please review the
    following specific parse error details and modify your source file
    appropriately.
    Parser Error Message: File or assembly name DreamweaverCtrls,
    or one of its dependencies, was not found.
    Source Error:
    Line 1: <%@ Page Language="C#" ContentType="text/html"
    ResponseEncoding="iso-8859-1" %>
    Line 2: <%@ Register TagPrefix="MM"
    Namespace="DreamweaverCtrls"
    Assembly="DreamweaverCtrls,version=1.0.0.0,publicKeyToken=836f606ede05d46a,culture=neutra l"
    %>
    Line 3: <MM
    ataSet
    Line 4: id="DataSet1"
    Source File: e:\inetpub\wwwroot\Untitled-1.aspx Line: 2
    Assembly Load Trace: The following information can be helpful
    to determine why the assembly 'DreamweaverCtrls' could not be
    loaded.
    === Pre-bind state information ===
    LOG: DisplayName = DreamweaverCtrls, Version=1.0.0.0,
    Culture=neutral, PublicKeyToken=836f606ede05d46a
    (Fully-specified)
    LOG: Appbase = file:///e:/inetpub/wwwroot
    LOG: Initial PrivatePath = bin
    Calling assembly : (Unknown).
    ===
    LOG: Publisher policy file is not found.
    LOG: No redirect found in host configuration file
    (E:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
    LOG: Using machine configuration file from
    E:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
    LOG: Post-policy reference: DreamweaverCtrls,
    Version=1.0.0.0, Culture=neutral, PublicKeyToken=836f606ede05d46a
    LOG: Attempting download of new URL
    file:///E:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary
    ASP.NET Files/root/804ee9b4/26f0df32/DreamweaverCtrls.DLL.
    LOG: Attempting download of new URL
    file:///E:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary
    ASP.NET
    Files/root/804ee9b4/26f0df32/DreamweaverCtrls/DreamweaverCtrls.DLL.
    LOG: Attempting download of new URL
    file:///e:/inetpub/wwwroot/bin/DreamweaverCtrls.DLL.
    LOG: Attempting download of new URL
    file:///e:/inetpub/wwwroot/bin/DreamweaverCtrls/DreamweaverCtrls.DLL.
    LOG: Attempting download of new URL
    file:///E:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary
    ASP.NET Files/root/804ee9b4/26f0df32/DreamweaverCtrls.EXE.
    LOG: Attempting download of new URL
    file:///E:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary
    ASP.NET
    Files/root/804ee9b4/26f0df32/DreamweaverCtrls/DreamweaverCtrls.EXE.
    LOG: Attempting download of new URL
    file:///e:/inetpub/wwwroot/bin/DreamweaverCtrls.EXE.
    LOG: Attempting download of new URL
    file:///e:/inetpub/wwwroot/bin/DreamweaverCtrls/DreamweaverCtrls.EXE.
    Version Information: Microsoft .NET Framework
    Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
    I know its probably something stupid ,so u can lauph,but i
    realy cant fix it.
    need help
    tnx for advance

    anyone? please help

  • 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...

  • Data Base is corrupt message when Installing CS4 web premium unto new computer

    Just purchased a new HP desktop running Win7-64bit and when attempting to load CS4 I keep getting an error message indicating that "Installer data base is corrupt", and to contact Adobe Customer Service.  I already have it installed in another HP DT running Win7 64bit so I don't believe the new machine could be the problem... any suggestions?

    I'm having a very similar issue and it seems to me that absolutely no one knows anything about this and/or are willing to help.  They've given me some advice but nothing has helped and when I ask more questions for specifics they won't respond. 

  • I have a new imac21.5 how do I open Appleworks6 Data Base files?

    I have a new imac21.5 how do I open Appleworks6 Data Base files? And how do I access Quicken files?

    You won't be able to use AppleWorks on that computer. You will need to open your AW database files on an older computer that can run AW6 then export your database files to a standard text format such as CSV or tab-delimited.
    You can then import those files into some other database program such as iData 3.1.18.
    Quicken does not currently work with Lion but Intuit has announced they will issue a new version sometime this year. You can try using another application that can import Quicken's datafiles or export the data to format other applications can use. Or you can switch to Quicken Essentials that does work with Lion.

  • New AirPort Extreme Base Station Delivery date?

    Has anyone who has ordered the new AirPort Extreme Base Station been advised of a delivery date?
    I know they say February but does anyone have a confirmed date?
    Regards Simon

    Delivery date:
    AIRPORT EXTREME BASE STATION/802.11N-USA
    MA073LL/A
    $159.00
    1
    $159.00
    Ships by:Feb 28
    Delivers by: Mar 6
    Macbook Pro 2.33 C2D 17   Mac OS X (10.4.8)  

  • TFS Data Bases to New Server

    Hi ,
    we are having TFS 2013 version ..we need to migrate only TFS database server to new server. Please let me know the steps for doing this ..need to restore databases from existing server to new server and Need to point TFS application to Point to New Data
    Base Server (we don't use Share Point) where to chance the connection string to point to new server..
    Regards,
    Naveen M

    Hi Chamindac,
    Followed Steps in below link and all commands got executed successfully, but when trying to open TFS from IE it's showing 403.14 forbeddien error..when accessing from Visual studio showing 500 internal error.
    It's showing everything correctly in Team foundation server administration console like application tier ,data tier summary showing updated New DB Server name etc...
    http://blogs.msdn.com/b/tfssetup/archive/2014/05/15/migrating-team-foundation-server-databases.aspx
    Can you please help me on this why it's not working while accessing from IE and Visual studio..what are the areas i need to look. Please help this is most urgent for us
    Regards,
    Naveen M

  • New Data Basis using infocbe 0BCS_C11

    Hi,
    I am creating new data basis using Infocube 0BCS_C11 in SEM BCS 4.0. Data Stream has been generated properly. Company and Consolidation Profit Center has been assigned Role ''Consolidation Unit'.
    However, I am not getting Company as characteristic in 'Authorization/Validity check' tab. I can see:
    Consolidation Group
    Consolidation Profir Center Group
    Consolidation Profit Center
    We are using Infocube 0BCS_C11 as we think that in future we might use Matrix Consolidation, though there is no current requirement. At present we are going to use Legal Consolidation only.
    Can you please advise?
    Best Regards,
    UR

    Solved. It was just saving and going out of the screen. Thanks

  • New data base with adobe flex

    Hi  All,
    My Requiremenyty as below.
    I need to get the data from sap and from some third party softwares.  and need to build a web applicaation in adobe flex.
    i want put the data from sap and other systems into separate data base ( Like Oracle ).
    the data  from sap and other softwares can be schduled daily.  so we need build flex web appllication newly built oracle data base.
    Pleaae let me know how we can do?  is it possible?  we can i get the exact help?
    Regards,
    Kishan

    Hi mate!
    You can communicate your Flex app with SAP or another third-parties throw WebServices, RPC's or Remote Objects (java).
    For the communication with Oracle, there is a versión of Oracle which has WebServices to expose the operations; if not avaliable, you might need an application server (php, jsp, ...)
    This links may help you:
    http://www.nabble.com/-flex_india:15197--flex-sql-or-oracle-td20034201.html
    http://www.richappsconsulting.com/blog/blog-detail/integrating-flex-with-oracle-epg-using-xml/
    http://asql.mooska.pl/
    Hope it helps you
    Regards!
    Fran

  • Data base in to a Vector.

    Hi folks,
    I'm writing a program using JDBC with a data base that holds details of stock held by a company, my intention is to write a till system for it. I've got the JDBC part working now.
    However I am left with one or two questions.
    One of my initial ideas was to have another table called ShoppingList, but I felt that would be too much trouble, so my thought was to create a GUI with a grid of buttons, that would execute SELECT statements from the data base for the stock that it has stored within it, and add the output to a Vector of stock objects. (item quantity, item description, item price.)
    I'm not sure that I'm making things over complicated in doing this or not. But i felt it would provide a better way for me to then yse the Quantity fields, and price fields, and make it easier to total up their numbers.
    My intention is that the "shopping list" appears in a JTable, which to me presents another possible problem (I'm new to all this). I want to have a total cost of the shopping basket. My intention is to make this appear in a JTextArea at the bottom of the "list" Is it possible to have the sum of the values of a certain column in a seperate JTextArea? I know it sounds a dumb question, but I'm asking because I honestly don't know.
    I know I've put a lot of questions on here, but please be patient with me. I'm learning slowly.
    Emyr

    Well I gotta be honest with you here when someone says instead of a DBtable I would like to use a Vector/some GUI component it's a sign to me that their design is mixed up when it comes to seperating out the different components of their application.
    There are basically three parts to your application
    - the persistence storage level (the database)
    - your business logic etc (Vectors or Lists)
    - you interface (GUI)
    Each one of these should be independent of the other.
    Now. In reality when you are starting off this can seem overwhelming to think of it like this... but you really should. Or if you want to do just do as you like for now while you get the hang of a few things that okay too but you must keep in mind that in many ways it's so very wrong.
    A couple of suggestions targeted at what you did post.
    1) Write to interfaces and not implementations.
    For example
    List list = new Vector();and not
    Vector list = new Vector();This will allow you to change the implementation later if needs be with a minimum of headache.
    2) It is preferable to use another List implementation (like ArrayList) to Vector
    3) How much do you know about TableModels (with JTables?)
    4) The ShoppingList table sounds like a good idea to me. But it's hard to say what you are doing. The table should probably have a key based on the id of the shopper (or user) and the product id.

Maybe you are looking for

  • Mail.app too many Ins and no outs

    My Mail.app has never been innocent of odd lapses here and there. As a user with modest demands, I've ignored the less egregious problems. In recent days, my more egregious problems have escalated. My email client downloads messages from the POP serv

  • Windows 7 support  UEFI

    When looking at what Macs got *+official support Windows 7+* Pivots on EFI (no support) or UEFI 2.x (supported) http://support.apple.com/kb/HT3920 Same was true with with Vista 64-bit. http://support.apple.com/kb/HT1846 Apple adopted Intel's EFI in 2

  • GRC 5.3 custom approval

    Hi, We installed GRC 5.3 ; and its working fine,currently when user submit request from portal ,it will goes to role owner for approval and we are doing this by using standard webservice. Now we want include manger approval flow ,,but we need  custom

  • Problem loading goals from E & A with Excel, column stays locked by default

    Hi When trying to enter the E & A data from excel, Target column is blocked, which prevented from entering the goals of the KPI's from excel, how do I enter the goals of the KPI's massively from excel? I did a test by entering a KPI (Actual - Target)

  • PAPI Internacionalization

    I have a doubt about Process API. When I search a list of tasks using this code: List taskList = taskQuerySvc.queryTasks(wfCtx, (List<String>)displayColumns, (List<OptionalInfo>)optionalInfo, (AssignmentFilter)assignmentFilter, (String)null, // keywo