« More than I wanted to know about groovy.lang.Closure | Main | Announcing Griffon 0.0 »

Griffon and Greet: Starting to get Groovy

Things on Griffon and Greet have been chugging along. Just a soon as Groovy 1.6 Beta 2 ships I'll likely be ready for a 0.0 release, and such. (Remember, we are all computer scientists, and we start counting from zero). In the meantime here is an applet of the main demo for Griffon. This works best with the 6u10 release, and it may not work in your RSS readers either.

This is using Josh Marinacci's Applet Poster Frames, so click on the image below to get started.

If you would like to look at the code (1) SVN sync http://svn.codehaus.org/groovy/trunk/groovy/modules/griffon/ and (2) Dude, ur a hax0rz now!!!!oneelevenone!. Seriosly though, a proper tutorial will accompany the 0.0 release in a few weeks.

Enjoy!

Comments (7)

Amazing job! Applets on 6u10 are pretty nice :) This may make twitter slightly tolerable in my eyes :)

It is an understatement to say that "Griffon is to Desktop as Grails is to Webapps". GREAT JOB, . . . I have been dabbling in Griffon and look forward to future release.

Kudos to the entire Griffon Team.

Jim

rawi:

Griffon could be a hope even for me...

But the applet cannot start:

java.lang.ClassNotFoundException: griffon.applet.GriffonApplet.class
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:164)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:127)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:640)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:785)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2302)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
at sun.applet.AppletPanel.run(AppletPanel.java:368)
at java.lang.Thread.run(Thread.java:619)

I've just updated to java 1.6.0.10-rc2
Firefox 3
Ubuntu 7.10

Thank you.

Danno Ferrin [TypeKey Profile Page]:

Ubuntu Intreped Ibex (7.10) hasn't been released yet. Are you sure it's not something messed up in the pre-beta distro? I'de need more info from the java console (cranked up to log level before laoding the applet) to see what the issue is. Could be a bad local cache, not having the right signing authorities, the signature could have been autmoatically decliend, etc.

Brian Bonner:

I see the same problem:

load: class griffon.applet.GriffonApplet.class not found.
java.lang.ClassNotFoundException: griffon.applet.GriffonApplet.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


running on Win2000 and Firefox

Danno Ferrin [TypeKey Profile Page]:

Need more than just a stack trace. There is somehting wrong with the cache, but I'm not sure what.

What JDK version?

Can I get a full trace from the java console? (open up the console, type '5', clear it, and reload the page)?

And really, this should be a jira issue: http://jira.codehaus.org/browse/GRIFFON

Danno Ferrin:

Fixed it. The problem with updating live code is that all the applets that reference it need to be kept in sync. In this case some file names changed, in this case just the case of a file name. 6u10 worked like a champ because it references a jnlp file that updates with the change. But old-world plugins references the jars in-tag, requiring an update.

So really, this is an example of how another layer of indirection not only solves a problem, but increases reliability when it is used properly.

Post a comment


About

This page contains a single entry from the blog posted on August 29, 2008 10:48 PM.

The previous post in this blog was More than I wanted to know about groovy.lang.Closure.

The next post in this blog is Announcing Griffon 0.0.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.33