GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Can the DataStax Java Driver (Cassandra) be safely used in EE servers? · Issue #323 · javaee-samples/javaee7-samples

Can the DataStax Java Driver (Cassandra) be safely used in EE servers? #323

New issue
Copy link
New issue
Copy link
Closed
Closed
Can the DataStax Java Driver (Cassandra) be safely used in EE servers?#323
Copy link

Description

@marlonpatrick
marlonpatrick
opened on Oct 10, 2015
Issue body actions

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-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:

  • The driver does not hurt the EJB specification and can use it within an EJB normally;
  • Although 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;
  • Can 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);
  • Could take advantage of some features of EJB as concurrency control and dependency injection with CDI, however, other features like transaction management lose all sense;

I am currently seeking this information because I am doing a small application to learn Cassandra, and I'll try this javaee7-sample approach.

But the question remains that: In a production environment, you see this attempt at integration as something plausible?

Activity

  1. arjantijms commented on Aug 7, 2017

    @arjantijms
    arjantijms
    on Aug 7, 2017
    Contributor
    More actions

    Moved to extra project

  2. arjantijms
    closed this as completedon Aug 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.