open-menu closeme
Home
RetroComp icon
Retro Computing Articles Composition Notebooks 8bit
DevOps icon
Automation K8s Done Right
GenAI icon
Fatlama Newsletter Generative AI
SQLite
Status
Links icon
LinkedIn
About
馃寪
English Italiano
github linkedin rss
  • The Project Manager

    calendar Jun 28, 2006 路 1 min read
     blog-objectsrootcom en  路 ant evil fini java linux programming project steve trouble ui vi
     路
    Share on: twitter facebook linkedin copy
    The Project Manager

    Steve is not a normal solution provider.
    Steve is the final destination for Project Management troubles.


    Read More
  • Site Update: Happy new editor!

    calendar Feb 28, 2007 路 1 min read
     blog-objectsrootcom en site  路 ajax ant complex django easy editor framework good java javascript make news opinion pd script site touch vi web
     路
    Share on: twitter facebook linkedin copy
    Site Update: Happy new editor!

    (First published on 2007-01-20)

    Hi all, ObjectsRoot now has correct story ordering ontags view!


    Read More
  • Java Session Fancy Printing

    calendar Mar 27, 2007 路 2 min read
     blog-objectsrootcom en  路 http java list sage
     路
    Share on: twitter facebook linkedin copy
    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 = request.getParameterNames();聽聽聽聽聽聽聽聽 聽
    聽聽聽聽聽聽聽聽聽聽 聽
    聽聽聽聽聽聽聽聽聽聽聽 ArrayList l = new ArrayList();
    聽聽聽聽聽聽聽聽聽聽聽 String att;
    聽聽聽聽聽聽聽聽聽聽聽 while (attr.hasMoreElements()) {
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 att = (String) attr.nextElement();
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 l.add(att + " -> " + request.getParameter(att));
    聽聽聽聽聽聽聽聽聽聽聽 }
    聽聽聽聽聽聽聽聽聽聽 聽
    聽聽聽聽聽聽聽聽聽聽聽 msg.append("=== Request ( " + l.size() + " ) ===\n");
    聽聽聽聽聽聽聽聽聽聽聽 Object a[] = l.toArray();
    聽聽聽聽聽聽聽聽聽聽聽 Arrays.sort(a);
    聽聽聽聽聽聽聽聽聽聽聽 for (int i = 0; i < a.length; i++) {
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 msg.append((String) a[i]);
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 msg.append("\n");
    聽聽聽聽聽聽聽聽聽聽聽 }
    聽聽聽聽聽聽聽聽聽聽聽 msg.append("===聽聽 ===聽聽 ===\n");
    聽聽聽聽聽聽聽聽聽聽 聽
    聽聽聽聽聽聽聽聽聽聽聽 // Process the Session
    聽聽聽聽聽聽聽聽聽聽聽 HttpSession session = request.getSession();
    聽聽聽聽聽聽聽聽聽聽聽 // msg.append("\n");
    聽聽聽聽聽聽聽聽聽聽 聽
    聽聽聽聽聽聽聽聽聽聽聽 Enumeration e = session.getAttributeNames();
    聽聽聽聽聽聽聽聽聽聽 聽
    聽聽聽聽聽聽聽聽聽聽聽 TreeMap t = new TreeMap();
    聽聽聽聽聽聽聽聽聽聽聽 String k;
    聽聽聽聽聽聽聽聽聽聽聽 while (e.hasMoreElements()) {
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 k = (String) e.nextElement();
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 Object oggetto;
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 try {
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 oggetto = session.getAttribute(k);
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 } catch (Throwable notSerializableException) {
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 oggetto = "NON DESERIALIZZABILE. Chiave:" + k;
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 聽
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 }
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 t.put(k, oggetto);
    聽聽聽聽聽聽聽聽聽聽聽 }
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 聽
    聽聽聽聽聽聽聽聽聽聽聽 Object orderedKeys[] = t.keySet().toArray();
    聽聽聽聽聽聽聽聽聽聽聽 msg.append("=== Session聽 ( " + orderedKeys.length + " " + (usertempz != null ? "+ 1UT" : " NO UT!") + " )===\n");
    聽聽聽聽聽聽聽聽聽聽聽 Object elem;

    聽聽聽聽聽聽聽聽聽聽聽 for (int i = 0; i < orderedKeys.length; i++) {
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 elem = t.get(orderedKeys[i]);
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 msg.append(orderedKeys[i]);

    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 msg.append("\t-> ");
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 if (elem != null) {
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 nicePrintSessionObj(msg, elem);
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 } else {
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 msg.append("null");
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 }
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 msg.append("\n");
    聽聽聽聽聽聽聽聽聽聽聽 }
    聽聽聽聽聽聽聽聽聽聽聽 return msg.toString();
    聽聽聽聽聽聽聽 } catch (RuntimeException e) {
    聽聽聽聽聽聽聽聽聽聽聽 return msg + "\nERR: Cannot print session/request!!" + e.getMessage();
    聽聽聽聽聽聽聽 }
    聽聽聽 }


    Read More
  • Will Zend slash rubyonrails?

    calendar Dec 9, 2007 路 2 min read
     blog-objectsrootcom en  路 build code design easy eclipse engine example framework funny http ibm java jug lamp nerd pd pdf perl php project python ruby small system ui web
     路
    Share on: twitter facebook linkedin copy
    Will Zend slash rubyonrails?

    Let the Zend Framework introduce itself as a Borg would do: 


    Read More
  • Dynamic languages troubles

    calendar Jan 30, 2008 路 3 min read
     blog-objectsrootcom en  路 again ant api arc build business car code complex database design easy eclipse example fix hard hosting http ibm import java lion microsoft perl php plugin project projects python ruby simple small smalltalk software sql system tools trouble ui unix war web world
     路
    Share on: twitter facebook linkedin copy
    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.


    Read More
  • Javascript and Smalltalk

    calendar Feb 15, 2008 路 3 min read
     blog-objectsrootcom en  路 ajax ant build car code development easy features fix future git good hard html http interface java javascript jquery performance ping programming project sage script simple small smalltalk software squeak system tip ui usa vi war web
     路
    Share on: twitter facebook linkedin copy
    Javascript and Smalltalk

    There is a future for SmallTalk? I was a very strong fan of the SmallTalk language, but in the last five years I have seen more and more contraction of its usage in the IT field.


    Read More
  • The Valueteam PDFGenerator

    calendar Apr 16, 2008 路 2 min read
     blog-objectsrootcom en  路 ant api arc asp business car commercial cute database design email file import interface j2ee java microsoft net pd pdf prove software test tip ui vi war web
     路
    Share on: twitter facebook linkedin copy
    The Valueteam PDFGenerator

     

    Per un importante cliente di ValueTeam, ho sviluppato per un'applicazione chiamata PDFGenerator, che è stata pacchettizzata come un vero e proprio prodotto.
    PDFGenerator nasce in una situazione caratterizzata da un alta variabilità dei requisiti utente.


    Read More
  • iPhone programming

    calendar Apr 28, 2008 路 3 min read
     blog-objectsrootcom en  路 ant apple bad book books build code developement development easy features good guide ideas interface iphone ipod java linux macosx make nerd news programming small smalltalk table touch trip ui vi war
     路
    Share on: twitter facebook linkedin copy
    iPhone programming

    iPhone is the brand-new Apple product which has changed the way Apple thinks. Because of iPhone, Apple strip the word "Computers" from its brand name. And because of iPods and iPhone products, Lepoard developmenet slip a bit, blurring the focus on pure technology.
    To be true, I do not beat on  the iPhone success, but the product success is at least  bright this year. And the iPod touch has also added value to the iPods product catalog. But I am an IT-man, damn you boy! So I want to buy it to play with it, to program with it!


    Read More
  • Ajax, Flex, JavaFX & Silverlight

    calendar Jul 3, 2008 路 4 min read
     it  路 ajax informatica java jug redscorpion
     路
    Share on: twitter facebook linkedin copy

    Il tre luglio ho avuto modo di partecipare al “JavaFX Circle Meeting” organizzato dal JUG. Durante l’evento 猫 stato anche svelato il mistero del logo usato dal meeting :)

    I relatori dell’incontro sono stati Lorenzo Sicilia e Marcello Teodori, che sono stati molto chiari ed esaustivi聽 nella loro esposizione.


    Read More
  • Brasil4Win 1.1 and Jython 2.5a3: testing in progress

    calendar Sep 16, 2008 路 1 min read
     en  路 backup brasil4win bug java jython python redscorpion
     路
    Share on: twitter facebook linkedin copy

    Because of the forthcoming release of Jython 2.5 (after an year of silence), we at Gioorgi.com are checking Brasil compatibility, right now.聽 What is Jython?… we read from the Jython website:

    Jython is an implementation of the high-level, dynamic, object-oriented language Python written in 100% Pure Java, and seamlessly integrated with the Java platform. It thus allows you to run Python on any Java platform.
    Jython 2.5 looks very promising, and we are planning Jython support for future Brasil releases.
    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • 5
    • »
    • »»

Giovanni Giorgi

Master Solution Architect, father and free spirit.
Read More

Recent Posts

  • Anubis: DDos Protection
  • KarmaKit and Watchtower
  • FatLama for GenAI: The comeback!
  • Caciaball Extreamer

Latest comments

    Disclaimer

    Gioorgi is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for website owners to earn advertising fees by advertising and linking to amazon.com, audible.com, and any other website that may be affiliated with Amazon Service LLC Associates Program. As an Amazon Associate we earn from qualifying purchases.
    Last updated:2025-05-16 14:23
    Giovanni Giorgi

    Copyright 1999-  GIOVANNI GIORGI. All Rights Reserved

    to-top