5 Replies Latest reply on Jul 8, 2008 5:52 PM by alrubinger

    ejb3 timer service and other databases

    peterj

      Currently, if I want to replace hsqldb with another database, (among many other things) I need to edit the ejb3-timer-service.xml file because that file contains information specific to Hypersonic. This is in contrast to the situation with messaging where alternate messaging persistence files are (finally) provided (in CR1) at docs/examples/jms, in which case I only have to copy the desired configuration file.

      Are there any plans to provide alternate configuration files for other databases, say at docs/example/ejb3-timer? If so, I could contribute the MySQL and PostgreSQL files...

        • 1. Re: ejb3 timer service and other databases
          alesj

          I think more options never hurt.
          But you should check this with EJB3 team, on their dev forum perhaps.

          btw: how's the book coming along? No MC questions from you. :-)

          • 2. Re: ejb3 timer service and other databases
            peterj

            We have decide to publish the book based on what is in CR1, after we re-verify the contents of the book against that release. Then we will keep our fingers crossed hoping that there are no more configuration surprises (like we got in beta3 and beta4) between now and GA. So it should go to the printer some time in August and hit the shelves around October. It would be nice if GA came out before the book. (hint, hint) We expect to put out an addendum on the book's web site to cover and changes in GA.

            Personally, I am glad to get it over with. We actually finished writing the book last year and have been sitting on the text since then. And every beta that came out after that, we scrambled for a month to update things. This now makes the 3rd time we have updated it.

            As far as the MC goes, about the only mention is the architecture discussion and some configuration (the hot deployer options, for example), so we do not go in-depth into it. The focus of the book is more on configuration (of the app server and of Java EE apps) than on development.

            • 3. Re: ejb3 timer service and other databases
              alrubinger

              Hi Peter:

              If you open up a JIRA (project EJBTHREE) and attach the files, I'll look at commiting them into the distribution (a la the JMS Configs).

              Thanks!

              S,
              ALR

              • 4. Re: ejb3 timer service and other databases
                peterj

                http://jira.jboss.com/jira/browse/EJBTHREE-1432

                I'll upload the files Real Soon Now.

                • 5. Re: ejb3 timer service and other databases
                  alrubinger

                  QA's been kind enough to verify this for us; afterwards we can add to the source tree.

                  http://jira.jboss.com/jira/browse/JBQA-1707

                  S,
                  ALR