开发者

JPA (or other alternatives) for persisting in-memory queue

I have an application which us开发者_开发问答es an im-memory implementation of Queue. I need to add persistence to this queue "with as less changes to my code". I want to use JPA here - I guess adding annotations would ease my work a bit. But am I right ? I have no experiene with JPA yet...any guidance will be good.

After going through some other posts, JMS is also an option I can consider. But wouldn't JMS result in a lot of code changes ?

Project Voldemort also seems a good option, which I am curretly going through.

Any other ideas are welcome. Thanks !


You can persist a queue if it implements 'Collection'. Annotate wit @ElementCollection and see.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜