Sun Releases Second Java 6 Beta

By Nate Mook | Published June 21, 2006, 4:37 PM

Sun Microsystems on Wednesday released the second beta of Java 6, the company's next-generation development language targeted at so-called Web 2.0 programmers. Perhaps most enticing for those new to Java, the update adds a framework for supporting popular scripting languages such as PHP.

Java SE 6 -- previously known by the code-name "Mustang" -- also leverages JavaScript and includes a full "Web services client stack," along with support for recent Web services specifications like JAX-WS 2.0 and JAXB 2.0. In addition, the release will bring support for Windows Vista.

The Beta 2 release adds a new database to the Java Development Kit (JDK), which requires a footprint of only 2MB. Java DB is Sun's version of the open source Apache Derby database, and supports triggers as well as stored procedures.

The JDK additionally adds the GroupLayout component from the NetBeans GUI Bulder, Sun said, which provides visual development capabilities based on Swing.

Progress has been made on the desktop side as well. Java SE 6 more tightly integrates with the native operating system platform by emulating the look and feel, while adding support for text printing and drag-and-drop.

A final release of Java SE 6 is expected in the fall. The beta version can be downloaded now through Sun's Developer Network Web site.

Comments

View comments by with a score of at least

i think these developers have mustang 5hit, for inspiration.

Score: 0

|

Java, the biggest piece of crap ever made. Stop this as soon as you can.

Score: 0

|

Have you ever looked at VB?

If you look at what Java was designed and intended for, it does it better then any other language. That is, compile once - run anywhere is true for most things. Plus, a number of very large systems disagree with you, such as the ERP created by SAP. The core of that system is now java. Granted, the VM has been tweaked heavly to run what needs to be run, it is still java.

If you understand how java works, and how it actually compares to things like C++ and C# once the VM is running, you would know where to use it and how good it actually is.

Score: 0

|

You cannot be more wrong, my friend. Java is a GREAT technology. In my opinion, it is so good that Sun does not deserve to oversee its development.

I'm not sure which camp you are in, but I see a few people doing .NET do not know enough about Java when they make negative remarks about Java.

I love .NET, particularly C#. As a language, I think C# is better than Java. But I still have a lot of respect for Java. It is still a formidable technology.

Score: 0

|

phill666, I think it is not very fair to compare Java with VB. As a language, Java's closest cousin is C#, because the designers of C# obviously took (too) many things from Java when they designed C#.

I disagree that Java "does it better than any other language." Java is starting to lag behind newer languages and programming platforms, such as C# (.NET Framework) or the dynamic languages (Ruby on Rails, etc.). And I put the blame solely on Sun.

Score: 0

|

He's not talking about the language, he's talking about the end user experience for java. users hate it's slowness, the plug-ins, the bugs, the incompatible nature of it's "upgrades," it's frequent security issues historically.

Score: 0

|

Java is indeed not very good on the desktop yet. And I hate applets too. However, this is a very small portion of Java.

A large portion of Java deployment is still on the server side - that's where the $$$ is at the moment.

Score: 0

|

You missed it, He said "the biggest piece of crap ever made" VB is the biggest piece of crap ever made, not just from a proper development point of view, but from an end user point of view as well.

Turns out you missed the second comment as well. Java was intended as a multi-platform language, that big "Compile once Run anywhere" slogan that sun came up with means compile on windows, run on Linux, Unix and Mac. C# is not intended for the same use, it is Windows, and only Windows. Nothing else does what java does, and runs as many places as java. You may say PHP can run anywhere, but it is a weak language compared for java. Granted, when you get into lower level stuff like hardware, java starts to have problems with the run anywhere bit, but that’s like everything else.

Java is a very powerful language, very easy to use and once you learn what you are doing, you can make it a lot faster (like any language). You don’t have to worry about memory, memory leaks, over-runs, etc. you really have to be a moron to not be able to program it.

Score: 0

|

While we both agree that Java is great, I really do not see great benefit of "compile once, run anywhere". It is extremely rare that a server-side app. needs to change platform. This is even more so now with SOA and stuff.

It has more benefits for desktop apps. But Java is not good for desktop apps. Just look at OpenOffice & Azureus. They are both not very resource efficient. Azureus is better only because of SWT.

PHP fans may take offence at your statement there. But let's not go into that.

Oh, and Java apps do have memory leaks.

Score: 0

|

'"compile once, run anywhere". It is extremely rare that a server-side app.'

i don't think so. you can develop application under linux or even windows on common computers with i386-like processors or amd64 (with no difference) and then deploy whole application to servers based on itanium/sparc/opteron processors with Linux, Solaris or even Windows. imho this is quite good benefit.

Score: 0

|

Java is the ONE.
Microsoft sucks...

Score: 0

|

Score: 0

|

Apparently this version of Java has minor speed improvements. Sounds good to me, if they can enhance speed while adding new crap. :D

Score: 0

|

Sun has disappointed me again and again with their mediocre developer support. They should learn a lesson or two from MS. MS really has excellent developer support. Yeah, sure MS has the money. But I still feel Sun can do a lot better.

Java is also too rigid compared to C# / .NET. I hope things will change for the better for Java.

Score: 0

|

"A final release of Java SE 6 is expected in the fall"

If only it were truly the 'final' release. Put this crap to sleep.

Score: 0

|

Hooray for a platform that was supposed to negate the need to updating clients and be cross platform! So now we upgrade everything 6 times a year!

Hopefully this version breaks as much as v5 broke in the embedded space.

Score: 0

|

I hope the new version supports x64 editions of Windows.

Score: 0

|

It no doubt will. The old versions have.

Score: 0

|

Really? If Sun fully supports 64-bit Windows as you claim, then why can't I use Java in 64-bit IE?

Score: 0

|

Exactly.

Score: 0

|

Vista users should consider grabbing Mustang if they run Java applications... previous versions of Java are incompatible with Aero Glass (probably because of the strange, non-WinAPI way they handle Windows themes... they seem to go straight to the .MSSTYLES file instead of calling functions through the theming API like they should).

Luckily, Mustang is compatible with Aero Glass, which is good news if you have an app in Java that you NEED to use, but you like glass. >.>

Score: 0

|

"adds a framework for supporting popular scripting languages such as PHP."

So now PHP can run as slow as Java. That's not exactly what they mean by leveling the playing field.

Score: 0

|

PHP is waaaaaay slower than Java.

With a good JIT compiler, Java does just run slightly slower than C++, and still faster than all the existing interpreted languages.

Evidence can be found here: http://shootout.alioth.d...p?test=all&lang=all

Score: 0

|

"Java SE 6 more tightly integrates with the native operating system platform by emulating the look and feel ... "

good to see that six versions later sun has finally pulled its collective head out of its collective ass.

Score: 0

|

Still java 1.5> crashes on Linux while visiting the folowing URL:
http://www.forexpf.ru/_quote_show_/java/

I have also reported this incident to Sun.
Version 1.4.x has not this bug.

Score: 0

|

Palm posts third quarter results: disappointing sales, more net loss

Palm may be doing better this year than it did last year, but with only 42% sellthrough for the quarter, there's plenty of room for improvement.

Kindle for Mac released: Is Amazon's e-reader moving away from hardware?

Today, Amazon announced Kindle for Mac, the latest addition to the family of free Kindle software.

Microsoft cuts and pastes an egg

Carmi Levy | Wide Angle Zoom: We've listened to our mobile customers, said Microsoft, and cut-and-paste isn't what they want? Uh-huh. Right.

Google improves Maps for Android, rolls in bonus features

The search provider has improved page listings in Maps 4.1, adding a Latitude widget and live wallpaper.

Will Viacom's public airing of YouTube's dirty laundry change the Web forever?

If Viacom wins its summary judgment, will video services everywhere have to police their content for anything that may belong to a copyright holder?

Let the rejections begin: Apple opens first round of submissions for iPad App Store

In a message sent to developers today, Apple announced that it is now accepting iPad apps for the iTunes app store.

Viacom and YouTube: Timeline of pertinent events

The billion-dollar legal battle between Viacom and YouTube is in its third year, but the video site's run-ins with Viacom stretch back more than five years.

A tale of two "red alerts:" Which Windows warnings should you heed?

A pair of malware warnings are circulating worldwide, but after reading so many, they all seem alike. Sophos tells us to read them all more carefully.

Nvidia admits GeForce drivers responsible for fan problems, issues updates

It's the type of driver error you see less and less frequently, but after a few video cards were smoked, Nvidia has issued what it hopes will be a fix.

Netflix axes 'friends' feature due to unpopularity

After mysteriously disappearing from the Movie Detail page on Netflix, the Friends feature is in the process of being removed.

Preliminary results: IE9 tech preview performs 7.8 times better than IE8

There are indeed significant improvements made to the efficiency and processing power of Microsoft's next browser, though they're not across the board.