aspose file tools*
The moose likes Java in General and the fly likes Install shield for swing application? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Install shield for swing application?" Watch "Install shield for swing application?" New topic
Author

Install shield for swing application?

Ramses Butarbutar
Ranch Hand

Joined: Jun 16, 2009
Posts: 52
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


At the center of non-violence stands the principle of love
.... Martin Luther King, Jr.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

Is this a stand alone or distributed application?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Ramses Butarbutar
Ranch Hand

Joined: Jun 16, 2009
Posts: 52
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?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19719
    
  20

If you do a search in Java in General you'll find several answers. I'm also moving this thread there.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Francois Nadeau
Ranch Hand

Joined: Apr 09, 2009
Posts: 46
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.


[url]http://FrancoisNadeau.com[/url]
Ramses Butarbutar
Ranch Hand

Joined: Jun 16, 2009
Posts: 52
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

Joined: Apr 09, 2009
Posts: 46
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

Joined: Jun 16, 2009
Posts: 52
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Install shield for swing application?