JBoss Cache uses a standard ObjectOutputStream to write your objects to a byte
stream.
If your class implements Externalizable instead of Serializable, you can
implement writeExternal() and readExternal() to stream your class the way you
want it.
View the original post :
http://www.jboss.com
Of course, i know what does @Transient means in a single JVM, but how about
cluster wide @Transient across JVMs?
Can u point me where to hack first?
For the Hibernate/JTA issue, there seems no problem for me to make JTA works.
Thanks,
Yau.
View the original post :
http://www.jboss.com/index.
Take a guess - what do you thnik @Transient means? :-) anything with this
attrib will *not* be seralized when you use an ObjectOutputStrean to generate a
byte stream to transmit on a network!
Re: the Hibernate/JTA issue, note that the wiki page has been updated. Sure
you can hack them to w
So, it is not possible to stream @Transient field across JVMs?
The issue with JBoss Cache, Hibernate and JBoss Transactions without a Java EE
app server still have problem?
Any chance i can hack them all?
Thanks,
Yau.
View the original post :
http://www.jboss.com/index.html?module=bb&op=view
By definition a @Transient field will not get serialized/streamed. If you are
using it as a lock to synchronise on, that lock would only be valid on a single
JVM.
Regarding the issue with JBoss Cache, Hibernate and JBoss Transactions, this is
to do with Hibernate using a transaction manager ou
Hi,
thanks, but in
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCacheHibernateTransactionsStandaloneExample
anonymous wrote : NOTE: In spite of the example working, transaction
management is not working appropriately when it comes to both Hibernate and
JBossCache participating of the same tr
Hi,
yes, depending on your system architecture. Basically using JBoss Cache as a
2nd level cache for Hibernate will mean that you reduce strain on your database
backend, if that is in fact your bottleneck. If your bottleneck is elsewhere,
e.g., in rendering parts of your application, dependin