Title: Can the DataStax Java Driver (Cassandra) be safely used in EE servers? · Issue #2 · javaee-samples/javaee-extras · GitHub
Open Graph Title: Can the DataStax Java Driver (Cassandra) be safely used in EE servers? · Issue #2 · javaee-samples/javaee-extras
X Title: Can the DataStax Java Driver (Cassandra) be safely used in EE servers? · Issue #2 · javaee-samples/javaee-extras
Description: Hi everyone, I saw that there is an example of integration with Cassandra using the DataStax driver but I wonder if in a production environment the presented approach can be valid. From what I could see from code example of javaee7-sampl...
Open Graph Description: Hi everyone, I saw that there is an example of integration with Cassandra using the DataStax driver but I wonder if in a production environment the presented approach can be valid. From what I coul...
X Description: Hi everyone, I saw that there is an example of integration with Cassandra using the DataStax driver but I wonder if in a production environment the presented approach can be valid. From what I coul...
Opengraph URL: https://github.com/javaee-samples/javaee-extras/issues/2
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Can the DataStax Java Driver (Cassandra) be safely used in EE servers?","articleBody":"Hi everyone,\r\n\r\nI saw that there is an example of integration with Cassandra using the DataStax driver but I wonder if in a production environment the presented approach can be valid.\r\n\r\nFrom what I could see from code example of javaee7-samples and the answers in the group-list of DataStax Java Driver (https://groups.google.com/a/lists.datastax.com/forum/#!forum/java-driver-user) my findings until the moment are:\r\n\r\nThe driver does not hurt the EJB specification and can use it within an EJB normally;\r\nAlthough not hurt the EJB specification, there is no official API/standardized/widely used in which the Java EE Server can manage connections of a Cassandra cluster;\r\nCan I create a Cluster/Session objects within a javax.ejb.Singleton to facilitate the implementation of the four rules for using Cassandra driver (http://www.datastax.com/dev/blog/4-simple-rules-when-using-the-datastax-drivers-for-cassandra);\r\nCould take advantage of some features of EJB as concurrency control and dependency injection with CDI, however, other features like transaction management lose all sense;\r\nI am currently seeking this information because I am doing a small application to learn Cassandra, and I'll try this javaee7-sample approach.\r\n\r\nBut the question remains that: In a production environment, you see this attempt at integration as something plausible?\r\n\r\nMigrated from: https://github.com/javaee-samples/javaee7-samples/issues/323","author":{"url":"https://github.com/arjantijms","@type":"Person","name":"arjantijms"},"datePublished":"2017-08-07T22:52:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/javaee-extras/issues/2"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3a4d3efa-a7af-447d-4e17-2e1b946aa45f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC0E:6437B:19E6A03:21D81CA:696CB60D |
| html-safe-nonce | 5ec7459babe46cfe7786bd2d5b0ce2dd7fdc6807fb8fde575f3fe627d54345c6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzBFOjY0MzdCOjE5RTZBMDM6MjFEODFDQTo2OTZDQjYwRCIsInZpc2l0b3JfaWQiOiIxODk2MzQ0MzQzNjM2MDI0NDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a9e05cc8255d92f0e19b333d27ed73675c03795b982ec99e9128cbbedad5fc4a |
| hovercard-subject-tag | issue:248553400 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/javaee-samples/javaee-extras/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/80e0af14cbde4d81873bdfd53bbbdc82137c2ad053c85bf7e57ad871140510f5/javaee-samples/javaee-extras/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/80e0af14cbde4d81873bdfd53bbbdc82137c2ad053c85bf7e57ad871140510f5/javaee-samples/javaee-extras/issues/2 |
| og:image:alt | Hi everyone, I saw that there is an example of integration with Cassandra using the DataStax driver but I wonder if in a production environment the presented approach can be valid. From what I coul... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | arjantijms |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/javaee-samples/javaee-extras git https://github.com/javaee-samples/javaee-extras.git |
| octolytics-dimension-user_id | 6052086 |
| octolytics-dimension-user_login | javaee-samples |
| octolytics-dimension-repository_id | 99625205 |
| octolytics-dimension-repository_nwo | javaee-samples/javaee-extras |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 99625205 |
| octolytics-dimension-repository_network_root_nwo | javaee-samples/javaee-extras |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 38f4d3209478aaeff3ef254f1919defede86af41 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width