Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to start the database server from code

 
Milutin Markovic
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I’m going to be deploying a java desktop app, and I am curious on how to start the
database server from within the code. I have done all of my testing through
netbeans, and have been able to get all of the connections and transactions to go
smoothly, but the database was started by using the tools > javadb > start db
server option in netbeans.

With deployment, I’ll need to be able to start the code from within my java
code.
 
Jan Cumps
Bartender
Posts: 2588
11
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should be able to run it as an embedded database in stead of a service.
Using Java DB in Desktop Applications
Regards, Jan
 
Jan Cumps
Bartender
Posts: 2588
11
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
... and welcome on JavaRanch.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic