[the downside]: "Singletons are evil. Douuuugh. How do you test a singleton ? Worse: how do you test a singleton that requires an HttpServletRequest to initialise ?
Know what is out there! . I can't believe they wrote a Connection pool themselves...
It is good to use a web framework. But it's bad to pick an unknown, buggy, immature framework (sorry...no names here) that was developed by someone who went the 'not invented here' road.
Tight coupling of business logic to the web framework, the Servlet API, the Singletons, the DB, the everything. Again: how do you test this ?
Code to interfaces, not to implementations. I see private ArrayList foo, private HashMap bar all over the place "
Wednesday, February 09, 2005
Subscribe to:
Post Comments (Atom)
Popular Posts
- Configuring Tomcat5 and Apache2 with Virtual Hosts using mod_jk
- AS400 Job Scheduler
- Using as400 QRCVDTAQ api to retrieve a message / entry from a dataqueue
- EclipseZone - Clean Up Warnings with the 'restriction' Suppression Flag
- Adobe Flex 2.0 Beta
- Common Gateway Interface (CGI) on the as400 / iSeries
- AS400 APIs
- as400 Iseries Tips
- What is LANSA
- What is RPGsp (RPG Smart Pages)
No comments:
Post a Comment