I am trying to create a file based persistence manager and I am not sure how to do it in JBoss. a direction to the example would be helpful. can you please provide one?
here is what I want to try:
1. create a file based Queue
2. send data to the queue from my web app
3. read data from queue using MDB and insert it into the database
4. I am assuming that file based queue would be faster then database based.
Also do you think that the performance with hypersonic database queue would be same as file based? if so that I can use hypersonic database.
Thanks for your help!!!!
In my experience, hypersonic, since it's embedded, is as fast as a file based persistence manager. However, many contend that it is unreliable under load.
If you are absolutely performance-minded, I suggest you use ActiveMQ or JBoss Messaging over JBossMQ.