Maven dependencies an Glassfish

12 December 2007

I am a bit new to Maven2 but it seems like I am not the only one to have problems with dependencies. Looks like stuff related to Sun Application Server (now Glassfish) and the Webservice Stack (now Glassfish Metro) has changed and the repositories moved.

References :


Remote access to Netbeans

11 December 2007

Using Netbeans remotely with FreeNX, I had some trouble with the display not refreshing very well.
The solution is simply to uses sun.java2d.pmoffscreen, i.e.  add the option -J-Dsun.java2d.pmoffscreen=false in etc/netbeans.conf.

There should be a way to detect if the display is local or not reading the DISPLAY env variable :

…j2se/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java , see _isDisplayLocal method …

I have to try with the J2D_PIXMAPS=shared/server env variable too.


Web Caching

6 December 2007

Some resources about Web caching :

  • Smart JavaScript Caching
  • Google Web Toolkit changes file names for each modifications. I guess it is some kind of time hash. Couldn’t find explicit information however.
  • Apache HTTP Server 2.2 Caching Guide about mod_cache, mod_disk_cache, mod_mem_cache, mod_file_cache and htcacheclean. It describes how to use Apache’s caching features to accelerate web and proxy serving, while avoiding common problems and misconfigurations.
  • Varnish is a state-of-the-art, high-performance HTTP accelerator. It take full advantage of the virtual memory system and advanced I/O features.
  • Squid Web Proxy Cache
  • I am not including Akamai …