Hi,
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!!!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032132#4032132
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032132
anonymous wrote : In your code that alters data raise an event:
It's better to use an afterTransactionSuccess event, more elegant txn model.
anonymous wrote : I am getting greedy now. Is there somewhere I can place the event call inside a @Conversational bean so that it will get fired on any @End call?
Seam has a built-in event that it fires at the end of every conversation. You can listen for that, and then raise an afterTransactionSuccess event from the listener.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032131#4032131
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032131