[JAVAEETUTORIAL-151] Typo in "Declaring Resource References" in Chapter 3 Created: 13/Feb/13  Updated: 13/Feb/13  Resolved: 13/Feb/13

Status: Resolved
Project: javaeetutorial
Component/s: doc
Affects Version/s: 6.0.8
Fix Version/s: 7.0.0

Type: Bug Priority: Minor
Reporter: Kim Haase Assignee: Kim Haase
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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



 Comments   
Comment by Kim Haase [ 13/Feb/13 ]

Fixed in source.

Generated at Sun Aug 30 01:07:30 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.