This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Install shield for swing application?

 
Ramses Butarbutar
Ranch Hand
Posts: 52
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Maneesh Godbole
Saloon Keeper
Posts: 10971
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this a stand alone or distributed application?
 
Ramses Butarbutar
Ranch Hand
Posts: 52
  • 0
  • Mark post as helpful
  • send pies
  • 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?
 
Rob Spoor
Sheriff
Pie
Posts: 20381
46
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Francois Nadeau
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic