Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which jsr-275 units implementation should be used? [closed]

JSR 275 seems to be in a rejected state. JScience seems to have an implementation and there seems to be unitsofmeasure.

  1. Are there any other open source implementations?
  2. Which package is jsr-275 compliant and easy to use.
like image 932
Sam Avatar asked Nov 19 '10 10:11

Sam


2 Answers

Since the JSR-275 has been rejected the javax namespace cannot be used and has been replaced by the namespace org.unitsofmeasurement. The JScience implementation has been released, latest as of this writing is version 4.3.1 in Oct 2012. Cheers, Jean-Marie Dautelle (JScience project owner)

like image 199
Dautelle Avatar answered Oct 12 '22 23:10

Dautelle


While JScience also plans to implement it at some point, please note JSR 363, the new Units of Measurement standard for Java (successor to JSR 275) is available in Early Draft stage, see http://unitsofmeasurement.github.io/ You'll also find the API and RI in places like MavenCentral.

Werner (Co Spec Lead, JSR 363)

like image 33
Werner Keil Avatar answered Oct 13 '22 00:10

Werner Keil