Best way to deploy a new database

What is the best way to deploy a database for a user base that mostly doesn't understand how to use SQL based db products or has some understand?
I'm current working on a setup utility for my desktop application, which uses MySQL, right now I'm at a design issue where I'm not sure how to get the database deployed.
I have a creation script for deploying the database, but I'm not sure wither to create a default user, assign the rights to the user or make the user customizible. [which starts to branch off way too much] The desktop application does have an option of using an already deployed databased else where or creating one locally.
Does anyone have suggestions for deploying databases for desktop applications? I know that derby is a great solution for this, however, It is not nearly powerful enough to handle what I need a database for. [large amount of transactions and comparisons, really quickly] I also have been unable to find information on this as well.

are you talking about creating another copy of your existing DB on the same server ??
(Just wanna confirm as your last line seems to contradict with this?!?)
2 ways:
Go for RESTORE database with the Source option pointing to one of the existing databases.
Go for COPY DATABASE (useful when the copy of the db is to be put in another server maybe..)
Note that you would need backup of the existing DB to proceed..
Thanks, Jay <If the post was helpful mark as 'Helpful and if the post answered your query, mark as 'Answered'>

Similar Messages

  • What is the best way to deploy application that uses web services?

    Hi all,
    I'm having some problems figuring out the best way to deploy our app now that we've switched over to using web services.
    I'm fairly new to Java and web services. From what I understand, JNLP and WebStart are methods to deploy Java clients to users and not for creating war files and the like.
    Here's a little background:
    We have a large PowerBuilder/Oracle application. The db consists of over 500 tables and the client consists of several thousand PB components. A user creates "transactions" which contain a series of "sub-transactions" within. Most of the data is collected and stored locally in the client in a series of datastores. When the "finalize" happens, the records are validated and sent to the database.
    We are in the process of moving each of the subtransactions (currently in the PB client) into subPROCESSES on a java project. We are using the JAX-WS framework to develop the web services in Netbeans. These web services aren't much more than remote xml as the messaging technology. For writing data back to the database, we are using the Java Persistence API to function outside of an EJB container but will shortly be migrating to the Glassfish application server to use several of the EJB container frameworks including the EntityManager.
    We haven't attempted any type of deployment and are unsure of where to start. Any suggestions would be so helpful and appreciated!
    Thanks!
    Edited by: doubleEspresso on Jan 10, 2008 8:06 AM

    >
    I'm fairly new to Java and web services. From what I understand, JNLP and WebStart are methods to deploy Java clients to users and not for creating war files and the like. >Correct, while Java Web Start has 'web' in the name, it has little if anything to do with web applications - certainly not providing much toward their installation. It is for launching rich client GUI based (AWT, Swing, SWT..) applications onto the end-user's desktop.
    There are some parts of JWS that might seem peripherally useful to the installation of a web-app., but it is really not a 'good fit'.
    >
    ..Any suggestions would be so helpful and appreciated!>You might try the forums for the 'web tier' APIs.
    <http://forum.java.sun.com/category.jspa?categoryID=20>
    Or perhaps the forum 'Java Technologies for Web Services' (under 'enterprise technologies')
    <http://forum.java.sun.com/forum.jspa?forumID=331>
    This one in 'BigAdmin' seems particularly relevant, 'Set up and Deploy'
    <http://forum.java.sun.com/forum.jspa?forumID=550>

  • What is the best way of deploying a jsp and bc4j aplication

    Hi
    I would like to know what is the best way of deploying a jsp and
    bc4j aplication in ias 9i.
    thanks in advanced
    rjc

    In the page I simply referenced the facescontext directly... no need for a custom servlet.
    public void createcookie() {
    FacesContext fc = FacesContext.getCurrentInstance();
    HttpServletResponse resp = (HttpServletResponse)fc.getExternalContext().getResponse();
    Cookie userCookie = new Cookie("cookiename", "cookievalue");
    userCookie.setMaxAge(-1);
    userCookie.setMaxAge(3600);
    resp.addCookie(userCookie);
    return null;
    public String readcookie() {
    FacesContext fc = FacesContext.getCurrentInstance();
    ExternalContext ec = fc.getExternalContext();
    Map cookiemap = ec.getRequestCookieMap();
    if (cookiemap != null) {
    Cookie cookie = (Cookie) cookiemap.get("cookievalue");
    return cookievalue;
    For reference I could not get getCookies() method of HttpServletRequest to work.. it would only return JSESSIONID.

  • What is the best way to deploy/update custom security realm classes to WLS 6.0?

    From the WLS 6.0 console, I see that I can specify the Java class that
    implements my custom security realm but I am wondering what is the best way
    to deploy/update this code. I don't see a way to do this from the console.
    Does this mean that I have to manually copy the class files over that
    implement my custom security realm?

    Thanks Danut,
    A jar file seems to be a good way to package it up but it sounds like it
    still needs to be manually copied to each Weblogic server install directory
    post-installation and whenever it is updated. I thought it would be nice to
    be able to deploy/update the custom security realm by uploading it through
    the Console just as you can with web applications and EJBs.
    Brian
    "Danut Prisacaru" <[email protected]> wrote in message
    news:3aba2db0$[email protected]..
    You have to have your Custom Realm class in the class path. I usually havea
    jar file with all the Custom Realm classes and that jar I copy it in thelib
    folder. Then I modify "startWebLogic.cmd" and I add to the classpath
    ".\lib\CustomRealm.jar"
    set
    CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;.\lib\CustomRealm.jar;
    >
    Be aware that in order to have you custom realm besides creating thecustom
    realm using the console you also have to create a custom caching andchoose
    that one as your default caching realm.
    Here is how the security settings are looking in my "config.xml"
    <CustomRealm Name="CustomRealm"
    RealmClassName="Custom.appserver.weblogic.security.CustomRealm"/>
    <CachingRealm BasicRealm="CustomRealm" CacheCaseSensitive="true"
    Name="CustomCachingRealm"/>
    <Realm CachingRealm="CustomCachingRealm" FileRealm="wl_default_file_realm"
    Name="wl_default_realm"/>
    <FileRealm Name="wl_default_file_realm"/>
    <Security GuestDisabled="false"
    Name="mydomain" PasswordPolicy="wl_default_password_policy"
    Realm="wl_default_realm"/>
    Danut

  • What is the best way to deploy an application ??

    Hi,
    Please advise me how to automate in a best way to Deploy 10 different applications(.ear/.war)
    to 10 different Clusters(containing 40 Managed servers) in wls6.1......and that
    too in a Production environment.
    I know that we can use weblogic Console to deploy an application BUT if i have
    2 unix boxes and each box contains 4-4 clusters(each containing 16-20 managed
    servers) .....then i have to open up 2 Admin server consoles to deploy each of
    the respective applications and that too deploying these application to 8 clusters.....OR
    i can use deploy commad to do the same.
    AND if i have like 100 clusters .....then i would have to "deploy" 100 times ......
    is there any way that we can BEST AUTOMATE this process.
    Thanks a lot.
    -sangita

    Thanks Tommy. but i would like to know a very important point here: this is using
    the weblogic.utility that you just talkd about.
    Suppose iam having an ADMIN server that has say 10 clusters and 50 managed servers
    underneath to take care.
    1 cluster each = 5 managed server
    now iam deploying a simple .war file to say a single managed server, i have found
    out that it takes a looot of time to get the application deployed.
    what do you say about this situation ?
    what is the best approach ??????
    -sangita
    "Tomy Mathew" <[email protected]> wrote:
    >
    >
    To deploy the application from the command prompt in WebLogic 6.1 you
    use the
    following command
    $JAVA_HOME/bin/java -cp $WL_HOME/weblogic.jar weblogic.deploy -port $WEBLOGIC_PORT
    -host $WL_HOST_IP $WEBLOGIC_CMD $WEBLOGIC_PWD -component $WL_Server_NAME:$WL_Server_NAME
    $WL_APPLICATION_NAME YourApplication.war
    $WEBLOGIC_CMD sould be DEPLOY for the first time deployment and UPDATE
    for redeployment
    For deploying in a cluster you better create a shell script which call
    the above
    command with different cluster ip address as a parameter.
    Tomy
    "sangita" <[email protected]> wrote:
    Thanks Rob for your expertise advise. I would check to see wls8.1's
    ANT tasks.....for
    wls6.1, i would guess shell scripts to be a better option for us.
    thanks again.
    Rob Woollen <[email protected]> wrote:
    If you're using 8.1, then it's pretty nice to use ant for
    configuration/deployment/starting and stopping servers etc. There's
    a
    wlconfig task to do configuration, wldeploy to deploy applications,
    wlserver to start/stop servers.
    For 6.1, it's probably not a huge win to use ant. It's up to you.
    If
    you're more comfortable using shell scripts, that's certainly a
    reasonable route.
    -- Rob
    sangita wrote:
    Thanks Rob.
    But all the stuff that ANT can do for me FOR DEPLOYMENT (ONLY) .....ican do it
    from a simple shell script too.
    And i understand of ANT's cross-platform environment and usage of
    JAVA
    .....but
    can i use ANT to do something like CONFIGURING my wls6.1 managed
    servers/clusters/creating
    managed servers/db connection pools ......and all the other configurationthat
    i do from wls console(or manually) ....????
    and if yes, do you know of any examples, suggestions, ideas ?????
    basically, if i need to sell(?) ANT to my juniors ......what are
    the
    basic reasoning
    i can put forward....keeping in mind that these guys use wls6.1 &
    wls8.1......and
    these guys do CONFIGURATION and DEPLOYMENT only.
    sorry for asking, may be these silly questions.
    thanks, sangita
    Rob Woollen <[email protected]> wrote:
    sangita wrote:
    Thanks Rob.
    Rob, do you still consider or suggest using ANT for deploying say
    20
    applications
    on a 10 clustered environment.Yes
    do you see any advantages using [ANT + weblogic.deploy]..... over
    simply
    using
    weblogic.deploy utility ???Yes. ANT essentially gives you a cross-platform environment that
    allows
    extensibility through java. It's very powerful.
    -- Rob
    -sangita
    Rob Woollen <[email protected]> wrote:
    sangita wrote:
    Rob,
    I have found the answer for my question #1 ...this is the URL:
    http://edocs.bea.com/wls/docs81/admin_ref/ant_tasks.html
    iam still hoping to hear back from you for #2, #3
    thanks a ton.
    "sangita" <[email protected]> wrote:
    Thanks Rob.
    quick question:
    1) do you know of any example which illustrates the use of ANT
    wrapper....or
    please
    direct me to a URL where i can find some documentation about
    it.
    2) does this ANT wrapper has any advantages over using weblogic.Deployer
    utility
    ??If you're doing deployment via ant, then it's a bit more convenientto
    use <wldeploy> rather than invoking a raw <java> process, but
    fundamentally it's just a wrapper around weblogic.Deployer
    3) i would certainly check to see weblogic.deploy for wls6.1
    ....can
    i use ANT
    for deployment purpose in wls6.1 ?You'll just need to wrap it in a <java> task
    See:
    http://ant.apache.org/manual/CoreTasks/java.html
    -- Rob
    Rob Woollen <[email protected]> wrote:
    If you were using WLS 7.0 or later, you could use weblogic.Deployer.
    If
    you were using 8.1, you could use wldeploy which is an ant task
    wrapper
    for weblogic.Deployer.
    In WLS 6.1, you'll have to use weblogic.deploy which is a bit
    cumbersome, but it's still certainly possible to script deployment.
    -- Rob
    sangita wrote:
    Hi,
    Please advise me how to automate in a best way to Deploy
    10
    different
    applications(.ear/.war)
    to 10 different Clusters(containing 40 Managed servers) in
    wls6.1......and
    that
    too in a Production environment.
    I know that we can use weblogic Console to deploy an application
    BUT
    if i have
    2 unix boxes and each box contains 4-4 clusters(each containing
    16-20
    managed
    servers) .....then i have to open up 2 Admin server consoles
    to
    deploy
    each of
    the respective applications and that too deploying these applicationto 8 clusters.....OR
    i can use deploy commad to do the same.
    AND if i have like 100 clusters .....then i would have to "deploy"100 times ......
    is there any way that we can BEST AUTOMATE this process.
    Thanks a lot.
    -sangita

  • What is the best way to connect my new MBP to monitor - DVI, VGA or HDMI

    What is the best way to connect my new MBP to a computer monitor?  DVI, VGA or HDMI?  Thanks

    I recommend the Apple MiniDisplay Port to DVI adaptor.  I would avoid VGA.  MiniDisplay Port to HDMI will work as well (3rd party).
    http://www.apple.com/search/?q=dvi%20adaptor&section=mac&geo=us

  • DirectAccess 2012 - Best way to deploy between two firewalls (NAT'd)

    We are deploying DirectAccess 2012 and have a requirement that traffic from the internet (red) must be proxied through the DMZ (yellow) before touching anything on the internal network (green). I will initially only be configuring it to use IP-HTTPS (no
    teredo). We have two firewalls, one on the perimeter (FW1), and one between the DMZ and internal networks (FW2).
    I'm trying to determine the best way of deploying this in our environment. I've come up with two possibilities:
    1. Deploy with two network cards, each connected to separate DMZs. In this scenario, NIC 1 would contain the internet facing IP in DMZ 1 (say 10.10.10.2 and NAT'd by FW1), and NIC2 would contain an internal facing IP on DMZ2 (say 10.10.11.2). NIC2 would
    be routable to the internal subnets via the internal firewall.
    Crude diagram:    Internet -> FW1 -> 10.10.10.2---DA---10.10.11.2 -> FW2 -> Internal network
    2. Deploy with one network card in the DMZ. This would be NAT'd by FW1, and then pass traffic through to to FW2. Since I'd be allowing all TCP/UDP traffic (as per MS) through FW2 to the primary network, this method seems unsafe to me.
    Crude diagram:   Internet -> FW1 -> 10.10.10.2---DA -> FW2 -> Internal network
    What is the best and most secure way to deploy this in the DMZ? I do not want to put an internal network IP directly on the DirectAccess server, as it needs to go through FW2 before reaching internal. The DA server should be isolated in the DMZ.
    Advice is appreciated.

    Hi,
    The first solution is better. The DA server is under the protection of FW1, and the DA server
    already offers certain security itself, such as the requirement of a Computer Certificate, domain membership (which mean domain authentication) and so on.
    Here is a related threads,
    DirectAccess 2012 + Security concerns
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/2e394a72-d263-449f-9ec2-02701aa8cb96/directaccess-2012-security-concerns?forum=winserver8gen
    Hope this helps.
    Steven Lee
    TechNet Community Support

  • What is the best way to get the new iPhone/ iPhone 5

    What is the best way to get the new iPhone/ iPhone 5 when it is released. I want to get the phone as quick as possible. If i order it on The first day of pre orders will i get it on the same day as the release in stores? I'm on an unlimited data plan with AT&amp;T. Because the new iPhone will most likely have 4 g data will I loose the unlimited plan?

    Apple has not made any announcement.  We are not allowed to speculate on this forum.

  • Best way to start a new catalog for 2009 ?

    Hi,
    What's the best way to start a new catalog for the new year, with all the keywords and all the presets of the modules (without having to export all the folders) of previous catalog 2008 ?
    Thanks,
    Dominique

    Well there is a cost too in not being able to find all your images in a single step, and inconsistencies soon develop - eg a keyword is plural in one catalogue, singular in another. Speed or stability issues are not simply related to catalogue size, and I've seen decently-performing catalogues 50% bigger than yours (as well as slow ones of a few hundred images). Have you optimized the catalogue recently?
    But if you think it's a good idea to fragment control of your picture collection.... Presets will be carried over to a new catalogue as they belong to the machine (unless you have the save with catalogue preference turned on). Keywords can be moved via the Metadata > Export and Import Keywords command. If you have lots of collections and smart collections, then maybe make a copy of your existing catalogue and then remove all the items from it - making sure you don't trash them of course.
    John

  • Best way to add a new section in the middle of a tune?

    hi,
    what's best way to add a new section in the middle of a tune? I think I came up with an interesting transition to a tune... what's the best way to try it out?
    please be specific. if it's just select all and cut and move - I already know that one. somehow, I bet there's a better way.
    thanks in advance...

    You should be able to enter the "in" and out" points in the transport bar. And then under the Region menu, choose "Cut/Insert time."
    So if, for instance, you go up to bar 32, and want to add 8 bars, enter 32 1 1 1 in the top transport place, and 40 1 1 1 in the second. Then select "Cut/Insert Time", and an 8 bar whole will be added to your song.
    Be aware that if there are overlapping MIDI notes found at that cut point, Logic will warn you about it, and give you some options. In this case, I think "Keep" would be what you'd want, but every situation is different...
    Hope that helps....

  • What is the best way to deploy a java application ??

    Hi,
    I have a question about "deploying" a java application on to a weblogic server.
    Please advise me how to automate in a best way to Deploy 10 different applications(.ear/.war) to 10 different Clusters(containing 40 Managed servers) in wls6.1......and that too in a Production environment.
    I know of using Weblogic Console OR the "deploy" utility to do so ......BUT if i have like 100 clusters .....then i would have to "deploy" 100 times ......
    is there any way that we can BEST AUTOMATE this process.
    Thanks a lot.
    -sangita

    HELLO!!! WELCOME BACK!! I THINK YOU SHOULD USE
    deploy....Hey Thanks.
    is there any network congestion OR any other problem that i can anticipate before i use "deploy" utility. I have heared of some problems(i couldn't remember them now ....because honestly, i couldn't understand them atall when a BEA consultant told me those...).
    so, any problem that may arise ....that i need to think about before deploying ~10 applications to like ~70-80 clusters ....all at a time.
    thanks again for your advise. iam learning to see the big picture of application deployment.
    -sangita

  • The best way to deploy and redploy of a multiple SOA application

    Hi all,
    I'm looking for the best way to deploy and redeploy a multiple SOA application.
    1) The multiple SOA application contains many projects. Some projects depend on another projects.
    2) WebLogic is in productive mode.
    I wound like automaticly deploy and redeploy my multiple SOA application.
    Does anyone have any experience of this?
    Many thanks
    PG

    We use ant scripts to automatically deploy and redeploy multiple composites.
    The ant scripts gets shipped along with the SOA installation. The ant script that is used for the deployment is:
    ${oracle.home}/bin/ant-sca-deploy.xml
    You can also use the same for your deployment.

  • Best way to deploy IE11 in latest Version 11.0.7

    Hello there,
    I´m looking for the best way to deploy IE11 in the latest Version 11.0.7, because that one includes the Enterprise mode.
    When I just push IE11 out through WSUS, the RTM Version without Updates gets installed. So the scenario would be:
    Install IE11
    Reboot
    Install Updates
    Reboot
    Enterprise Mode ready
    That is of course not a good way, because after the first reboot the Enterprise Mode is not available yet and the RTM Version does not include the latest security updates.
    So I downloaded the IE11 installer and the latest IE11 Update (KB2929437) and tried the following things:
    Extract IE11-Windows6.1-KB2929437-x86.msu to get the IE11-Windows6.1-KB2929437-x86.cab
    IE11-Windows6.1-x86-en-us.exe /passive /norestart
    C:\Windows\System32\dism.exe /online /add-package /packagepath:"C:\Temp\IE11-Windows6.1-KB2929437-x86.cab" /quiet /norestart
    Reboot
    After just one reboot I had the latest Version of IE 11 (11.0.7) installed.
    I´m wondering now if this is a valid way to push it out or if there are a better ways of doing it.
    Thanks for your help!

    Hi,
    We could take use of the IEAK 11.
    IEAK 11 Overview
    IEAK 11 - Internet Explorer Administration Kit 11 Users Guide
    After we created the customized MSI package, we could use software distribution policy to deploy it.
    Deploy Internet Explorer 11
    How to use Group Policy to remotely install software in Windows Server 2008 and in Windows Server 2003
    Best regards
    Michael Shao
    TechNet Community Support

  • Best way of deploying an App on PC w/o JRE?

    Im looking on opinions on the best way to deploy an Java app to PC's without the JRE installed.
    1 - Load the JRE and the app at the same time.
    2 - Create the app as an Applet.
    The JRE just has to match the version of the JDK that the app was created on.
    Internet connectivity is not always going to be present.
    Thanks for your opinions.

    We deploy the JRE with our apps, in a subdirectory beneath the app's installation path. We then write a small C application that uses JNI to start THAT JRE and launches our application.
    The JRE is not all that huge (the installer for one of our apps (www.attachplus.com/index.jsp) is 7.5 MB).
    We use the Nullsoft open source installer system (with Modern UI plugin) to quickly create the installers - it takes a little bit of time to set up, but is very easy to use once you get used to the scripting constructs.
    This approach has a couple of really nice advantages:
    1. You are completely independent of which JRE is installed on the system
    2. You don't need to mess with separate deployment of the JRE
    3. Workstation security settings don't get in the way (i.e. users don't have to "install" the JRE, update the registry (if Win32 platform), etc...
    The (obvious) disadvantages are:
    1. You take up more drive space than you would otherwise need to
    2. It takes longer to do the initial download (we have a Setup and Update configuration of our installers - the Update config doesn't have the JRE in it, and is only 200KB).
    Another, very interesting approach (I'd like to do this, just haven't had time), would be to write a plugin for the Nullsoft installer that would check to see if a JRE is installed during setup, and would dynamically go to a web site and download and configure an appropriate JRE.
    Cheers!
    - Kevin

  • Which is the best way of deploying JSP (mod_ose or OSE) ?

    I need to deploy some jsps that are using servlet api 2.2 and i would like to know which is the best way of deploying these jsps?
    Thanks
    RJC

    Speaking of JServ Vs OSE, I have some related questions on it. I would appreciate if someone can answer:
    1.For a stateful servlet (assuming that we are using Oracle JVM), Will it not call the init() method of the servlet each time for a client (because each client will have his own Oracle JVM)? If so, isn't that expensive because it needs to initialize the servlet again?
    Again, for the same servlet, Will it not have a servlet context for each and every client? Isn't that expensive? ( A servlet context by definition maintains state information for all instances of a web application within any single JVM)
    2. If we have an application that has some portion of it which is stateless and some portion of it which is stateful, how do we make a choice JDK JVM vs Oracle JVM?
    Can we (for the same application) use both the JDK JVM as well as Oracle JVM? If so, how does the JDK JVM talk with Oracle JVM?
    3. Since Oracle JVM is useful for stateful applications only, does it mean that we cannot use it for Stateless session beans? (In an application we might have stateless session beans, stateful session beans as well as entity beans) Should we be using JDK JVM or Oracle JVM?
    4. For Servlets too, we might have stateless servlets and stateful servlets within the same application. If so, can we use JDK JVM for stateless servlets and Oracle JVM for stateful servlets? If so, how does the JDK JVM talk with Oracle JVM?

Maybe you are looking for

  • Latest Version of Air won't install on my MAC! Help!

    I have a Mac book pro running version 10.7.2.  I recently purchased Adobe CS5.5 Master Collection and proceeded to uninstal my previous version so that I could install the new one. After downloading the 'demo' version and then trying to install it, I

  • Changing username and password on used Macbook pro?

    I just inherited a MacBook Pro from a friend who left back to Saudi Arabea. He had gotten it from another friend who thought it was broken (though it turned out it just needed a new charger). Now that its working, it has a user and password, and I wa

  • HT201272 Missing purchase history???

    Recently my hard drive died on me so i had to get it replaced but lost all data from it. after getting a new hard drive installed i synced my iphone but lost all of my music. Not a problem as i thought i could just go on itunes to re-download all the

  • Account determination for entry 0010 GBB not possible

    Hi, While doing the GR, the above error is displayed. Please guide. rgds, AJit

  • Attn: Philipp Weckerle (Schedule reports (report server/rw_server_queue...)

    Philipp: Thanks for your response on an earlier thread on this topic. Based on your response, could you please elaborate on the following? "keep a history : using the reports server queue table you can keep track of jobs and their status" How/when wo