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

what is differece unit testin adn ejb3unit for entity bean

 
seshagiri veerla
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

we will implement new project. we are using ejb3.0 with annotation this intracted with mysql databas. i am confusion of testing. I know two tools that is unit testing and ejb3unit. Please give me suggestion which one is best either unit testing or ejb3unit for entity bean test.
please reply with best testing tool


Regards
Seshagiri
veerla.sesha@gmail.com
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well we use TestNG, and most people will also use JUnit. I have not heard of ejb3Unit.

Since EJB3 entity beans are POJOs, to unit test them shouldn't need a harness, they should test like other POJOs.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic