What is the best way to distribute your swing application:

I have developed a application that connects to data base and it containes the functionality to manage the invoices and receipts system, but i am scare to distribute it by building it to jar using the netbeans build option , it runs fine but when i extract the jar file back i m scare that any one can easily decompile it using JAD and get the database credentials , please tell me the best way to distribute the application so that reverse engineering the application will not be possible please tell me that :(

Decompiling is unnecessary. All somebody would have to do would be to sniff the transmissions between your application and your database; the credentials are sent unencrypted.
So the problem is not that somebody could find out the database credentials, the problem is that your database exposes itself to the internet. And if anybody does find the credentials through any method at all, then you've got a problem.
And by the way if you distribute your application with the credentials hard-coded, then that makes it difficult for you to change the password if it does get compromised, because then nobody can use your application any more. This is a bad thing because one of the first things you should do when your system is compromised is to change the access password.
So really the best way to distribute this application would be to write it so that it connects to an application which runs on your server. This server application would communicate with the database, which would make it unnecessary for the database to be visible from the internet. Your Swing application would communicate with the server application via some kind of web service protocol.

Similar Messages

  • What's the best way to use your iPad instead of textbooks?

    What's the best way to use your iPad instead of textbooks? I'm about to start a BSN program and have heard of using your iPad for textbooks instead of buying and carrying around 8 different books. Is there an app for that? Or do you buy or rent the books? What's the best solution?

    Or, if you're like me and you want to do a lot of heavy reading, use the iPad because the low contrast on a Kindle is extremely fatiguing.  
    Seriously, though "screen glare will cause eye strain" is often taken as an article of faith, there's not a lot of good scientific evidence for it. "Eye strain" can be caused by concentrating on any close work for long periods of time. Looking up and focusing on something distant periodically is very helpful. Older CRT screens that flicker also can be aggravting. I'm not denying that some people find reading backlit screens uncomfortable. However, it's not dangerous. And, then, there are other people who find the higher contrast a backlit screen affords to be much less wearying over long periods of time.

  • What is the best way to migrate your Adobe software to another computer?

    What is the best way to migrate your Adobe software to another computer?

    If you know that you do not intend to use the software on the old machine (especially if you are getting rid of it), the minimum you need to do is deactivate it.  That will disable use of it and free up an extra activation for you should you ever wish to have two machines available to use it on.  To deactivate you just open an application and choose Help -> Deactivate.  If this happens to be a Creative Suite, doing that to just one of the applications will deactivate the entire Suite.
    You can also uninstall the software if you like, but be sure to deactivate it first.

  • What is the best way to keep your files organised

    I would like to know what is the best way to keep your file organise when I am
    Loading program's like numbers and pages from iPhone to MacBook i alway 
    Get double of the same work sheet

    I would like to know what is the best way to keep your file organise when I am
    Loading program's like numbers and pages from iPhone to MacBook i alway 
    Get double of the same work sheet

  • What is the best way to maintain your Battery Life for Iphone 5 ?

    What is the best way to maintain your Battery Life for Iphone 5 ?

    hi,
    so what would you suggest to do here then. let it get to 50% then run the battery down and at say 5-%ish re-charge it fully.
    is there anything i could switch off on my phone to save battery power. ive taken off he location services apart from ym locate my iphone, stopped the fetch new data and set it to manaul . this is also the same for the icloud as well.more or less everything has been set to manual or set to off ??

  • What is the best way to keep your macbook pro in tip top condition. performance wise

    What is the best way to keep the performance of a macbook pro in tip top shape.  Over the years my computer seems to act like a pc with all of its hicups and lockups.
    I am running mountain lion and this computer is approx 2 years old.
    Not sure if there is some sort of software that will help with this or is there something else I can do.
    Thanks
    GAJ

    How to maintain a Mac
    1. Make redundant backups, keeping at least one off site at all times. One backup is not enough. Don’t back up your backups; all should be made directly from the original data. Don’t rely completely on any single backup method, such as Time Machine. If you get an indication that a backup has failed, don't ignore it.
    2. Keep your software up to date. In the App Store or Software Update preference pane (depending on the OS version), you can configure automatic notifications of updates to OS X and other Mac App Store products. Some third-party applications from other sources have a similar feature, if you don’t mind letting them phone home. Otherwise you have to check yourself on a regular basis.
    Keeping up to date is especially important for complex software that modifies the operating system, such as device drivers. Before installing any Apple update, you must check that all such modifications that you use are compatible. Incompatibility with third-party software is by far the most common cause of trouble with system updates.
    3. Don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” "boosters," “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, such stuff is useless or worse than useless. Above all, avoid any software that purports to change the look and feel of the user interface.
    It's not much of an exaggeration to say that the whole "utility" software industry for the Mac is a fraud on consumers. The most extreme examples are the "CleanMyMac" and “MacKeeper” scams, but there are many others.
    As a rule, the only software you should install is that which directly enables you to do the things you use a computer for, and doesn't change the way other software works.
    Safari extensions, and perhaps the equivalent for other web browsers, are a partial exception to the above rule. Most are safe, and they're easy to get rid of if they don't work. Some may cause the browser to crash or otherwise malfunction.  Some are malicious. Use with caution, and install only well-known extensions from relatively trustworthy sources, such as the Safari Extensions Gallery.
    Never install any third-party software unless you know how to uninstall it. Otherwise you may create problems that are very hard to solve. Do not rely on "utilities" such as "AppCleaner" and the like that purport to remove software.
    4. Don't install bad, conflicting, or unnecessary fonts. Whenever you install new fonts, use the validation feature of the built-in Font Book application to make sure the fonts aren't defective and don't conflict with each other or with others that you already have. See the built-in help and this support article for instructions. Deactivate or remove fonts that you don't really need to speed up application launching.
    5. Avoid malware. Malware is malicious software that circulates on the Internet. This kind of attack on OS X was once so rare that it was hardly a concern, but malware is now increasingly common, and increasingly dangerous.
    There is some built-in protection against downloading malware, but you can’t rely on it — the attackers are always at least one day ahead of the defense. You can’t rely on third-party protection either. What you can rely on is common-sense awareness — not paranoia, which only makes you more vulnerable.
    Never install software from an untrustworthy or unknown source. If in doubt, do some research. Any website that prompts you to install a “codec” or “plugin” that comes from the same site, or an unknown site, is untrustworthy. Software with a corporate brand, such as Adobe Flash Player, must come directly from the developer's website. No intermediary is acceptable, and don’t trust links unless you know how to parse them. Any file that is automatically downloaded from the web, without your having requested it, should go straight into the Trash. A web page that tells you that your computer has a “virus,” or that anything else is wrong with it, is a scam.
    In OS X 10.7.5 or later, downloaded applications and Installer packages that have not been digitally signed by a developer registered with Apple are blocked from loading by default. The block can be overridden, but think carefully before you do so.
    Because of recurring security issues in Java, it’s best to disable it in your web browsers, if it’s installed. Few websites have Java content nowadays, so you won’t be missing much. This action is mandatory if you’re running any version of OS X older than 10.6.8 with the latest Java update. Note: Java has nothing to do with JavaScript, despite the similar names. Don't install Java unless you're sure you need it. Most people don't.
    6. Don't fill up your boot volume. A common mistake is adding more and more large files to your home folder until you start to get warnings that you're out of space, which may be followed in short order by a boot failure. This is more prone to happen on the newer Macs that come with an internal SSD instead of the traditional hard drive. The drive can be very nearly full before you become aware of the problem.
    While it's not true that you should or must keep any particular percentage of space free, you should monitor your storage use and make sure you're not in immediate danger of using it up. According to Apple documentation, you need at least 9 GB of free space on the startup volume for normal operation.
    If storage space is running low, use a tool such as OmniDiskSweeper to explore the volume and find out what's taking up the most space. Move seldom-used large files to secondary storage.
    7. Relax, don’t do it. Besides the above, no routine maintenance is necessary or beneficial for the vast majority of users; specifically not “cleaning caches,” “zapping the PRAM,” "resetting the SMC," “rebuilding the directory,” "defragmenting the drive," “running periodic scripts,” “dumping logs,” "deleting temp files," “scanning for viruses,” "purging memory," "checking for bad blocks," "testing the hardware," or “repairing permissions.” Such measures are either completely pointless or are useful only for solving problems, not for prevention.
    To use a Mac effectively, you have to free yourself from the Windows mindset that every computer needs regular downtime maintenance such as "defragging" and "registry cleaning." Those concepts do not apply to the Mac platform. A computing device is not something you should have to think about very much. It should be an almost transparent medium through which you communicate, work, and play. If you want a machine that is always whining for your attention like a neurotic dog, use a PC.
    The very height of futility is running an expensive third-party application called “Disk Warrior” when nothing is wrong, or even when something is wrong and you have backups, which you must have. Disk Warrior is a data-salvage tool, not a maintenance tool, and you will never need it if your backups are adequate. Don’t waste money on it or anything like it.

  • What are the best ways to protect your macbook?

    I have ordered my 1st ever Apple product, the White Macbook.
    I would like to know what are the best ways to keep it save and in top condition?
    Apple have given me this case as a good will gesture, so I won't be needing a case for it: http://store.apple.com/Apple/WebObjects/ukstore.woa/wa/RSLID?mco=94689A4C&nplm=T J702
    But any solutions for stopping the discolouration (i hope this never occures on with my macbook) but any invisible stickers which I can put on the palm areas?
    Any tips?

    The new plastics really don't have the discoloration problem, so you don't actually need palm rest protection. Any dirt can be taken care of with a Mr. Clean Magic Eraser. I use only a silicone keyboard cover by Carapace to protect my macbook. I type so much that the letters often wear off my keys, and this will prevent that, as well as dust entering through the keyboard or, God forbid, any spilled liquid. The macbook heat vents are in the back, so my macbook does not overheat with the keyboard cover in place.

  • What is the best way to archive your photos?

    My computer has gotten very slow, and I want to take my thousands of pictures off.  What is the best way to archive them?

    EtreCheck version: 1.9.11 (43) - report generated May 29, 2014 4:13:51 PM EDT
    Hardware Information:
              iMac (20-inch, Mid 2007)
              iMac - model: iMac7,1
              1 2.4 GHz Intel Core 2 Duo CPU: 2 cores
              2 GB RAM
    Video Information:
              ATI,RadeonHD2600 - VRAM: 256 MB
    System Software:
              Mac OS X 10.7.5 (11G63) - Uptime: 0 days 0:8:11
    Disk Information:
              WDC WD3200AAJS-40RYA0 disk0 : (320.07 GB)
                        disk0s1 (disk0s1) <not mounted>: 209.7 MB
                        My Hard Drive (disk0s2) / [Startup]: 319.21 GB (100.73 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
    USB Information:
              Western Digital My Book 1110 999.5 GB
                        disk1s1 (disk1s1) <not mounted>: 32 KB
                        My Book (disk1s3) /Volumes/My Book: 999.37 GB (411.64 GB free)
              Apple Inc. Built-in iSight
              Apple Inc. Bluetooth USB Host Controller
              Apple Computer, Inc. IR Receiver
    Kernel Extensions:
              [not loaded] com.Belcarra.iokit.USBLAN_netpart (2.0.2) Support
              [not loaded] com.Belcarra.iokit.USBLAN_usbpart (2.0.2) Support
              [not loaded] com.FTDI.driver.FTDIUSBSerialDriver (2.2.14) Support
              [not loaded] com.RemoteControl.USBLAN.panther (1.6.1) Support
              [not loaded] com.RemoteControl.USBLAN.usbpart (2.0.6) Support
              [not loaded] com.belcarra.iokit.netpart.panther (1.6.1) Support
              [not loaded] com.belcarra.iokit.usbpart.panther (1.6.1) Support
              [not loaded] com.sony.driver.prs (1.0.0d1) Support
              [kext loaded] com.symantec.kext.SymAPComm (11.2.2f3) Support
              [not loaded] com.symantec.kext.confidentialData (1.4f5) Support
              [kext loaded] com.symantec.kext.filesecurity (1.4.3f19) Support
              [kext loaded] com.symantec.kext.fw (1.0.3f5) Support
              [kext loaded] com.symantec.kext.internetSecurity (1.3.2f5) Support
              [kext loaded] com.symantec.kext.ips (1.3.1f7) Support
              [kext loaded] com.symantec.kext.pf (4.2.1f7) Support
    Startup Items:
              HP IO: Path: /Library/StartupItems/HP IO
              HP Trap Monitor: Path: /Library/StartupItems/HP Trap Monitor
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist Support
              [loaded] com.microsoft.office.licensing.helper.plist Support
              [loaded] com.symantec.avscandaemon.plist Support
              [running] com.symantec.deepsight-extractor.plist Support
              [running] com.symantec.diskMountNotify.plist Support
              [running] com.symantec.MissedTasks.plist Support
              [loaded] com.symantec.navapd.plist Support
              [running] com.symantec.navapdaemonsl.plist Support
              [loaded] com.symantec.Sched501-1.plist Support
              [running] com.symantec.sharedsettings.plist Support
              [running] com.symantec.symdaemon.plist Support
              [running] com.symantec.symSchedDaemon.plist Support
    Launch Agents:
              [running] com.sony.ReaderLibrary.ReaderLibraryLauncher.plist Support
              [not loaded] com.sony.ReaderLibrary.RunReaderLibrary.plist Support
              [running] com.symantec.uiagent.application.plist Support
    User Launch Agents:
              [loaded] com.adobe.ARM.[...].plist Support
              [loaded] com.google.keystone.agent.plist Support
    User Login Items:
              iTunesHelper
              AirPort Base Station Agent
              SmileboxTray
              LOGINserver
              InstUtilLaunch
              HP Scheduler
              SymSecondaryLaunch
    Internet Plug-ins:
              Flip4Mac WMV Plugin: Version: 2.2.1.11  Support
              FlashPlayer-10.6: Version: 13.0.0.214 - SDK 10.6 Support
              JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
              AdobePDFViewerNPAPI: Version: 10.1.10 Support
              AdobePDFViewer: Version: 10.1.10 Support
              DivXBrowserPlugin: Version: 1.4 Support
              Flash Player: Version: 13.0.0.214 - SDK 10.6 Support
              Photo Center Plugin: Version: Photo Center Plugin 1.1.2.2 Support
              QuickTime Plugin: Version: 7.7.1
              SharePointBrowserPlugin: Version: 14.4.1 - SDK 10.6 Support
              iPhotoPhotocast: Version: 7.0
    Audio Plug-ins:
              iSightAudio: Version: 7.7.1 - SDK 10.7
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.3 - SDK 10.7
    User Internet Plug-ins:
              Move-Media-Player: Version: npmnqmp 07076003 Support
              fbplugin_1_0_3: Version: (null) Support
              Google Earth Web Plug-in: Version: 7.1 Support
    3rd Party Preference Panes:
              DivX  Support
              Flash Player  Support
              Flip4Mac WMV  Support
              Norton\nQuickMenu  Support
    Time Machine:
              Time Machine not configured!
    Top Processes by CPU:
                   2%          mds
                   1%          WindowServer
                   1%          WebProcess
                   0%          NortonAutoProtect
                   0%          Mail
    Top Processes by Memory:
              684 MB          NortonAutoProtect
              82 MB          WebProcess
              80 MB          Mail
              68 MB          Safari
              45 MB          mds
    Virtual Memory Information:
              71 MB          Free RAM
              1.17 GB          Active RAM
              536 MB          Inactive RAM
              243 MB          Wired RAM
              279 MB          Page-ins
              760 KB          Page-outs

  • The best way to distribue att Swing Application?

    How can I do this?
    If I give it out in .class format only them with J2SE will be able to run it..
    how do you do it?
    Tanx for any help!

    Hi,
    it depends on how you distribute your Swing
    application. If you distribute it on CD, then include
    a JRE on the CD.
    Or you could try to convince or attract your users to
    download the latest JRE themselves before the first
    usage of your application.
    If you distribute your application through the web,
    put two buttons on a HTML page, one linking to a JRE
    download (with some installation instructions before
    the start of the download), the second button being a
    JavaWebStart button for your swing application.
    Or you could use InstallAnywhere and bundle JRE and
    application into an installer.
    HTH
    Ulrich
    Tanx
    Go to http://forum.java.sun.com/thread.jsp?forum=31&thread=335146
    and write anything and I'll give you a duke dollar

  • What's the best way to organise your library?

    I'm just getting to grips with Aperture and something has struck me. I'm not sure my existing libray is the best way to store my photos now I'm using Aperture.
    Before using Aperture I had two folders called Digital Negatives and Final Prints.
    Inside the Digital Negatives folder I then had sub folders named after the shoot date e.g. 25-03-2007 and inside these were all the RAW files I shot on that day.
    Inside the Final Prints folder I then had sub folders named after what I was shooting and the date e.g. The London Eye 25th March 2007 and inside this where all the high res TIFF files I had created from the RAW files in the other folder.
    As for naming, all files retain their orginal file name so a TIFF file I had converted from a RAW file would be called something like CRW_2878.TIFF and the matching RAW file would be CRW_2878.CRW.
    What I've done is to create two projects from within Aperture called Digital Negatives and Final Prints and imported the respective photos into these projects as referrenced material and I am well into the whole keywording process.
    Having now used Aperture for a few days I can see and appreciate how Aperture works and tracks versions even versions that have been edited in Photoshop so I'm thinking that instead what I should have done was to create a unique project for say each location/event I shot and then import both the RAW and TIFF files into this project and then stack each RAW file with it's corresponding TIFF file.
    Question: Is this the best way of organising a large existing library consisting of RAW and TIFF files?
    Question: Is there a way or a need to tell Aperture that a particular TIFF file is a version of a particular RAW file?
    Question: Is there a way of 'merging' all these photos together so that I don't loose all the keywords and stacks etc that I've already added.
    20" iMac   Mac OS X (10.4.9)  

    One amateur's guess: you're coming to the right conclusion.
    Since you never actually work on the master itself, yet can always see it (by pressing 'M'), there's no need to make master/other an organizing principle. Events, or something that anchors images' categorial whereabouts in your memory, seems more useful. (Keywording is essential anyway.)
    If your TIFFs are made by editing in an external editor, they'll get stacked with the originals automatically. Otherwise you'll have to do that. In any case, what you'll probably need to do is either
    a) search on Text such as "tiff" to locate files of various kinds, and move bunches of 'em around that way, and/or
    b) in the Browser go to List view and use the "sort-by" columns to group the things you want to move.
    You should be able, one of those ways, to reorganize your images in fairly large chunks.
    Warning: doing massive reorganization in a library seems to produce problems sometimes -- wrong thumbnails, running out of disk space. See various recent posts. It's probably safest to do a relatively modest amount of reorganization (moving images from one Project to another) at a time, meaning quit and restart Aperture between times.
    Others can give you more pro advice, though.

  • What is the best way to preserve your battery?

    I'm new to macs and I would like to know the best way to prolong my battery life, is it better to keep it plugged in while you can and disconnect it only when necessary or is it better to let your battery run down then fully charge it again.

    See Apple - Batteries and About Notebook Batteries
    This is especially important:
    Standard Maintenance
    For proper maintenance of a lithium-based battery, it’s important to keep the electrons in it moving occasionally. Apple does not recommend leaving your portable plugged in all the time.
    Apple recommends charging and discharging its battery at least once per month.

  • What is the best way to update your reference images?

    Hello,
    We are using MDT 2013 to deploy Windows 7x64. We have an automated process to generate our reference images using Powershell and Hyper-V. It works great.
    We generate new images once per month, and I would like to know the best way to update the .wims in the deployment share.
    Can I just copy the new .wim file into the deployment share with explorer and overwrite the old one? I assume this method will retain the old GUID in the MDT console. Will new deployments just start using this new .wim as soon as it is coped? Do I need to
    update the deployment share?
    Do I need to import a new OS through the MDT console? Doing this I assume will require me to select the new .wim in my task sequence, since the newly imported OS will have a new GUID.
    Also, these .wim files are used in our test deployment share before our production share. Can I just copy/paste from one share to the other? What does this do to the OS GUID? Does it get a new one or does it retain the old GUID from the original share?
    Appreciate any feedback.

    As long as the replacement WIM is the same version number, and the same WIM Index, I would be OK with just robocopy'ing the install.wim over the old version.
    Replication between the test and production shares should use the same GUID's so you should be OK.
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

  • What's the best way to associate your MobileMe apple ID with a new email

    Just wanted to know the best way to get my MobileMe acct to be the same email as iCloud's.   It must go that direction and not have iCloud assoc with email for MobileMe.
    Thanks!

    So you have two iCloud accounts now?  If I understand you correctly you migrated your old mobileme email to a new iCloud account, and you created a second iCloud account with a new @me.com email?
    In that case, no worries about your iTunes content or app purchases made previously.  As I say, your AppleID is just the email address you registered when you created the account - literally, AppleID=email address.  So it does not matter that the old @me.com address has been migrated to iCloud.  As long as that is still a valid and verifiable address, then that address=AppleID lives on just as before.  Just login to iTunes and the app store with the same ID you've used previously.

  • What is the legal way do distribute iPad corporate application within the company employees and avoid it downloading by a million of other users?

    Hello,
    My company has about 1500 employees. The purpose is to distribute our corporate application within their iPads. What are the possible legal ways to distribute?

    You can try these links, but some may require an active account to access:
    Enterprise Guide:
    iPhone OS - Enterprise Deployment Guide
    https://developer.apple.com/library/ios/#featuredarticles/FA_Wireless_Enterprise _App_Distribution/Introduction/Introduction.html
    Distributing Enterprise Apps for iOS 4 Devices

  • 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

Maybe you are looking for