A First Java Studio Creator Session

I noticed Sun released the first Early Access of Java Studio Creator to the public. So I downloaded and tested it for a bit. Most of the screenshots in this post are clickable.

Java Creator Splash

JSC is written entirely in Java and uses Swing for the GUI which causes it to use an extraordinary amount of memory (I have 384mb of ram and a couple of programs running, such as firebird, thunderbird, iTunes, eMule), JSC lets Windows swap all the time.

When it has finally started you immediately notice it looks a lot like Visual Studio. A lot? It seems like they just copied the interface (but with more ugly Swing components):

Java Creator Screenshot

For this first session I’m going to develop a new JSF (Java’s ASP.NET competitor) web application. Which also appears to be the only option.

Java Creator Screenshot

Just like with ASP.NET we end up with an empty page and a toolbox full of components we can drag on to it, as if it’s a normal client-side GUI application.

Java Creator Screenshot

For now I’m going to drag in a textbox, a button and an output box. When somebody fills in their name in the textbox and pushes the button the values of the output box should change to the user’s name.

Java Creator Screenshot

When double-clicking on the button the source view opens. Here you can write to code that has to be executed when the button is clicked. The editor looks a lot like Visual Studio, including the code folding feature. Of course it also has code completion.

Java Creator Screenshot

We use a very simpel piece of code to copy the value from the textbox into the output box.

Java Creator Screenshot

When we press the green run button on top the project is built and deployed to Sun’s Java application server, which comes with the JSC package (hence it’s size).

Java Creator Screenshot

We end up with a browser showing the page we just made. We fill in our name. And press the button.

Java Creator Screenshot

And it works!

Java Creator Screenshot

JSC looks promising and makes developing web applications easy. I haven’t tested much of the features as it’s simply too slow on my machine. I’d have to plug in some more memory to really get it running, or exit some of my precious applications, but I decline to.

If you want to test it out, go to the Java Studio Creator website, register for the early access program (free) and download it. The package is about 141 mb big (for Windows that is).