"Berkeley DB JE is a high performance, transactional storage engine written entirely in Java. Like the highly successful Berkeley DB product, Berkeley DB JE executes in the address space of the application, without the overhead of client/server communication." I'm not sure what the best package name would be, but db-je may be appropriate. It is a dependency of both jboss-3.2.7 and jboss-4.0.2. It doesn't seem to have any dependencies other than on ant for building.
Created attachment 60433 [details] je-1.7.1.ebuild The documentation for this package isn't quite complete. There are ant target's for more thorough docs, but the files for this don't seem to be part of the source distribution.
Now maintained in the experimental overlay: https://gentooexperimental.org/svn/java/gentoo-java-experimental/dev-db/db-je/