java

JavaScript War: Prologue

Be strong young Jedi. This war will begin shortly. You can try to keep you jdk under your pillow, but the html5 will hit you in the middle of the night. And a knife in the dark will rise from shadow: JavaScript

Why your IoC container could be a pain for you, young Padawan

Inversion of Control (IoC) is a very good idea. But as the clever Joel Spolsky  noted, sometimes you need to be a super-natural hero to use it: … I try not to be judgemental (HAHA!), but I think that people who use IoC containers are (A) very smart and (B) lacking in empathy for people …

Why your IoC container could be a pain for you, young Padawan Read More »

CScharpizzati

Nei mesi passati ho avuto l’opportunità di lavorare come software architect per un progetto basato su .NET e C#. Da molti anni non bazzicavo in ambito Microsoft, e quindi è stata una utile palestra. Ho pensato di scrivere questo piccolo manuale per sviluppatori java con la ventura di dover diventare… C#-enabled.

Project Ceylon

Gavin King (the inventor of Hibernate) fired out a new language project called Ceylon (I suppose referring to the Tea versus the Java Café). I love new languages. I know a bit of them, and I work with Java form 1995, so I will do a deep review of this news…

SearchBlox is now available as a FREE product with no limitations. | Lucene Search Solution – SearchBlox

On November 12, 2010 SearchBlox  announced the availability of SearchBlox Search Software as a completely FREE product.   I took a look to SearchBlox on a  complex project, and I suggest you to give it a try. It is a good solution for small sites, and it is powered by Lucene. Google Mini has a …

SearchBlox is now available as a FREE product with no limitations. | Lucene Search Solution – SearchBlox Read More »

lambdaj

How many times have you read or written the same two or three lines of code that frequently seem to go together, and even though they operate on different objects, feel like the same thing? And how often these repetitions involve some sort of collections iteration or more generically manipulation? These repetitions in the code …

lambdaj Read More »

typeface.js — Rendering text with Javascript

With typeface.js you can embed custom fonts in your web pages so you don’t have to render text to images. via typeface.js — Rendering text with Javascript, , and VML. With jsmath, this is another example of the power of CSS3 and Javascript. Is the Web the true FUTURE of the desktop GUI?

Proxy NTLM

Spesso capita di dover scaricare file al di fuori del browser: per esempio per installare software o per consentire ai propri programmi python/java/curl di effettuare delle azioni programmatiche Se avete problemi con i proxy Microsoft (cosa abbastanza comune, vista la diffusione), su Internet trovate una soluzione: Cntlm Authentication Proxy vi consente di avere un proxy integrato …

Proxy NTLM Read More »

Axis 1.x payload debug

When using Axis to send data to a web service, you can set the logger level on org.apache.axis.transport.http.HTTPSender to DEBUG to see what’s going on.  Anyway be careful: the system will produce a lot of logs, so use it only in developement mode!  Here’s a sample in log4j.properties:  log4j.logger.org.apache.axis.transport.http.HTTPSender=DEBUG log4j.logger.org.apache.axis.client.Call=DEBUG log4j.logger.org.apache.axis.client.AxisClient=DEBUG log4j.logger.org.codehaus.xfire = DEBUG  The last …

Axis 1.x payload debug Read More »