|
Add the `nixsap.apps.cassandra` application and Apache
Cassandra 3.11 package along with Hyperic Sigar.
The application runs in single node mode just fine.
Clustering is not tested yet.
This is PoC on Java applications.
A Java application should comprise:
1. JRE
2. Class path
3. Library path
A Java "package" should include all jar/classes/libraries
needed to run the application. Using symbolic links to
pull in dependencies is fine. This is much similar to nix
"environments". Apache Cassandra is the first example of
this approach.
Using $out/share/java/ and $out/lib/jni is to help building
such environments (also with nix-env).
|