Simon Willison’s Weblog

Subscribe
Atom feed for java

88 items tagged “java”

2007

Why Tamarin instead of... Justification for Tamarin in Mozilla over Mono and the JVM. It mainly comes down to license compatibility and overall size.

# 9th August 2007, 12:43 pm / tamarin, mono, java, jvm, mozilla, john-resig, open-source

Erlang fits all the characteristics of an OO system, even though sequential Erlang is a functional language, not an OO language

Ralph Johnson

# 8th August 2007, 7:47 pm / erlang, objectoriented, programming, java

Java’s Fear of Commitment (via) How Java culture emphasises interfaces and layers of abstraction over solving problems directly.

# 1st August 2007, 10:32 am / java, django

NestedVM. Provides binary translation from a GCC compiled MIPS binary to a Java class file, letting you run anything supported by GCC on the JVM with no source changes.

# 11th July 2007, 2:52 pm / nestedvm, java, gcc, compilers

Mac OS X Leopard: UNIX. Leopard ships with DTrace, and it’s been hooked in to Java, Ruby, Python and Perl.

# 11th June 2007, 11:05 pm / java, ruby, python, perl, dtrace, leopard, osx

google-diff-match-patch (via) Robust algorithms to perform the operations required for synchronizing plain text, in Java, JavaScript and Python.

# 9th June 2007, 6:15 pm / neilfraser, google, open-source, diff, java, javascript, python

I'd like to ask readers of this site which you're more interested in, Sun's JavaFX or signing up for TissueWorld 2008, the Premiere Exhibition and Conference for the International Tissue Industry.

Stuart Langridge

# 9th May 2007, 7:46 pm / stuart-langridge, sun, java, javafx, tissueworld, funny

Just because Java was once aimed at a set-top box OS that didn't support multiple address spaces, and just because process creation in Windows used to be slow as a dog, doesn't mean that multiple processes (with judicious use of IPC) aren't a much better approach to writing apps for multi-CPU boxes than threads.

Guido van Rossum

# 8th May 2007, 9:21 pm / guido-van-rossum, threads, python, ipc, java, windows

Full Java Stack In Ubuntu. JDK6, Glassfish, NetBeans and Java DB are all available in the Multiverse repository for Ubuntu 7.04.

# 20th April 2007, 12:37 am / ubuntu, java, simon-phipps

The promise [of J2EE] was that of infinite scalability based on tooling, which assumes that designing scalable systems is a general case problem. I now firmly believe that this is flawed reasoning. Frameworks don't solve scalability problems, design solves scalability problems.

Ryan Tomayko

# 14th April 2007, 2:35 am / scaling, ryan-tomayko, j2ee, java, frameworks

Quercus: PHP in Java (via) A “fast, open-source, 100% Java implementation of the PHP language”, built to run on top of Resin. Claims to be compatibly with MediaWiki, Drupal, Wordpress, Gallery2 and DocuWiki.

# 12th April 2007, 4:25 pm / docuwiki, gallery2, java, mediawiki, drupal, php, resin, wordpress, quercus

JPC (via) Pure Java emulation of an x86 PC, running at 10% native speed. No code to download yet, but there’s a neat applet that lets you play Lemmings (and other games) running on FreeDOS.

# 25th March 2007, 5:06 pm / java, virtualization, lemmings

Automated Translation of Java to Python. java2python can translate most Java code in to non-idiomatic Python, using ANTLR for the heavy lifting.

# 15th February 2007, 3:50 pm / antlr, java2python, java, python

Two hosts are considered equivalent if both host names can be resolved into the same IP addresses [...] Note: The defined behavior for equals is known to be inconsistent with virtual hosting in HTTP.

java.net.URL documentation

# 31st January 2007, 9:13 pm / funny, horrifying, java

Mr. Gosling—why did you make URL equals suck?!? Wow, the behaviour of java.net.URL.equals is completely idiotic.

# 31st January 2007, 8:40 pm / java

In Which I Think About Java Again, But Only For A Moment. Convincing argument as to why desktop applications written in Java rarely have decent user interfaces.

# 22nd January 2007, 9:39 pm / ui, usability, java

Groovy 1.0 is done. They finally got to 1.0!

# 7th January 2007, 10:18 pm / groovy, java

2006

Why do so many reddit users hate java? The answers provide a good overview as to why Java has fallen out of favour with the alpha-hacker crowd.

# 15th December 2006, 2:20 pm / java, reddit

Java SE 6 Released. “Script engines” (like JavaScript, Jython and JRuby) become a first class citizen.

# 12th December 2006, 8:48 am / javascript, jython, jruby, java

Bayeux. Comet might just make Java relevant for web development again.

# 7th August 2006, 11:51 am / bayeux, alex-russell, comet, java

2005

IBM to Free Java—Next Week? The question mark means it’s a rumour.

# 19th January 2005, 4:54 pm / java, ibm

2004

EclipsePlugins (via) Eclipse is the only IDE I’ve ever used that has actually increased my productivity.

# 28th May 2004, 7:23 pm / eclipse, java, plugins

2003

Clearout

More Java

Simon Brunning has a great selection of online Java resources. I should really give it its own category.

Jython as a learning tool

In Jython Is Just Too Useful, Joey Gibson shows how Jython can be used to quickly demonstrate Java class libraries interactively, including using Python’s dir() builtin to inspect available methods of Java classes. I used Jython last year while learning Swing for a piece of University coursework and found that being able to interactively create and manipulate Swing components (and see them appear on the screen as I typed) sped up the learning process a great deal.

Python for Java programmers

Python and Jelly: Scripting Power for Java and XML incorporates an excellent introduction to Python and Jython for Java programmers, with a whole bunch of comparative code samples and comprehensive coverage of differences between the two languages.

2002

JSP bits and pieces

I’ve been reading up on the Jakarta Struts MVC framework, courtesy of Simon Brunning. Struts, an open-source MVC implementation is a great starting point, and the ONJava JSP/JSTL series (also found via Simon) were very informative as well.

Java GUI Builder

One of the things I really like about PythonCard is that it enables (and in fact actively encourages) you to completely separate the GUi of your application from the program logic. In PythonCard you design your GUI by adding and dragging elements around in the resource editor, then create a simple Python class with event handlers to define what should happen when your GUI is interacted with. Now, thanks to the Java GUI Builder (spotted on Small Values of Cool), you can do the same thing in Java.

[... 229 words]