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

[EJB3] Xdoclets vs EJB annotations

 
Charith Fernando
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

i just completed the EJB 2 certification and want to get some experience with EJB 3. in industry i have used xdoclets to help me in defining transactions etc. but after reading the features of EJB 3 i think those features are given by the spec it self...

i just wanted to clarify whether there's no differece between these two approaches. as in now annotations are just part of the spec it self where as earlier we had to use xdoclets or something simillar to get the work done..

am i going in the correct path???

thank you,
 
Morten Franorge
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, except from being part of the spec, one of the advantages of annotations is that they are checked compiletime. Making spelling mistakes less likely.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic