[jbossts-issues] [JBoss JIRA] (JBTM-1479) Create a quickstart to show how to use IronJacamar and JBTM inside tomcat

Gytis Trikleris (JIRA) jira-events at lists.jboss.org
Thu Feb 21 08:32:57 EST 2013


     [ https://issues.jboss.org/browse/JBTM-1479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gytis Trikleris updated JBTM-1479:
----------------------------------

    Description: 
See JBTM-809 for the algorithm


You might want to put the startup in the context listener:

public class MyServletContextListener implements ServletContextListener {          
          public void contextInitialized(ServletContextEvent sce) {
                    // Initialize RecoveryManager
                    // Initialize TransactionManager
                    // Initialize IronJacamar
          }
 
          @Override
          public void contextDestroyed(ServletContextEvent sce) { 
                    // Clean IronJacamar
                    // Clean TransactionManager
                    // Clean RecoveryManager
          }
}


Quickstart application should connect to the database (say PostgreSQL), dummy XA resource and coordinate the transaction. The PostgreSQL data source needs to be accessed via IronJacamar.

  was:
See JBTM-809 for the algorithm


You might want to put the startup in the context listener:

public class MyServletContextListener implements ServletContextListener {          
          public void contextInitialized(ServletContextEvent sce) {
                    // Initialize RecoveryManager
                    // Initialize TransactionManager
                    // Initialize IronJacamar
          }
 
          @Override
          public void contextDestroyed(ServletContextEvent sce) { 
                    // Clean IronJacamar
                    // Clean TransactionManager
                    // Clean RecoveryManager
          }
}


    
> Create a quickstart to show how to use IronJacamar and JBTM inside tomcat
> -------------------------------------------------------------------------
>
>                 Key: JBTM-1479
>                 URL: https://issues.jboss.org/browse/JBTM-1479
>             Project: JBoss Transaction Manager
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Tom Jenkinson
>            Assignee: Gytis Trikleris
>             Fix For: 5.0.0.M2
>
>         Attachments: test-ds.xml, transaction.xml
>
>
> See JBTM-809 for the algorithm
> You might want to put the startup in the context listener:
> public class MyServletContextListener implements ServletContextListener {          
>           public void contextInitialized(ServletContextEvent sce) {
>                     // Initialize RecoveryManager
>                     // Initialize TransactionManager
>                     // Initialize IronJacamar
>           }
>  
>           @Override
>           public void contextDestroyed(ServletContextEvent sce) { 
>                     // Clean IronJacamar
>                     // Clean TransactionManager
>                     // Clean RecoveryManager
>           }
> }
> Quickstart application should connect to the database (say PostgreSQL), dummy XA resource and coordinate the transaction. The PostgreSQL data source needs to be accessed via IronJacamar.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossts-issues mailing list