javaeetutorial
  1. javaeetutorial
  2. JAVAEETUTORIAL-151

Typo in "Declaring Resource References" in Chapter 3

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0.8
    • Fix Version/s: 7.0.0
    • Component/s: doc
    • Labels:
      None

      Description

      Considering a Jira issue would be overkill, I hereby inform you that a typo exists in:

      • the Java EE 6 Tutorial at
        http://docs.oracle.com/javaee/6/tutorial/doc/bnaeo.html
      • under the heading "Declaring a Reference to a Resource"
      • in the listing:
        @Resources ({
        @Resource (name="myDB" type=java.sql.DataSource),
        @Resource(name="myMQ" type=javax.jms.ConnectionFactory)
        })

      line 2 says:
      ... type=java.sql.DataSource

      should be
      ... type=javax.sql.DataSource

        Activity

        Hide
        Kim Haase added a comment -

        Fixed in source.

        Show
        Kim Haase added a comment - Fixed in source.

          People

          • Assignee:
            Kim Haase
            Reporter:
            Kim Haase
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: