Skip to content

Commit 6b49cf1

Browse files
committed
Updated site.
1 parent c9a6d77 commit 6b49cf1

File tree

6 files changed

+160
-29
lines changed

6 files changed

+160
-29
lines changed

content/about.html

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,32 @@
33
type=page
44
status=published
55
~~~~~~
6-
<h2>Welcome to JavaMoney - the Java Money and Currency API for the Java&trade; Platform as well as related projects and libraries</h2>
7-
8-
<section id="downloads" class="clearfix">
9-
<img src="img/javamoney_cup.jpg"></td>
6+
<h2>What is JavaMoney?</h2>
7+
<section id="downloads">
8+
<img src="img/javamoney_cup.jpg" padding="5px" height="120px" width="120px"></td>
9+
</section>
10+
<section id="main_content">
11+
<p>JavaMoney is the new monetary API for the Java&trade; Platform as well as related projects and libraries.
12+
Whereas the API (JSR 354) provides a portable and extendible API for handling of Money &amp; Currency
13+
models, Moneta provides a production ready reference implementation.<br/>
14+
The JavaMoney libraries add additional functionalities that were built on top of the API such as</p>
15+
<ul>
16+
<li>Currency conversion</li>
17+
<li>Currency mapping and namespaces</li>
18+
<li>Basic financial calculations</li>
19+
<li>Extended formatting (usable for arbitrary types)</li>
20+
<li>Region API, allowing to organize regions, countries and territories as a forest of region trees</li>
21+
<li>Validity API, allowing to manage the validity of arbitrary data and relations related to time (history)</li>
22+
</ul>
23+
<p>
24+
Different people have contributed to this project. During the
25+
development of JSR 354, <a href="https://github.com/atsticks"
26+
class="user-mention">@atsticks</a> and <a
27+
href="https://github.com/keilw" class="user-mention">@keilw</a>
28+
founded this project and were also the main contributors.
29+
</p>.
1030
</section>
1131

1232
<hr>
1333

14-
<section id="main_content">
15-
<h3>JCP Page</h3>
16-
17-
<p>
18-
Check out the <a href="http://jcp.org/en/jsr/detail?id=354">JSR Detail Page</a> on JCP.org.
19-
</p>
20-
</section>
21-
22-
2334

content/api.html

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
title=Specification (JSR 354)
2+
date=2014-01-01
3+
type=page
4+
status=published
5+
~~~~~~
6+
7+
<h2>Money &amp; Currency API</h2>
8+
9+
<section id="downloads" class="clearfix">
10+
<a href="https://github.com/JavaMoney/jsr354-api/zipball/master"
11+
id="download-zip" class="button"><span>Download .zip</span></a> <a
12+
href="https://github.com/JavaMoney/jsr354-api/tarball/master"
13+
id="download-tar-gz" class="button"><span>Download .tar.gz</span></a>
14+
<a href="https://github.com/JavaMoney/jsr354-api" id="view-on-github"
15+
class="button"><span>View on GitHub</span></a>
16+
</section>
17+
18+
<hr>
19+
20+
<section id="main_content">
21+
<h3>
22+
<a name="what-is-jsr-354"
23+
class="anchor"
24+
href="#what-is-jsr-354"><span
25+
class="octicon octicon-link"></span></a>What is JSR 354?
26+
</h3>
27+
28+
<p>JSR 354 provides a portable and extendible framework for handling of Money &amp; Currency. The API
29+
models monetary amounts and currencies in a platform independent and portable way, including well
30+
defined extension points. It's API defines a simple yet flexible contract that enables users to choose
31+
the implementation matching their target requirements best and having full control about the numeric state
32+
at all stages during monetary processing. <br/>
33+
The JSR is lead by Anatole Tresch (Credit Suisse) (<a href="https://github.com/atsticks" class="user-mention">@atsticks</a>).
34+
<br/>You can access the API by adding the following Maven
35+
dependencies:</p>
36+
37+
<pre><code>&lt;dependency&gt;
38+
&lt;groupId&gt;javax.money&lt;/groupId&gt;
39+
&lt;artifactId&gt;money-api&lt;/artifactId&gt;
40+
&lt;version&gt;0.8-SNAPSHOT&lt;/version&gt;
41+
&lt;/dependency&gt;
42+
</code></pre>
43+
44+
<p>Though it is possible to compile your programs completely with the API, in most cases, you will also have to
45+
add an implementation, e.g. the <a href="ri.html">Moneta</a> reference implementation.</p>
46+
47+
<h3>
48+
<a name="overview" class="anchor"
49+
href="#overview"><span
50+
class="octicon octicon-link"></span></a>Overview
51+
</h3>
52+
53+
<p>
54+
The API basically consists of three packages:
55+
<ul>
56+
<li><b>javax.money</b> contains the main artifacts of the API, e.g. the interfaces for <code>MonetaryAmount, CurrencyUnit, MonetaryOPerator, MonetaryQuery</code>, and the
57+
accessor singletons for amounts, currencies and roundings.</li>
58+
<li><b>javax.money.format</b> contains the formatting logic, which has some similarities with <code>java.text</code> but relies
59+
more on immutable artifacts and builders.</li>
60+
<li><b>javax.money.spi</b> contains the service provider interfaces and the bootstrap logic, which allows to configure the API
61+
also within EE contexts (e.g. running it within a CDI container).</li>
62+
</ul>
63+
</p>
64+
65+
<h3>
66+
<a name="documentation" class="anchor" href="#documentation"><span
67+
class="octicon octicon-link"></span></a>Documentation
68+
</h3>
69+
70+
<p>
71+
Since it a Java Specification Request check out out JSR's specification from the <a href="http://jcp.org/en/jsr/detail?id=354">JSR 354 Detail Page</a>.
72+
</p>
73+
</section>

content/blog.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
title=Events &amp; History
2+
date=2014-01-01
3+
type=blog
4+
status=published
5+
~~~~~~
6+
7+

templates/blog.ftl

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<#include "header.ftl">
2+
3+
<#include "menu.ftl">
4+
5+
<div class="page-header">
6+
<h1>Blog</h1>
7+
</div>
8+
<#list posts as post>
9+
<#if (post.status == "published")>
10+
<a href="${post.uri}"><h1>${post.title}</h1></a>
11+
<p>${post.date?string("dd MMMM yyyy")}</p>
12+
<p>${post.body}</p>
13+
</#if>
14+
</#list>
15+
16+
<hr />
17+
18+
<p>Older posts are available in the <a href="/${config.archive_file}">archive</a>.</p>
19+
20+
<#include "footer.ftl">

templates/index.ftl

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,33 @@
33
<#include "menu.ftl">
44

55
<div class="page-header">
6-
<h1>Blog</h1>
6+
<p/>
7+
<p/>
8+
<h2>Welcome to JavaMoney - the Java Money and Currency API for the Java&trade; Platform as well as related projects and libraries</h2>
79
</div>
8-
<#list posts as post>
9-
<#if (post.status == "published")>
10-
<a href="${post.uri}"><h1>${post.title}</h1></a>
11-
<p>${post.date?string("dd MMMM yyyy")}</p>
12-
<p>${post.body}</p>
13-
</#if>
14-
</#list>
1510

16-
<hr />
11+
<section id="downloads" class="clearfix">
12+
<img src="img/javamoney_cup.jpg"></td>
13+
</section>
1714

18-
<p>Older posts are available in the <a href="/${config.archive_file}">archive</a>.</p>
15+
<section id="main_content">
16+
<h3>JSR 354 Specification (API)</h3>
17+
<p>
18+
Find more details on the API/specification <a href="api.html">here</a>.
19+
</p>
20+
<h3>JSR 354 Reference Implementation (RI)</h3>
21+
<p>
22+
Check out the referenceimplementation <a href="ri.html">here</a>.
23+
</p>
24+
<h3>Technical Compatibility Kit (TCK)</h3>
25+
<p>
26+
Want to write your own implementation of JSR 354? The you should also checkout and configure the TCK. Start <a href="tck.html">here</a>.
27+
</p>
28+
<h3>JavaMoney Financial Library</h3>
29+
<p>
30+
Find out more about the JavaMoney Financial Library <a href="lib.html">here</a>.
31+
</p>
32+
</section>
33+
<hr/>
1934

2035
<#include "footer.ftl">

templates/menu.ftl

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,21 @@
1717
<li class="dropdown">
1818
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Modules <b class="caret"></b></a>
1919
<ul class="dropdown-menu">
20-
<li><a href="ri.html">Moneta (RI)</a></li>
21-
<li><a href="tck.html">TCK</a></li>
22-
<li><a href="lib.html">Library</a></li>
20+
<li class="nav-header">JSR 354</li>
21+
<li><a href="api.html">Specification (API)</a></li>
2322
<li class="divider"></li>
24-
<li class="nav-header">Specification</li>
25-
<li><a href="http://jcp.org/en/jsr/detail?id=354">JSR 354 Detail Page</a></li>
26-
<li><a href="https://javamoney.java.net/api/">JSR 354 API on Java.net</a></li>
23+
<li><a href="ri.html">Moneta (Reference Implementation)</a></li>
24+
<li><a href="tck.html">TCK (Technical Compatibility Kit)</a></li>
2725
<li class="divider"></li>
26+
<li class="nav-header">JavaMoney</li>
27+
<li><a href="lib.html">JavaMoney Library</a></li>
2828
<li class="nav-header">Sandbox</li>
2929
<li><a href="shelter.html">Shelter</a></li>
30+
<li class="divider"></li>
31+
<li class="nav-header">Additional Info and Links</li>
32+
<li><a href="http://jcp.org/en/jsr/detail?id=354">JSR 354 Detail Page</a></li>
33+
<li><a href="https://javamoney.java.net/api/">JSR 354 Project on Java.net</a></li>
34+
<li><a href="blog.html">Events &amp; History</a></li></li>
3035
</ul>
3136
</li>
3237
</ul>

0 commit comments

Comments
 (0)