• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Install shield for swing application?

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a desktop application made using swing. It use mysql as database. I like to bundle my application and my database (if possible ) as one installer. So i can deploy it any where. Any one have idea to deal with this??

Thanks in advance..

Ramses
 
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is this a stand alone or distributed application?
 
Ramses Butarbutar
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Maneesh Godbole wrote:Is this a stand alone or distributed application?



Maneesh,

Yeah, it's a stand alone application.. I just found advance installer to bundle java application.. But is there any open source application to make installer for java application?
 
Sheriff
Posts: 22510
122
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you do a search in Java in General you'll find several answers. I'm also moving this thread there.
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ramses,

Not sure whether or not this will help you, but I did this last year with a Hypersonic database (HSQLDB). We had an application which supported Oracle, MySQL, and MS-SQL via Hibernate data access. So I simply added the Hypersonic jar file to the bundle, and then executed the db within the same VM. It worked great for our application (it actually runs faster since it does not need to travel the network). It also allowed us to sale a new spin-off (Personal Edition VS Server edition) of our application.

I would recommend the same to you if your application does not access a lot of data, and if your data access layer is decoupled from MySQL.

Cheers.
 
Ramses Butarbutar
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Francois Nadeau wrote:Hi Ramses,

Not sure whether or not this will help you, but I did this last year with a Hypersonic database (HSQLDB). We had an application which supported Oracle, MySQL, and MS-SQL via Hibernate data access. So I simply added the Hypersonic jar file to the bundle, and then executed the db within the same VM. It worked great for our application (it actually runs faster since it does not need to travel the network). It also allowed us to sale a new spin-off (Personal Edition VS Server edition) of our application.

I would recommend the same to you if your application does not access a lot of data, and if your data access layer is decoupled from MySQL.

Cheers.



Hi Francois,

Yeah Francois, that's i'm gonna do.. added into the bundle.. using advance installer, you can plug all library , all related jar into bundle.. and nothing worry about JVM. But it's not free... hahaha... ( I hope there is a free software... using open source. ).Yups your right , executing db and bundle within the same VM run faster... compare to if we use java web start and access db form colo server.

Thanks alot Francois...

Best regards,

Ramses
 
Francois Nadeau
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ramses,

If you are looking for a free opensource Java installer, you may want to check out IzPack http://izpack.org/. It worked fine for me, but commercial products tend to be easier to use.

Cheers.

 
Ramses Butarbutar
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Francois Nadeau wrote:Hi Ramses,

If you are looking for a free opensource Java installer, you may want to check out IzPack http://izpack.org/. It worked fine for me, but commercial products tend to be easier to use.

Cheers.



Hi Francois,

Thanks for the info.. IzPack is executable jar by double clicking not executable file. Buid project by using netbeans also produce executable jar.
Yeah have to admit, commercial product tend to be easier to use.. I have to propose extra budget to get commercial product and doing presentation on an extra budget always "night mare" to company nowadays.


Best regards,

Ramses
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic