This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes how to make jar file for database dependent java application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to make jar file for database dependent java application" Watch "how to make jar file for database dependent java application" New topic
Author

how to make jar file for database dependent java application

Lavanya Balaraman
Greenhorn

Joined: Feb 17, 2009
Posts: 10
i was able to make and run the jar file for simple applications in which database involved.

In the same manner I made jar file it is running but not saving the data in the database. how can i made the jar file which connects the database and what are the files have to included in the jar file

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41073
    
  43
I think you need to provide a lot more information about what you're trying to do, and how it is failing.

Your first sentence seems to say that you have an application in a jar file that successfully uses a database, while the second sentence seems to say the opposite.

Why do you suspect that keeping the application in a jar file has any impact on whether or not it can connect to a database?


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to make jar file for database dependent java application
 
Similar Threads
Using MS ACCESS in a jar file
Jar a project with property files in it external to jar
to make a user friendly jar file
To run a JFrame application opening a JAR file
Making a .exe File.