[wildfly-dev] Deploying JDBC driver to WildFly

Harald Pehl hpehl at redhat.com
Tue Oct 7 16:32:21 EDT 2014


If it's a JDBC 4 compliant driver you can deploy it as regular jar and it will be detected automatically [1]. 

[1] https://docs.jboss.org/author/display/WFLY8/DataSource+configuration

Am 07.10.2014 um 21:50 schrieb Arun Gupta <arun.gupta at gmail.com>:

> I was talking to Adam Bien and he is an avid supporter of WildFly and
> using it in all his projects now. One of his pet peeves is deployment
> of JDBC driver.
> 
> He can either bundle it in WEB-INF/lib but prefer to deploy it on the
> application server itself. Currently he deploys it as a JBoss module
> but prefer it to be rather simplistic. His suggestion was to define a
> directory like "standalone/lib/jdbc" and any JAR files copied there
> should be automatically deployed as module.
> 
> What is the recommended way to deploy a JDBC driver to WildFly ?
> 
> Does it necessarily have to be deployed as JBoss module ? If yes, how
> can this be simplified ?
> 
> Cheers
> Arun
> 
> -- 
> http://blog.arungupta.me
> http://twitter.com/arungupta
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev

---
Harald Pehl
JBoss by Red Hat
http://hpehl.info




More information about the wildfly-dev mailing list