Linked by Thom Holwerda on Wed 15th Nov 2006 19:47 UTC, submitted by ahmetaa
Java There is a new scripting language in development called F3 from Sun, specifically designed for GUI programming. It allows designing Flash-like GUIs with ease and can call Java libraries directly. You can launch demos and get more information from the related blog.
Order by: Score:

Could it be...
by Sphinx on Wed 15th Nov 2006 20:40 UTC
Sphinx
Member since:
2005-07-09

A better stronger typed more functional javascript?

RE: Could it be...
by ahmetaa on Wed 15th Nov 2006 21:04 UTC in reply to "Could it be..."
ahmetaa Member since:
2005-07-06

initially i thought it is GUI specific. Actually, it seems to be a general purpose declarative scripting language but Sun will push it for GUI usage i think.

Edited 2006-11-15 21:15

Awesome
by slashdev on Wed 15th Nov 2006 20:47 UTC
slashdev
Member since:
2006-05-14

I have been waiting for this! Sun should've done this years ago! Back when Java was the language of choice for dynamic banners and ads, etc before the flash invasion.

Better late than never i guess!


Now we need Sun to push forward on the Java Media Framework (JMF) so we can have some great cross platform media players, to usurp these horrible flash players popping up everywhere.

RE: Awesome
by bsantos on Wed 15th Nov 2006 21:21 UTC in reply to "Awesome"
bsantos Member since:
2006-01-08

Well said.

With easier Java distribution (now with the license change), there can be better browser support, and Java will be installed by default.

Although I doubt that actual Flash creators will migrate to this, anyway. They're using easier GUI interfaces for composing their GUIs, how does ActionScript compare to F3 and Java?

RE[2]: Awesome
by ChiliJ on Thu 16th Nov 2006 16:58 UTC in reply to "RE: Awesome"
ChiliJ Member since:
2005-08-12

I hope this also encourages Adobe to open up Flash a little more.

Avalon?
by miketech on Wed 15th Nov 2006 21:31 UTC
miketech
Member since:
2005-07-21

Hi,

is it similar to Microsofts Avalon (Windows Presentation Foundation)? Because with Avalon you can create flash like GUIs too.

Greetings

Mike

RE: Avalon?
by ahmetaa on Wed 15th Nov 2006 21:43 UTC in reply to "Avalon?"
ahmetaa Member since:
2005-07-06

XAML is not a bad technology (it is not really directly Dependant to .net or windows i assume, like Xul), would be a good thing to implement a Java version of that too. However, since MS is behind, i may expect them to tie it to .Net, windows or IE somehow.

A real Integer type!
by John Nilsson on Wed 15th Nov 2006 21:44 UTC
John Nilsson
Member since:
2005-07-06

F3 Java
String java.lang.String
Boolean java.lang.Boolean
Number java.lang.Number
Integer byte,short,int,long,BigInteger

Wow, you've got to have respect for a language that actually has a sensible integer type.

Wow
by JeffS on Wed 15th Nov 2006 22:24 UTC
JeffS
Member since:
2005-07-12

Looks really really impressive.

To me, it's a much more attractive alternative to Flash, because of the following:

1. Flash is fully proprietary, Java is now GPL
2. Flash is a huge CPU hog.
3. Flash IDE/tools are very expensive, Netbeans (which I'm sure will have an F3 feature) is completely free
4. F3, running on a standard JRE, will have full access to the awesome Java APIs - Flash's APIs pale by comparisson.

BTW - with Java 6, Swing performance, LnF, and fonts are all greatly improved. Sun is starting to get serious about Java on the desktop.

RE: Wow
by Sphinx on Thu 16th Nov 2006 01:13 UTC in reply to "Wow"
Sphinx Member since:
2005-07-09

Thought adobe gave flash to the mozilla foundation last week.

RE[2]: Wow
by ahmetaa on Thu 16th Nov 2006 01:39 UTC in reply to "RE: Wow"
ahmetaa Member since:
2005-07-06

Only the actionScript i think, not the Flash core.

RE[3]: Wow
by someone on Thu 16th Nov 2006 07:30 UTC in reply to "RE[2]: Wow"
someone Member since:
2006-01-12

Only the ECMAScript VM.

RE[4]: Wow
by Sphinx on Thu 16th Nov 2006 22:32 UTC in reply to "RE[3]: Wow"
Sphinx Member since:
2005-07-09

Thought that was venkman and they already had one.

RE: Wow
by ahmetaa on Thu 16th Nov 2006 01:44 UTC in reply to "Wow"
ahmetaa Member since:
2005-07-06

Although i agree it has advantages over flash, i think for this language to succeed Java2D needs more low level speed and resource usage improvements (like using simd instructions, direct access to opengl-directx pipeline) to keep up with Flash. Thats said, still i think this is a very good way of making appealing rich client applications (not browser) since it is integrated well with Java libraries.

I like it
by dukeinlondon on Wed 15th Nov 2006 22:58 UTC
dukeinlondon
Member since:
2005-07-06

I have always wondered why SUN had so sacrificed the desktop... If there was a market for Flash, there was a market for that with a pro IDE and a free introductory one...

Anyway, the 'too late = failure' adage of the software industry will apply in this case as in many I am afraid.

RE: I like it
by someone on Thu 16th Nov 2006 07:29 UTC in reply to "I like it"
someone Member since:
2006-01-12

While Sun is pitching this as a competitor to Flash, I am not sure if this is really the case. Even with F3, I doubt Java will be more capable than Flash when it comes to animation. Due to the neglect of JMF, it will also be weaker than Flash when it comes to multimedia integration (Fortuantely, Java Sound is still okay).

This being said, Java with F3 could be a legitimate competitor to Flex, which is being pitched by Adobe as an Web Application platform. At least the scripting language is quite simple. However, I'd like to see some kind of visual editor which generates XUL and SMIL for UI and animation.

Finally, it appears F3 have something to do with the elusive MVM as it enables multiple F3 applications to run on the same virtual machine.

Edited 2006-11-16 07:44

REBOL's VID simplicity finally in JAVA
by -pekr- on Wed 15th Nov 2006 23:12 UTC
-pekr-
Member since:
2006-03-28

Finally JAVA cloned REBOL View's VID dialect :-) Well, just in principle - something looking easy to use. I think it could become popular ...

Petr

henrikmk Member since:
2005-07-10

Finally JAVA cloned REBOL View's VID dialect :-)

Actually they cloned the result of what REBOL can do with the VID dialect, not the dialecting system itself. F3 looks nice on the surface until you find out that it still takes up 20 times as much code and runs a third as fast as a typical VID program. Not very elegant at all. Good try though.

fbrathwaite Member since:
2006-02-09

Good point, rebol is an amazing language and platform that receives far too little attention. I've dabbled with it and was amazed at how easy it is to "get-it-done"

Hopefully, interest will pick-up with the 3.0 release coming soon.

http://www.rebol.com

Why no just Javascript?
by jgfenix on Wed 15th Nov 2006 23:34 UTC
jgfenix
Member since:
2006-05-25

Now there´s a interpreter with the JRE and there are developers. They could enforce a stricter subset or use one EcmaScript 4 with type declarationt, etc.

Content download strategy
by bact on Thu 16th Nov 2006 04:08 UTC
bact
Member since:
2005-07-06

hmm.. from my impression,
it seems like F3 program has to be fully downloaded before it can start,
compare to Flash one, which I believe it can be partially downloaded first, and can download needed parts as it goes.

Or technically this is not a limitation ?
just only how the programmer write it ?
(i.e. F3 and Flash programs both can download program portions dynamically, if the programmer smart enough)

Edited 2006-11-16 04:08

RE: Content download strategy
by someone on Thu 16th Nov 2006 07:33 UTC in reply to "Content download strategy"
someone Member since:
2006-01-12

Can't you do this with Classloader in Java?

RE[2]: Content download strategy
by Savior on Thu 16th Nov 2006 08:14 UTC in reply to "RE: Content download strategy"
Savior Member since:
2006-09-02

Not sure how flash does it, but I think the answer to your question is "yes". Also, can't Web Start be configured to work like that?

Just: Wow...
by Doc Pain on Thu 16th Nov 2006 06:51 UTC
Doc Pain
Member since:
2006-10-08

Wow... wow! I'm really impressed! Now that I've dropped JAVA developmnt a few years ago, now Sun comes up with what I needed in the past. Good morning!

I hope JAVA will be available crossplattform as a standard at some time, and this may lead F3 to abolish "Flash", just to mention because of the many advantages F3 would have, as JeffS stated in the post 2006-11-15 22:24:53 UTC.

My jaw dropped.
by dsmogor on Thu 16th Nov 2006 11:46 UTC
dsmogor
Member since:
2005-09-01

If they implement proper 2way code-wysiwyg editor the thing could revolutionize GUI developement in general and pour some life back to swing developement.

It looks like a prototype creator dream come true.

axilmar
Member since:
2006-03-20

Webstart/applet applications have a great problem: there is no abstraction on the data layer. There is no framework on the market to ease the development of a data/persistence layer in a similar way F3 abstracts the UI layer. There is Hibernate, which has great limitations (there is no way to use Hibernate objects from a rich client like a webstart application unless the objects are converted to session beans, which is a great work), and there is the Java persistence layer (EJB 3.0) which is even more work...and neither framework handles SQL natively.

If only F3 contained such an abstraction, it would finally unlock the problem of distributed applications...what I want is a dialect for expressing the database declaratively, as well as SQL part of the language, and of course data types created from queries...

Flash Competition
by fbrathwaite on Fri 17th Nov 2006 01:50 UTC
fbrathwaite
Member since:
2006-02-09

I've lost faith in Flash. Part of this has to do with Adobe owenership; the rest with growing complexity to do simple things.

Flash is increasingly repeating the same mistakes that Sun made with Java in terms of complexity.

To both Adobe and Sun: KEEP IT SIMPLE, STUPID!