File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes How To create a standalone 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 "How To create a standalone application" Watch "How To create a standalone application" New topic
Author

How To create a standalone application

Santhosh Gowd
Greenhorn

Joined: Nov 28, 2011
Posts: 13
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

Joined: Oct 13, 2011
Posts: 119
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

Joined: Nov 28, 2011
Posts: 13
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

Joined: Oct 27, 2005
Posts: 19722
    
  20

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Haina Minawa
Ranch Hand

Joined: Oct 13, 2011
Posts: 119
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.
 
subject: How To create a standalone application