How to use BigDecimal with Spring blazeds?
Hi,
We need to do some simple financial calculation in our appilcation. However, the FLEX SDK do not provide BigDecimal class as JDK did.
Now, I have found a 3rd party AS implementation of BigDecimal. However, I do not know how to integrate it with blazeDS(That means, if I pass a AS BigDecimal object parameter a server side object, the blazeDS know this object should be converted to a java BigDecimal object. When a java BigDecimal object is returned to FLEX application, it will be converted into a AS BigDecimal object). I found Spring blazeDS allow developer provide customize converter for data convertion but the info in the document is not detail enough and I am still not sure whether it can fuifill my requirement.
Is there anybody can explain how to customize a data converter in Spring blazeDS( or provide me a link).
I think BigDecimal is needed in a lot of financial application so that I guess the bigdecimal solution may have been discussed in this forum. If so, please give me the link.
Thanks