Skip to content

Commit 912fd96

Browse files
committed
1 parent 39f844e commit 912fd96

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

src/main/asciidoc/JavaMoneySpecification.adoc

+16-3
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,8 @@ It must be possible to format and parse monetary amounts. Therefore the JSR defi
301301
[[RequirementsFormattingEE]]
302302
=== Java EE / Jakarta EE Support
303303
. This JSR must avoid restrictions that prevents its use in different runtime environments, such as Java EE or Jakarta EE. Refer
304-
also to the section <<Boostrap>> for more details on possible EE/CDI integration.
304+
also to the section <<Bootstrap>> for more details on possible EE/CDI integration.
305+
Examples like <<JadiraFramework>>, <<JakartaBeanValidation>>, <<SpringSupport>> or <<ZalandoJacksonBinding>> show a broad support for JSR 354 in the Java EE, Jakarta EE or Spring ecosystem.
305306

306307
[[RequirementsNonFunctional]]
307308
=== Non Functional Requirements
@@ -316,7 +317,7 @@ also to the section <<Boostrap>> for more details on possible EE/CDI integration
316317
be necessary normally.
317318
. The API for monetary amounts must not expose its concrete numeric internal representation during compile time.
318319
. Where feasible method naming and style for currency modeling should be in alignment with parts of the Java
319-
Collection API or +java.time+ / [<<JodaMoney>>]:
320+
Collection API or +java.time+ / <<JodaMoney>>:
320321
.. same method name prefixes - +of()+ for all factories, unless their inheritance e.g. from +java.lang.Enum+ -
321322
mandates otherwise, such as +valueOf()+.
322323
.. basic creational factory methods with little/no conversion are named +of(...)+
@@ -3201,6 +3202,19 @@ http://www.iso.org/iso/home/standards/currency_codes.htm
32013202
[[[ISO-20022]]]
32023203
http://www.iso20022.org
32033204
3205+
[[[JadiraFramework]]]
3206+
The Jadira Framework adds Hibernate support for +MonetaryAmount+ if the JSR 354 API and an implementation are on the class path: http://jadira.sourceforge.net/project-info.html
3207+
3208+
[[[JakartaBeanValidation]]]
3209+
Hibernate Validator supports any sub-type of +MonetaryAmount+ if the JSR 354 API and an implementation are on the class path:
3210+
https://docs.jboss.org/hibernate/stable/validator/reference/en-US/html_single/#validator-gettingstarted
3211+
3212+
[[[SpringSupport]]]
3213+
Since release 4.2 the https://spring.io/projects/spring-framework[Spring Framework] supports JSR 354: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/format/number/money/package-summary.html
3214+
3215+
[[[ZalandoJacksonBinding]]]
3216+
Zalando created Jackson Binding for JSR 354: https://github.com/zalando/jackson-datatype-money
3217+
32043218
[[[JodaMoney]]]
32053219
http://www.joda.org/joda-money/
32063220
@@ -3214,7 +3228,6 @@ http://jcp.org/en/jsr/detail?id=354
32143228
Public Source Code Repository on GitHub: http://github.com/JavaMoney,
32153229
Branch/Tag matching updated PDR is {version}
32163230
3217-
32183231
=== Links
32193232
* http://jcp.org/en/jsr/detail?id=35[JSR 354 on jcp.org]
32203233
* https://github.com/JavaMoney/[JavaMoney Project on GitHub]

0 commit comments

Comments
 (0)