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 <al...@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 <wk1...@att.com
> <javascript:_e(%7B%7D,'cvml','wk1...@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
co...@bestdata.be
----------------------------------

Reply via email to