[jboss-jira] [JBoss JIRA] (AS7-2635) Make JAXR database access lazy
Thomas Diesler (Commented) (JIRA)
jira-events at lists.jboss.org
Tue Nov 15 05:59:40 EST 2011
[ https://issues.jboss.org/browse/AS7-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642864#comment-12642864 ]
Thomas Diesler commented on AS7-2635:
-------------------------------------
Currently, there are config options that drive how tables are constructed
{code}
<subsystem xmlns="urn:jboss:domain:jaxr:1.0">
<connection-factory jndi-name="java:jboss/jaxr/ConnectionFactory"/>
<datasource jndi-name="java:jboss/datasources/ExampleDS"/>
<flags drop-on-start="true" create-on-start="true" drop-on-stop="false"/>
</subsystem>
{code}
We can easily make DB init lazy. It could for example happen on the first HTTP request to the juddi context
> Make JAXR database access lazy
> ------------------------------
>
> Key: AS7-2635
> URL: https://issues.jboss.org/browse/AS7-2635
> Project: Application Server 7
> Issue Type: Task
> Components: JAXR
> Reporter: Thomas Diesler
> Assignee: Kurt Stam
>
> Jason says: If for some reason we cant get away from the DB backend, then we need to make it as lazy as possible (no auto-registration by default etc).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list