What's the best way to persist data in a Java Desktop Application?

后端 未结 6 1589
再見小時候
再見小時候 2021-02-14 10:19

I have a large tree of Java Objects in my Desktop Application and am trying to decide on the best way of persisting them as a file to the file system.

Some thoughts I\'v

6条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-14 10:47

    I would go for the your final option JavaDB (Sun's distribution of Derby) and use an object relational layer like Hibernate or iBatis. Using the first three aproaches means you are going to spend more time building a database engine than developing application features.

提交回复
热议问题