Money, Money, Money, can be funny with JSR 354
summary
JSR 354 provides a concrete API and a working reference implementation for money: Moneta reference implementation, currency units, monetary amounts, configurable rounding and formatting (including Indian grouping), and exchange-rate chains with cached and historic rates from providers like ECB and IMF. Demoed features include creating custom local currencies, FastMoney (long) vs Money (BigDecimal) for performance or scale, Spring and Hibernate integration, Swing/JavaFX and a Jakarta EE travel-money web app, backport to Java 7 and a planned multi-release upgrade for Java 9+.
AI-written summary · about
chapters (11)
- 0:00Start
- 1:45Overview
- 3:07Currencies
- 5:59Precision and Rounding
- 11:09Custom Currencies
- 12:29Monetary Operations
- 17:42Formatting
- 19:24Adaptive Formatter and Grouping
- 21:59Exchange Rate Providers
- 25:50Javafx Demos
- 26:33Web Beans
related talks
42mMathematics in Pure Java
01h 14mNovel but practical uses of Java
01h 22mModern Java Component Design with Spring Framework 4.2
54mLaziness, trampolines, monoids and other functional amenities
56mJava libraries you can't afford to miss (Student Day)
55mFrom REST to Hypermedia APIs with Spring
40mAlgebraic Data Types + Pattern Matching = Elegant and readable Java code
01h 03mModern Java 21+: The Next-Level Upgrade
