cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Krupansky <jack.krupan...@gmail.com>
Subject Re: Cassandra driver class
Date Fri, 29 Jan 2016 21:02:02 GMT
Unfortunately, somebody is likely going to need to educate us in the
Cassandra community as to what a JBOSS VDB and TEIID really are. For now,
our response will probably end up being that you should use the Java Driver
for Cassandra, bypassing any JBOSS/VDB/TEIID support, for now. That TEIID
link above may shed some light. Otherwise, you'll probably have to ping the
TEIID community as far as how to configure JBOSS/TEIID. We're here to
answer questions about Cassandra itself.

-- Jack Krupansky

On Fri, Jan 29, 2016 at 3:42 PM, Corry Opdenakker <corry@bestdata.be> wrote:

> What about this cassandra specific howto explained in a recent jboss doc?
> https://docs.jboss.org/author/display/TEIID/Cassandra+Data+Sources?_sscc=t
>
> Im also searching for the real recommended way of connecting to a
> cassandra db from a jee server, but I didnt found any standard documented
> solution yet. was a bit surprised that there is not any standard
> jca/resource archive solution foreseen while Cassandra itself is java
> based. Maybe I overlooked the info somewhere?
>
> Dbcp could help for a large part, but of course one requires a fully
> reliable production ready solution.
> https://commons.apache.org/proper/commons-dbcp/
>
> Currently I would go for a standard conn pool at app level as is described
> in the cassandra java driver pdf, knowing that middleware admins don't like
> that nonstandard jee approach.
>
>
>
>
>
>
> Op vrijdag 29 januari 2016 heeft Alex Popescu <alexp@datastax.com> het
> volgende geschreven:
>
>> I think both of those options expect a JDBC driver, while the DataStax
>> Java driver is not one.
>>
>> As a side note, if you'd provide a more detailed description of the setup
>> you want to get and post it to the Java driver mailing list
>> https://groups.google.com/a/lists.datastax.com/forum/#!forum/java-driver-user,
>> chances of getting an answer will be higher.
>>
>> On Fri, Jan 29, 2016 at 9:56 AM, KAMM, BILL <wk1216@att.com> wrote:
>>
>>> I’m just getting started with Cassandra, and am trying to integrate it
>>> with JBoss.  I’m configuring the standalone-ha-full.xml file, but don’t
>>> know what to use for the driver class.  For example, I have this:
>>>
>>>
>>>
>>> <drivers>
>>>
>>>     <driver name="cassandra" module="com.abc.xyz.jboss.cassandra">
>>>
>>>         <driver-class>com.datastax.driver.core.xxxxxxxx</driver-class>
>>>
>>>     </driver>
>>>
>>> </drivers>
>>>
>>>
>>>
>>> What do I replace “xxxxxxxx” with?
>>>
>>>
>>>
>>> Is “com.datastax.driver.core” even correct, or am I going down the wrong
>>> path?  I am using the DataStax 2.0.2 driver, with Cassandra 2.0.8.
>>>
>>>
>>>
>>> Should I be using <datasource-class> instead of <driver-class>?
>>>
>>>
>>>
>>> Does anybody have a working example they can share?  Any help to get me
>>> going would be appreciated.  Thanks.
>>>
>>>
>>>
>>> Bill
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>> --
>> Bests,
>>
>> Alex Popescu | @al3xandru
>> Sen. Product Manager @ DataStax
>>
>>
>
> --
> ----------------------------------
> Bestdata.be
> Optimised ict
> Tel:+32(0)496609576
> Corry@BestData.be
> ----------------------------------
>
>

Mime
View raw message