Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java EE 5 Development with NetBeans 6 - Failure indications?

 
Lee Graba
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David:

I look forward to reading your book.

Although I am very experienced with distributed technologies, I am a newbie to J2EE, and I am concerned with the amount of 'magic' that J2EE 5 seems to support/require, particularly with respect to resource injection using attributes. This approach is certainly succinct and simple -- when it works. However, if you screw up, my limited experience has been that it is difficult to debug the problem by any method other than inspection. Does Netbeans provide any support in this respect, and if so, is it covered in your book?
 
Lee Graba
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> particularly with respect to resource injection using attributes

Oops, I meant to say annotations, not attributes.
 
David Heffelfinger
author
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The way NetBeans helps you in this regard is that it can generate the annotations for you.

You can simply indicate what resources you need injected and Netbeans will automatically add the appropriate annotations with their attributes populated with the correct values.

David
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic