aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes J2EE Antipatterns: aimed at beginners to experienced or only on experienced? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "J2EE Antipatterns: aimed at beginners to experienced or only on experienced?" Watch "J2EE Antipatterns: aimed at beginners to experienced or only on experienced?" New topic
Author

J2EE Antipatterns: aimed at beginners to experienced or only on experienced?

bengt hammarlund
Ranch Hand

Joined: Oct 17, 2003
Posts: 78
J2EE Antipatterns, it�s really an interesting subject.
I am a biginner developer myself, and I guess that such book is as important as, or even more important then a "patterns" book.
My question is: this book is aimed at beginners and experienced developers or only on experienced ones?
I mean, it�s contents require previous experience on various J2EE design patterns, and shows how to NOT use some patterns or how to NOT implement others, or it just shows how NOT to do things in a different way?
Thanks for any reply!


<b><i>Bengt Hammarlund</i><br />� Sun Certified Java Programmer</b>
Bill Dudney
Author
Ranch Hand

Joined: Sep 05, 2003
Posts: 234
Hi Bengt,
Beginners are perfect people to read this book! And I'm not just saying that. One of the most important things we can do when learning something new is to figure out how others have expierenced pain.
A clasic example (in my mind anyway) is the advent of EJB. For some reason we in the Java space felt compelled to relearn that fetching all the customers in China and exposing them on the network all at once will not work. When EJB 1.0 shipped we all started fetching large collections of objects and exposing them on the net all at once. It did not work for EJB any better than it did for CORBA. If the original spec leads on EJB had learned from the AntiPatterns gleaned from years of experience with CORBA perhaps we would have had local interfaces in EJB 1.0. Not that the EJB spec leads were not brilliant, they were, they just did not learn a lesson from history.
My hope with this book is that others can learn the easy way what we've learned the hard way.


TTFN,<br /> <br />-bd-<br /> <br /><a href="http://www.amazon.com/exec/obidos/ASIN/0471449156/qid=1064343733/sr=2-1/ref=sr_2_1/002-8375300-3666449" target="_blank" rel="nofollow">Jakarta Pitfalls</a> | <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0471146153/qid=1064343733/sr=1-2/ref=sr_1_2/002-8375300-3666449?v=glance&s=books" target="_blank" rel="nofollow">J2EE AntiPatterns</a> | <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0471462071/qid=1064343733/sr=1-3/ref=sr_1_3/002-8375300-3666449?v=glance&s=books" target="_blank" rel="nofollow">Mastering JavaServer Faces</a> | <a href="http://bill.dudney.net/roller/page/bill" target="_blank" rel="nofollow">Blog</a> | <a href="http://www.jroller.com/page/BillDudney" target="_blank" rel="nofollow">Eclipse Blog</a> | <a href="http://www.sourcebeat.com/TitleAction.do?id=2" target="_blank" rel="nofollow">Eclipse 3 Live</a>
bengt hammarlund
Ranch Hand

Joined: Oct 17, 2003
Posts: 78
Thanks for the refreshing news. I just wish I could afford this book, but at the present moment the only thing I can do is wish to win a copy.
Anyway, I just got a 4h job here in Rio de Janeiro, Brazil, and I think after some months of good service, maybe I can begin investing money the right way.
bye bye!
Mark Ju
Ranch Hand

Joined: May 20, 2003
Posts: 117
How does J2EE Antipatterns compare with other Anti pattern books, such as Bitter Java?
Bill Dudney
Author
Ranch Hand

Joined: Sep 05, 2003
Posts: 234
Hi Chris,
In this thread Question on J2ee... I gave a detailed answer to the question of how does the book compare to Bitter EJB.
Mark Ju
Ranch Hand

Joined: May 20, 2003
Posts: 117
What about a comparison to Bitter Java? I haven't read Bitter EJB's. However, based on your response, I think J2EE Antipatterns may be an appropriate book for me.
Also, what is the major different between your book and other "J2EE Best Practice" books from Orielly and Wiley?
[ November 20, 2003: Message edited by: Chris G Lee ]
Bill Dudney
Author
Ranch Hand

Joined: Sep 05, 2003
Posts: 234
Hi Chris,
The comparison between Bitter Java and J2EE AntiPatterns is limited. The Bitter Java book is great but covers J2SE and is thus focused on that programming paradigm. That said much of it could be applied to J2EE but not in the same way as J2EE AntiPatterns. The J2EE AntiPatterns are focused on what people do wrong with J2EE specifically and how to fix the problems.
The J2EE AntiPattrens book can be thought of as a 'worst practices' and thus teaches from the negative. The Wiley Best Practices (Brommer I'm assuming) is really good but I've not read the ORiley book (the reviews are great though). Either of these books would provide good insight from the positive side.
Hope this helps.
Jean Miles
Ranch Hand

Joined: Aug 20, 2003
Posts: 53
Would you consider the approach J2EE Antipattern is the same as Refactoring to J2EE patterns?
Bill Dudney
Author
Ranch Hand

Joined: Sep 05, 2003
Posts: 234
Hi Jean,
Not all the AntiPatterns involve refactoring to J2EE Patterns. In many cases the AntiPattern involves the misapplication of one of the patterns and the refactoring is all about getting the pattern correct. In other cases you are correct though, the refactoring is about moving from something bad to one of the patterns.
Joshua Kerievsky has a great book started on the topic of refactoring to patterns. Definitely worth the read.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: J2EE Antipatterns: aimed at beginners to experienced or only on experienced?