Elffuss BraidHub

kikocis/java-driver public

ecc3d728a770 · 906 BRawPermalink
1OSGi Example
2============
3
4A simple example application that demonstrates using the Java Driver in
5an OSGi service.
6
7MailboxService is an activated service that uses Cassandra to
8persist a Mailbox by email address.
9
10Usage
11-----
12
13To build the bundle and run tests execute the following maven task::
14
15 mvn integration-test -P short
16
17The short profile needs to be activated since the tests run under
18this group.
19
20After which the bundle jar will be present in the target/ directory.
21
22The project includes an integration test that verifies the service can
23be activated and used in an OSGi container. It also verifies that
24driver-core can be used in an OSGi container in the following
25configurations:
26
271. Default (default classifier with all dependencies)
282. Netty-Shaded (shaded classifier with all depedencies w/o Netty)
293. Guava 15 (default classifier with Guava 15.0)
304. Guava 16
315. Guava 17
326. Guava 18