CloudBees Runtime Classpath

I just read the CloudBees white paper "CloudBees Benefits: A Guide for Java Developers . " It has a sentence that states:

The database is simply accessible as a JNDI resource immediately after its deployment - there is no need to pursue JDBC drivers, connection strings and configure JNDI.

So, I assume that this means that I do not need to include the MySQL JDBC driver in my WAR WEB-INF/lib , as it seems that CloudBees provides its class paths at runtime, yes.

This also raises several other questions:

  • What version of MySQL JDBC driver (and what type) is provided by CloudBees?
  • Does the same apply to the Cloudant CouchDB service or to the drivers / dependencies used by other service partners?
  • Are there any other libraries available to CloudBees for the path to runtime classes for their clients?

Thanks in advance!

+4
source share
1 answer

Cloudbees currently provides version 5.1.16 of the MySQL JDBC driver with the jboss stack and 5.1.15 with tomcat6 and any other stacks. Unfortunately, this information is not documented anywhere publicly. Caleb Tennis , one of their developers, informed me about this through their IRC channel, #cloudbees.

As for Cloudant, it's more or less simple CouchDB, so you can use these libraries from the CouchDB wiki to connect.

Alternatively, CouchDB is a REST API, so it would be easier to use a direct HTTP library for requesting and analyzing responses. What do you like best, actually: D

As for the other Cloudbees libraries available for the execution path, more from Caleb Tennis:

Other than mysql, there are no "guaranteed" runtime libraries - you will need to put them in your war or other deployment package.

+4
source

Source: https://habr.com/ru/post/1481032/


All Articles