Page 2 of 2 FirstFirst 12
Results 21 to 23 of 23
  1. #21
    lse123 is offline Senior Member
    Join Date
    Oct 2008
    Posts
    116
    Rep Power
    0

    Default

    import javax.naming.*;
    in ClaimDAO.java needs include any in classbath ? during compile/run...

  2. #22
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

    Default

    Quote Originally Posted by lse123 View Post
    The role of this method is to attempt to close any resourses that may have been left open by exceptions being thrown...

    can you download and try code from textbook site above, must be correct?
    Does that method check to see if the connection is null first before causing a nullpointer by closing close() on null?

  3. #23
    lse123 is offline Senior Member
    Join Date
    Oct 2008
    Posts
    116
    Rep Power
    0

    Default

    import javax.naming.*;
    in ClaimDAO.java needs include any in classbath ? during compile/run...

Page 2 of 2 FirstFirst 12

Similar Threads

  1. JavaBean
    By hannes in forum New To Java
    Replies: 5
    Last Post: 02-14-2010, 07:51 PM
  2. components in javabean
    By NAIYYAR ALI in forum Advanced Java
    Replies: 0
    Last Post: 10-05-2009, 03:36 PM
  3. Debug challenge: how do you debug a Java program?
    By CJSLMAN in forum New To Java
    Replies: 60
    Last Post: 07-04-2009, 10:28 AM
  4. Enterprise JavaBean 3.0
    By Java Tutorial in forum Java Tutorial
    Replies: 0
    Last Post: 06-19-2008, 11:42 PM
  5. JavaBean Problem
    By Peter in forum Advanced Java
    Replies: 2
    Last Post: 07-05-2007, 01:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •