You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MongoDB Driver ``mongodb-driver`` is the updated synchronous Java driver that includes the legacy API as well as a new generic `MongoCollection` interface that complies with a new cross-driver CRUD specification.
38
+
The MongoDB Driver `mongodb-driver` is the updated synchronous Java driver that includes the legacy API as well as a new generic `MongoCollection` interface that complies with a new cross-driver CRUD specification.
24
39
25
40
{{% note class="important" %}}
26
41
`mongodb-driver` is *not* an OSGi bundle: both `mongodb-driver` and `mongodb-driver-core`, a dependency of `mongodb-driver`, include classes from the `com.mongodb` package.
27
42
28
-
For OSGi-based applications, use the [mongo-java-driver](#uber-jar-legacy) uber jar instead.
43
+
For OSGi-based applications, use the [mongodb-driver-sync](#mongodb-driver-sync) or the [mongo-java-driver](#uber-jar-legacy) uber jar instead.
For new applications, the preferred artifact is [mongodb-driver](#mongodb-driver); however, the legacy `mongo-java-driver` uber jar is still available. The uber jar contains: the BSON library, the core library, and the `mongodb-driver`.
54
+
For new applications, the preferred artifact is [mongodb-driver-sync](#mongodb-driver-sync); however, the legacy `mongo-java-driver` uber
55
+
jar is still available. The uber jar contains: the BSON library, the core library, and the `mongodb-driver`.
38
56
39
57
40
58
{{% note %}}
41
-
The `mongo-java-driver` artifact is a valid OSGi bundle.
59
+
This is a Java 9-compliant module with an Automatic-Module-Name of `org.mongodb.driver.sync.client`.
60
+
61
+
The `mongo-java-driver` artifact is a valid OSGi bundle whose symbolic name is `org.mongodb.mongo-java-driver`.
0 commit comments