Ok, ok... I forgot about timezone conversion.
But putting a hat of a customer I was once, on a system I was writting, simply
using Calendars to do such conversions were much faster than using
SimpleDateFormat. There is a lot of expression parser and compilations as you
said, and if you don't n
"[EMAIL PROTECTED]" wrote :
| - I actually (as a programmer) would recommend to not use SimpleDateFormat
unless your formatting is stored in a database field since its performance is
pretty bad.
Hmmm, would say, that depends. Its probably not as fast as Integer.toString(),
but IMHO its stil
I guess we posted at the same time :)
I'm using JBoss 4.0.4.CR2 (can't upgrade to GA right now because of some bad
collection mapping; not my fault). Thanks for the tips, they are certainly very
useful. I'm using that DateFormat just for debugging and intend to remove it
soon -- as soon as every
You could have added the word transient on the field declaratio, this way
JBossSerialization wont have used it.
I asked you about the version because there were some problems with
JBossSerialization used on JBoss 4.0.4 RCLatest.
I created a testcase serializing a SimpleDateFormat, and it works
Since I cannot delete this topic, let me just say that I solved the problem.
The thing is, as the error suggests, that I had a SimpleDateFormat that was not
serializable. I declared it in a class as '"DateFormat fmt", and assigned a
value to it as DateFormat.getDateInstance(). It was used to for
What version of JBoss are you using?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945827#3945827
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945827
---
All the