Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why these imports in AdviceClient class?

 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any Errata for Head First EJB?
In HFEJB page no-57 in AdviceClient.java i found few imports.

import javax.ejb.*;
import java.rmi.*;

i am not able to understand why above imports has been added to AdviceClient class.

Thanks
 
Rajan Murugan
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to compile the code without the imports.
 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have tried without these imports and it compiles successfully.
So why are these imports there?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic