java

Dynamic languages troubles

I have read http://www.manageability.org/blog/stuff/chandler-failure and I think it is very danger way of exposing concepts.

In the article pointed out, the quite dead Chandler project is compared to the multi-billion Eclipse project. And then a too easy analysis is done against dynamic languages, where Java is the absolute winner.

I will try to fix some of the things said there, and to add also my two cents here :)

Java Session Fancy Printing

    public static final String convertToString(HttpServletRequest request) {        StringBuffer msg = new StringBuffer();        try {             msg.append("*RequestURI:" + request.getRequestURI() + "\n");            msg.append("*ContentType:" + request.getContentType() + "\n");             msg.append("== Request Header\n");            Enumeration headers = request.getHeaderNames();            while (headers.hasMoreElements()) {                String headerName = "" + headers.nextElement();                msg.append(headerName + ":" + request.getHeader(headerName) + "\n");            }            msg.append("\n");                        Enumeration attr …

Java Session Fancy Printing Read More »