The next version of Java, code-named Mustang, is expected to feature Web 2.0 functionality in the form of expanded support for scripting languages. Mustang is due in a beta release later this month.