weekly links 2011-06

Hackers penetrated Nasdaq’s network

Why go with RichFaces

Android Google Maps Tutorial

Using Java 6 processors in Eclipse

Next level of Don’t Repeat Yourself(DRY) principle

Java FX 2.0 – The Installation, Doc and Launch Experience – A Smoke Test

Linux vulnerable to Windows-style autorun exploits and fixed.

Dependency Injection Performance in Java EE 6: Dependent (easy) vs ApplicationScoped (“optimized”)

weekly links 2010-42 & 43

Adding Google Maps to your Java Application

RE: Moving from Spring to Java EE 6: The Age of Frameworks is Over

Java deprecation on MacOSX

How To Choose A Java EE Application Server? (Mail Of The Week)

Steve Jobs Comments on Apple’s Java Discontinuation

JDK / Java 7 on Mac OS X Lion – An Interesting Business Opportunity

Generate, rename and delete getters/setters instantly in Eclipse

Already known but nice to have it detailed 🙂

What Ubuntu should mainly do for 11.04

Mozilla Confirms Firefox Zero-Day and Recommends NoScript

Ubuntu changes its desktop from GNOME to Unity

Java Mac Trojan

the interest of crackers in Apple products is raising.

Mozilla patches Firefox zero-day bug in 48 hours

Introducing JSOP

Yes, a bit old post (Aug 2010) but still interesting

Ajax user authentication and registration techniques with jQuery

Learn how to use Asynchronous JavaScript + XML (Ajax) with jQuery to authenticate and sign-in a user without refreshing the browser. Then, take it a step farther by suggesting user names to a new user who’s attempting to register with an existing user name.

 

Weekly links 2010-29

The Passage of Time by ToniVCCommons Configuration

Commons Configuration provides a generic configuration interface which enables a Java application to read configuration data from a variety of sources.

Lambdas in Java Preview – Part 1: The Basics | Javalobby

…closures (or better lambda expressions) will (probably) be added to JDK7..

Lambdas in Java Preview – Part 2: Functional Java | Javalobby

…giving some practical examples of lambdas, how functional programming in Java could look like and how lambdas could affect some of the well known libraries in Java land…

Lambdas in Java Preview – Part 3: Collections API

In this part I’ll focus on how the addition of lambdas could affect one of the most used standard APIs – the Collections API.

First Symbian^4 Screenshots Surface

for those interested in, there are some previews of the 4th version of Symbian OS

Life is Too Short to Parse Command Line Parameters

Recently, DZone MVB Cedric Beust unveiled JCommander, a tool he developed that takes away the manual labor of command line parsing.  Just six days after posting his announcement for JCommander 1.0, he’s already got an expanded 1.1 version out.  New features include simple internationalization, type converters, and password parameters.

OutOfMemoryError in Eclipse with JDK 1.6.0_21, on Windows

This past weekend I spent a good amount of time trying to solve an OutOfMemoryError that made Eclipse crash every 5 minutes.

Sun Java 6 on Ubuntu 10.04 10.10 and later

Apparently the Ubuntu folks have started putting some weight behind their recommendations for switching to the “OpenJDK.” Fortunately, the official, “proprietary” Java is still available through another Ubuntu repository.

Effective JSON with Google Web Toolkit

Hopefully every developer knows JSON protocol or has at least heard about it. In Google Web Toolkit technology, JSON is a very common protocol

Ubuntu and Compose Key on macbook

Ok, it seems there’s a bug in ubuntu 9.10 (and maybe earlier) with the apple macbook keyboard. The goal should be to map the right command (apple) key as ALT-GR.

A simple workaround is getting to System->Preferences->Keyboard. Select the Layout tab and layout options. Then select the key to choose 3rd level and enter on keypad. Now you can use the enter key (just beside the right apple key) as ALT-GR.

Install Ubuntu (9.10) via Floppy

Introduction

If you  are in hurry you can skip this section. 🙂

I had an old laptop with no capabilities of booting via USB and with a broken cd-rom, but a working floppy. So the main goal was to boot the computer from a floppy then tell the computer to boot via the ubuntu live installed on an USB key.

What you need.

  • A computer that can boot from cd and a USB port.
  • A computer with a running floppy drive.
  • An empty USB key (>=1Gb).
  • An empty Floppy (1.44Mb).

Create the bootable USB

Boot the pc with the desktop live cd-rom. Plug-in the empty usb key and make it bootable. From Applications menu there’s a voice like create USB key. Otherwise you can have a look at the Installation from USB stick on ubuntu official site.

Create the bootable floppy

I’ve tried many way to have a bootable floppy, that can recognize the USB key for booting (dsl, sbm, …) but the only one that had worked was: plop bootmanager. As advised me on the TiLUG Mailing List (Italian).

Download the latest version of plop boot manager (at the time of writing: 5.0.5), expand the obtained zip wherever you like and write the image on the floppy: dd if=plpbt.img of=/dev/fd0.

Booting

Now insert floppy, plug the usb key into the computer with broken cd-rom and boot it via floppy. When asked, select USB from the menu and that’s all folks!