Open source reader

Saturday, June 24, 2006

13 SOA *anti*patterns !

They were set up by steve jones and are described here
  1. The Shiny Nickel
  2. The Technology Altar
  3. Percolating Process
  4. Point to Point Web Services
  5. Splitting Hairs
  6. IT2B
  7. DIY Transport
  8. Nobody Home
  9. Too many Cooks in the SOA
  10. UBER service
  11. A Million Services all in a row
  12. Architectural Stovepipe
  13. Defensive SOA
Happy reading !

Beiing lazy with Hibernate

Found this article called "Lazy Initialization and the DAO pattern with Hibernate and Spring", here is what you'll read:
  • Hibernate and Lazy Initialization
  • Being Lazy in the Web Layer
  • Interceptor Configuration
  • Filter Configuration
  • Being Lazy in the Business Layer
  • Being Lazy in your Unit Tests
please do not forget to read the comments, some of them are worth a look...
Happy reading !

Oh, by the way, let me remind you if you want to use the OpenSessionInView filter, that the order of filters in web.xml IS the order of filter execution (I lost stupidely a couple of hours because of this)

Friday, June 23, 2006

An *alternative* to the displayTag

Here it is

The eXtremeTable takes a Collection of Beans or a Collection of Maps out of a given servlet scope and renders the content on the JSP. The order the servlet scopes will be searched is page, request, session, and application. The eXtremeTable knows what to pull out of the servlet scope because you specify the items attribute on the TableTag.

The Beans in the Collection are plain old java objects (POJO) where each attribute has a corresponding getter and setter method. If using maps the attributes would be name-value pairs. You can think of each bean as being one row in the table display. For the remainder of the documentation I may refer to the Collection of Beans and Collection of Maps as just a Collection of Beans to keep down on the amount of typing.

Happy coding !

Wednesday, June 21, 2006

A captcha *decoder* !

You'll find at http://sam.zoy.org/pwntcha/ a captcha decoder.
Not convinced ?
Upload your captcha images to see it by yourself at http://www.pwntcha.net/test.html

Happy testing !

Sunday, June 18, 2006

CSS Navigation showcase ... *Impressive* !

You'll find it here
That's pretty amazing !