File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How To create a standalone application

 
Santhosh Gowd
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to create a stand alone application using JAVA. It should have some data storing capability, do some calculations etc.,. I have never done a task like this.
I mean it can be installed on different machines, maintain its own data. Simply, like any other applications that we install on our computers.

I need some help regarding this.
 
Haina Minawa
Ranch Hand
Posts: 119
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Santhosh Gowd wrote:I want to create a stand alone application using JAVA. It should have some data storing capability, do some calculations etc.,. I have never done a task like this.
I mean it can be installed on different machines, maintain its own data. Simply, like any other applications that we install on our computers.

I need some help regarding this.


- For the GUI you can use Swing.
- For data manipulation, you can use embedded JavaDerby database.

Then use a installer tool like JSmooth to create a installer for the application.
 
Santhosh Gowd
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will that database be integrated into the installable? I mean, in my ways, i give the database url and access the database, insert, delete, etc.,. How does this derby Db works.?
 
Rob Spoor
Sheriff
Pie
Posts: 20372
44
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apache Derby, SQLite and HSQLDB all allow you to connect to a local file, in a similar way to Microsoft Access but without needing anything else than a few JAR files, which you can deploy with your application.
 
Haina Minawa
Ranch Hand
Posts: 119
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Santhosh Gowd wrote:Will that database be integrated into the installable? I mean, in my ways, i give the database url and access the database, insert, delete, etc.,. How does this derby Db works.?


Derby creates a local files for its database, so you can include those files into your distribution. You can use standard SQL queries for Derby, just like MySQL, Access or Oracle.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic