Anti PAttern
- Anand Nerurkar
- May 2, 2024
- 1 min read
Business Tier
===
Cacheless Cow
==
antipattern that describe when frequently retrieved,but seldom changes, resources are not placed in cache
Conversational Baggage
---
stateful seesion bean is used when stateless was sufficient
Golden hammers of seesion state
===
is the antipattern that describes when a single location is choosen to persist session state.
Sledgehammers for fly
===
EJB is used when pojo was sufficient
Presentation Tier
===
AdLIb TagLib
===
business logic is placed in custom tag instead of pojo
Embeded navingation information
===
resource location embeded into jsp
Including common functionality in every servlet insteead of one parent class
===
Integration Tier
===
Anaemic Domain model
==
antipattern that describe a model with little or no business logic
Fat messages
===
large amount of payload
Monolithic consumer
===
Business logic is placed in Message driven bean instead of BO.
Hot potato
===
Messaging server continues to send a mesage that can not be acknoledged by consumer b/c txn keep failing
not pooling connection
==
Comments