Run application without mysql which was once developed using mysql

I developed a application that uses mysql database to show the contents of the database in a JTable. Now i want to send the application to others who want to run the application without the database .i.e the contents of the database must also be copied to the runnable jar file I make.

java_swinger wrote:
I developed a application that uses mysql database to show the contents of the database in a JTable. Now i want to send the application to others who want to run the application without the database .i.e the contents of the database must also be copied to the runnable jar file I make.Create a class with the table data, e.g.:
public interface MyTableData1
  public static final Object[][] DATA = {
    {" these", "are", "my data"}  };
  public static final String[] COLHEADS = {
    " Col. A", " Col. B", " Col. C"
}

Similar Messages

  • Run JSF Application without MySQL Installed in LAN...???

    Hi all,
    I am developing JSF Application with MySQL as backend. Now I want to test it on the LAN in which I don't want to install MySQL. I have a ".sql" file of my DB. Can Anyone suggest me How can I achieve that?
    If it is possible then, please explain it if possible........
    I know that, web application is for server, but my requirement is something like that. I have to create a package which runs my application on LAN, rather than on Internet. So want the solution for that. Any help will be appreciated.
    Thanks in advance,
    JSF GEEKS

    Thanks for your reply,
    But, can you explain in detail, because I don't know much about that. I have one .sql file and now what I should do for that. If is there any link or some tutorial for that then it will be great for me.
    Thanks for your support,
    JSF GEEKS

  • Run applications without  JDK/JRE?

    Dear Sir/Mdm,
    Is it possible if i could run a compiled Java application on a PC WITHOUT jdk or jre installed? If it is possible, could you share some ideas with me? Essentially, i just want to double click a certain icon in order to run the application, and no more hassles. And i want to keep the entire package small & without JRE. Please advice. Thank you for your time and attentions.
    Sincerely Budy

    The options I would consider: use an executable jar or my favorite, Java WebStart:
    http://java.sun.com/products/javawebstart/
    Keep in mind platform independency, if this is that much of a problem, bundle your application with the latest JRE.

  • How can i get user to use my application without logging on as a developer?

    Hi
    Can anyone tell me or point me in the direction of information regarding allowing users to be pointed straight to an application on apex. Curently i log in via the apex.oracle.com home page use my database name then my username and password. But that only gets me in i want to allow user to be able to view and use the applications. How can i do this? Or is this indeeded possible i would assume that it is.
    thanks
    Dan Stead

    Dan,
    Another possibility is that if you host it yourself, or go with one of the production hosting companies then they can help you to configure it so that you can point a DNS name (e.g. www.yourapp.com) to point to your application, so that is all your users would need to enter into their browsers.
    You can find a list of hosting providers here -
    http://wiki.shellprompt.net/bin/view/Apex/HostingExamples
    (in the interests of disclosure, I run one of those companies on the list)

  • HT3775 i changed a video which was once .mkv to .mov and .mp4 but quicktime still can't play it anyone know why?

    i tried to change it to all kinds of formats but it still doesnt work. The only thing i did to change it was change the name to "name.mp4". am i doing it wrong?

    Twenty1Twelve wrote:
    i tried to change it to all kinds of formats but it still doesnt work. The only thing i did to change it was change the name to "name.mp4". am i doing it wrong?
    Changing the extention name will not help. You either need to use a Video od Media converter or else download and use VLC Player (free) which plays many video formats that Quicktime cannot.
    http://www.videolan.org/vlc/download-macosx.html
    Hope this helps
    Pete

  • I need to use my iMac to run some Windows software and was thinking of using Parallels Desktop 9 to help with this. Do you still have to partition your drive with Parallels and does this leave you open to viruses?

    I need to use my iMac to run some Windows software not available for Mac and was thinking of obtaining Parrallels Desktop 9 to help with this. If I use Parrallels do you still have to partitian your drive and does this leave you open to viruses?

    You do not have to partition your drive - Parallels creates a disk image which contains your Windows installation. You do have to exercise anti-virus measures in the Windows partition, although such malware cannot affect the Mac filesystem.
    Matt

  • How to create a hyperlink on a page which was created by using APEX_ITEM

    I have a page created by using the APEX_ITEM package and i also need to create a hyperlink which will take me to a report page based on the value i have passed.
    But as the page is created manually so the value i pass thru the link is not getting passed to the next page ,what is the best approach to solve this.I have tried using session state variable but do not know where to set the session state.Please Reply fast thanks.

    Hi ,i have created the sample application hyperlink test case
    http://apex.oracle.com/pls/otn/f?p=24505:1:1070026447399612::NO:::
    here when i click on the drill hyperlink i couldnt see any report based onthe item value i passed thru the column link ,this i suppose is due to the hyperlink is created by coding thru htf.anchor and now i want to pass the value of emp id so that the employee details page comes up for a particular employee .I think we can pass the value thru session state but how that i am not sure.I dont know if it works also . Please suggest the solution.
    the username to this application is [email protected]
    and password is testmycase

  • How should I treat a by product which is once again used in Production

    Hi Gurus,
    I am working in a make-to-stock scenario in discrete manufacturing industry. There is a by product produced at the end of manufacturing process. My approach to this was I created the BOM with -ve quantity of the by product. I thought I use movement type 531(or 262) for by product. But now the matter is that this by product is once again is consumed in foundry. So I am not able to capture that part in controlling.
    Can any expert please through some light on this?
    Thanks and Regards,

    Hi
    Define a std cost for this by product through MR21 or CK11n
    1. Maintain -ve qty in BOM
    2. When you execute std cost for the header material, cost for by product recovery would get adjusted in the std cost
    3. During production, when you do GR/GI, your by product would come into stock at the same std cost
    4. In foundry process, when you issue this by product, it will be issued at same value
    Regards
    Ajay M

  • Please help me to undeploy web applications without starting weblogic.

    My colleague deployed his web application to my weblogic domain. However, the domain cannot be started after deployment. How to undeploy that application without starting the weblogic?
    I use weblogic 10.3.3. His application uses servlet and jsp and tests that application in weblogic 10.3.2

    Delete the application from the deploy directory. The domains/base_domain/autodeploy is the directory for auto deployed applications, which get deployed when server is started. Or, the domain's InstallDir directory.
    Edited by: dvohra16 on Jan 22, 2011 4:43 PM

  • Which oracle_home SQL Developer 3 uses

    Hi, all,
    I have multiple oracle homes in my desktop.
    How do you know which oracle SQL Developer uses? I'm trying to figure out which tnsname.ora file SQL Developer refers to.
    SQL Developer version: 3.0.04
    Thanks!
    alex

    You can find/change the path in Preferences - Database - Advanced - Tnsnames Directory.
    Have fun,
    K.

  • How can I sync my iPhone on a different computer without erasing my applications? My iPhone was earlier synced with a PC which I don't use anymore. Please help with proper steps, if any.

    How can I sync my iPhone on a different computer without erasing my applications? My iPhone was earlier synced with a PC which I don't use anymore.
    On the new computer, I am getting a message that my all purchases would be deleted if I sync it with new iTunes library.
    Please help with proper steps, if any.

    Also see... these 2 Links...
    Recovering your iTunes library from your iPod or iOS device
    https://discussions.apple.com/docs/DOC-3991
    Syncing to a New Computer...
    https://discussions.apple.com/docs/DOC-3141

  • Hello.  I just upgraded to Lion OS X 10.7.3.  I was previously running 10.5.7 which included the ENTOURAGE application.  how do I retrieve needed information from this application that no longer runs on this new system?

    Hello.  I just upgraded to Lion OS X 10.7.3.  I was previously running 10.5.7 which included the ENTOURAGE application.  how do I retrieve needed information from this application that no longer runs on this new system?

    The file you'll be looking for that has most of what you're looking for - messages, address book, etc. is the Entourage Database.  The verison of Microsoft Office I run (on Lion) is Office 2008.  By default the Entourage Database for this verison is at user/Documents/Microsoft User Data/Office 2008 Identities/Main Identity/Database.  That folder (Main Identitty) also has your rules, signatures, and such.  You'll have to recover this file from whatever backup you have.  If you have a different version of Entourage, the file location will be a little diffferent.
    Good luck
    srb

  • I have an imap account and deleted all mail from server. Once doing this all emails from my iPad -which was on a wi-fi- where automatically deleted. Fortunately these emails are still visible on my iPhone that was without connection. If I send all these e

    I have an imap account and deleted all mail from server. Once doing this all emails from my iPad -which was on a wi-fi- where automatically deleted. Fortunately these emails are still visible on my iPhone that was without connection. If I send all these emails to my iCloud account - they will remain into my outgoing folder until I open my wi-fi- …BUT will they be sent when I open my wi-fi connection, or since they are no longer on my server… be deleted for ever!?

    This is how IMAP works, if you delete from one device it will also be deleted in the other devices.
    iCloud do not backup e-mails.

  • "Firefox.app" is an application which was downloaded from the Internet...

    This is a topic that has been posted before but I'm creating a new one because the previous discussion is closed and none of the answers solved my problem.
    Each and every time I launch Firefox, I receive the following warning, - “Firefox.app” is an application which was downloaded from the Internet. Are you sure you want to open it?"
    For the record, I have tried the following fixes with no success:
    - Removed the Firefox folder from user/library/application support both as a user and as an admin.
    - I logged in to the Mac as an admin. and launched Firefox. The message continues to pop up after doing this, while still logged in as admin.
    - I logged in to the Mac as an admin, went to Terminal and listed the attributes. The "com.apple.quarantine" attribute does exist, however, when I tried removing it with (xattr -d com.apple.quarantine <FILE NAME>), I am told that the attribute DOESN'T exist. Huh?
    I am trying to avoid completely removing Firefox and doing a fresh install but it may come down to this. Any help would be greatly appreciated.
    Thanks!

    I had a similar problem with another application. I downloaded an update to an application from the developer, and then got this message every time I ran the program. There's a script to disable this behavior entirely on MacWorld's macosxhints site.
    I didn't want to disable this behavior for good, just for this one program. I realized that I had downloaded it as one user, but the first use (of the update) was as a different user. I logged in under the user ID that I used when I downloaded the application and ran the program. After that, the warning went away.
    My guess is that you did something similar. Log in as the user ID you used when you first downloaded the updated FireFox and run the program. The warning should go away.
    If you can't remember which user ID you used, try the brute force approach - log in as each of your user IDs and run FireFox.
    Good luck!

  • "........" is an application which was downloaded from the Internet. Are you sure you want to open it?

    I get the following warning every time I try to open a recently download application. I'm running Mavericks 10.9.3
    "xxxxx' is an application which was downloaded from the Internet. Are you sure you want to open it?
    How do I disable this warning for a particular application?
    Update: problem solved. The Mac in question has multiple users, but only one user has administrator privileges. The problem was simply that the application in question had never been opened by the administrator. Once the administrator opened the application the warning went away.

    If using a mouse, you can right click on the application installer this will give you an "Open with" popup and you can chooes to open the application installer using the standard installer.
    Another method to do the same exact thing is to hold the Control key while left clicking on the Application installer will give you the exact same popup menu.

Maybe you are looking for

  • Strange issues on OLAP univese based on Bex

    I am posting some strange questions and this forum might have answers but any responses will helpme out here 1. Source System : The Bex query based universe object is displaying all source systems in BW, so everytime the Source Syetms object been pul

  • MacBook Pro os 10.8.5 loses wifi connection when going to sleep

    Hi all. I've a domestic wifi network with 3 Macs, 1 Xbox and 3 Android mobiles. Only the two MBP with OS 10.8.5 have the same problem: when gone to sleep, they do not re-find the network after waking up. I've to make them search for it manually (they

  • Feature Request: Several Key Items

    I am not really new to DPS. Have been publishing under contract for my client for the last 2 years now and it's been going great. However, there seems to be a few things we wish for that we can't seem to do. I figured this is probably the best place

  • Best Practices: iPad/MacBookPro synching for video production in education

    My organization just bought 14 Macbook Pros and 14 iPads Minis. Our goal is to have students in single-day classes use the iPads to film something, then synch/export the video to a MacBook Pro where they can then edit that video in iMovies. Once that

  • Fonts not displaying properly in Safari

    I built a webpage in Adobe Dreamweaver and for the most part the text is editable. It displays properly in all web browsers (internet explorer, chrome, firefox) except for Safari. When I view it in Safari on my MacBook Pro, the sections where text is