SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    Mar 2006
    Posts
    701
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    jar file and db4o file

    I am creating a java application using the db4o db.
    So I want the db4o db file to be inside the jar file of the application.
    So how can I find a file inside the jar file?
    Code:
    ObjectContainer db=Db4o.openFile(Util.DB4OFILENAME);

  2. #2
    SitePoint Enthusiast
    Join Date
    Jul 2008
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's a read only file? Each time your program runs the jar files are extracted and executed. When the stops you will lose the data. Is it ok?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •