Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on J2ee Anitpatterns

 
Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To the author -
How does "j2ee antipatterns" book compare with "Bitter EJB"?.
 
Bill Dudney
Author
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Karthik,
Bitter EJB is a great book and has tons of really good information in it. The focus of that book is on EJB and specifically the beans (Entity, Session, Message Driven). There is information in the book about other areas of J2EE but not as much as in J2EE AntiPatterns. That said I own Bitter EJB and think that the section on performance testing by Mike Clark is worth the purchase price by its self.
If you alreay own Bitter EJB why buy J2EE AntiPatterns?
  • Most of the J2EE space is covered and discussed in concert (i.e. the JSP discussions touch on how you might interface to the back end) in J2EE AntiPatterns. You get a full archtecture picture of the issues (front to back and how decissions in the front end code can negitively effect the back end etc.). The Bitter EJB book has some of the same discussions but all from the 'back end'.
  • The solutions are structured as reafactorings instead of pure prose. So for example in working through having too much code in your JSP's (AntiPattern: Too Much Code pg 165) there are three refactorings offered to help you fix your JSP's. The Refactorings follow Fowler's model so they will be familiar to thoes familiar with Fowler's book. Each refactoring offers a list of steps to complete the fix as well as example code in the before and after states.

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