Come to think of it... Your point is really important. However, the
solution is a bit more drastic than I'd like it to be.
That is, I would like to use commit option A as much as possible.
Because it's more efficient for one thing!

Through the other application, I _know_ when the beans are to be
invalidated... I'd like to inform JBoss of that so that
all beans are flagged as needing a reload...

Can you suggest something closer to that "spec"? :)

Dan


-----Message d'origine-----
De : Juha Lindfors [mailto:[EMAIL PROTECTED]]
Envoyé : 13 avril, 2001 11:13 
À : [EMAIL PROTECTED]
Objet : RE: [JBoss-user] Flushing the cache



Hi,

At 09:50 13.4.2001 -0400, you wrote:
>The problem is that we have to deal with direct access to the
underlying
>database. We absolutely cannot make all accesses go through the EJB
>layer (for now that is). While this is the case, we have to find ways
to
>make JBoss refresh the data from the physical database when it is
>changed.

I think you should look up "commit options" from the EJB spec, it
answers
your question :)

-- Juha



>
>
>So we thought it would be simple to add a SSB to offer cache management
>services to our "old" application to call. ie. make changes through
>VB/ADO/OleDB application and "inform" the JBoss server that those
tables
>need to be "flushed". 
>
>We can make the passivation delay very short, but I think that would be
>overkill... 
>
>Suggestions ?
>
>Thanks!
>
>Daniel
>
>> Hi,
>> 
>> I need to flush the cache manually.  I already know that 
>> there is a tag
>> <overager-period> that does an auto passivate on bean that are older
>> than the <max-bean-age>. But how can I do a passivate 
>> manually on every
>> bean in the cache when I need it.
>
>You can't.
>Why would you BTW ?
>It seems to me that you should not care about passivation, it should be
>transparent to you, shouldn't be ?
>
>Simon
>
>_______________________________________________
>JBoss-user mailing list
>[EMAIL PROTECTED]
>http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>_______________________________________________
>JBoss-user mailing list
>[EMAIL PROTECTED]
>http://lists.sourceforge.net/lists/listinfo/jboss-user
>

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to