Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to make jar file for database dependent java application

 
Lavanya Balaraman
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic