Archive for the ‘Geek Schtuff’ Category

Axis SOAP Client Timeout

Thursday, December 16th, 2004

I am facing network unrealiability challenges for the client/server communication on CatchBob!. It is therefor important to play in the timeout value of the client (depending on the detected connectivity). How do I set a timeout when using WSDL2Java stubs? explains how to set the timeout on the client.

Google Suggest

Tuesday, December 14th, 2004

Google Suggest offers suggestions as you type. It uses XmlHttpRequest technique of going back to the web server for more data while the user interacts with a page.

Advanced MVC Techniques

Thursday, December 2nd, 2004

Everybody seems to have its own way to implement the MVC. I use the Betz way (not documented yet). There are other advanced MVC techniques.

EtherWatch

Monday, November 29th, 2004

Etherwatch monitors your Ethernet traffic, looking for images, and Google search terms, and displays these on screen in a mosaic format. It’s a cool way to see what’s going on over your network.

Java Location Services

Monday, November 29th, 2004

Java Location Services is a portal that features the emerging market of Location (Based) Services. Location Services combine Web, wireless and GIS technologies to provide the means to exploit location information anywhere, anytime, and on any device. Java and XML are key enabling technologies.

A Quick Guide to GUI Design

Saturday, November 27th, 2004

Via Slashdot a resourceful guide on Usable GUI Design targeted to Open Source Software developers.

Image with Transparent Color in Java

Tuesday, November 23rd, 2004

A simple class to give transparent backgrounds to images in Java graphics. Make a color transparent.

Filesystem Hierarchy Standard

Monday, November 22nd, 2004

Filesystem Hierarchy Standard is a set of requirements and guidelines for file and directory placement under UNIX-like operating systems. The guidelines are intended to support interoperability of applications, system administration tools, development tools, and scripts as well as greater uniformity of documentation for these systems

The Importance of Consistency

Thursday, November 18th, 2004

From Java Development on MacOSX Pretty “Swell” to Me:

I think a most sensible choice in terms of tools selection is to pick ones that are “OS neutral.” That is, tools that are essentially the same, no matter what OS you run. jEdit, Eclipse, vi, emacs, Google, Firefox all fall under that category. It’s important because it means you won’t have to learn new tools if for some reason you have to work on a different OS.

Screenshot in Java Using javax.imageio

Wednesday, November 17th, 2004

Perfect piece of Java code to take screenshots during experiments on CatchBob! From Take a screenshot and save it to a PNG file using javax.imageio.

// determine current screen size
Toolkit toolkit = Toolkit.getDefaultToolkit();
Dimension screenSize = toolkit.getScreenSize();
Rectangle screenRect = new Rectangle(screenSize);
// create screen shot
Robot robot = new Robot();
BufferedImage image = robot.createScreenCapture(screenRect);
// save captured image to PNG file
ImageIO.write(image, “png”, new File(outFileName));