由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - JavaFX
相关主题
JavaFX is actually quite powerfulA rookie question on Java GUI
web application一定要掌握javascript和ajax吗Oracle收购Sun后 最新公布的产品策略,怀念SUN
Sun公司最近有啥突飞猛进不?spring/hibernate/ajax/web 2.0/bpel books
应该站哪条队:.NET 还是 Java/J2EE?How about Swing?
java web start的奇异问题It's open source!Re: COOL JAVA IDE
问一下swing的前途请问java的ide
大牛们能不能谈谈core java?Eclipse vs. Jbuilder X ?
Java里面的SWT或者Swing为啥还有书在介绍呢[转帖]如何才算掌握Java(J2SE篇)
相关话题的讨论汇总
话题: javafx话题: java话题: ajax话题: flash话题: js
进入Java版参与讨论
1 (共1页)
g*****g
发帖数: 34805
1
Java one is much about JavaFX this year, which may be the next big
thing, oh well, we all know Sun. The biggest deal is that they never
give you a nice IDE to begin with.
But I like the idea and wish it could beat AJAX in 2 years. JS is
just a pain in the butt.
A**o
发帖数: 1550
2
js is not sun's fault.

【在 g*****g 的大作中提到】
: Java one is much about JavaFX this year, which may be the next big
: thing, oh well, we all know Sun. The biggest deal is that they never
: give you a nice IDE to begin with.
: But I like the idea and wish it could beat AJAX in 2 years. JS is
: just a pain in the butt.

c*****t
发帖数: 1879
3
Personally, I like JavaScript. The problem with JS is that
1. different browser has different version support. (minor issue)
2. different browser has different CSS support. (big issue)
3. memory leaks in IE which severely restrict how JS could be coded
to avoid the leak. (big issue)
These problems are beyond JavaScript. JS is a very different
language from OO languages like Java/C++, so it is normally that
you don't feel comfortable with it. I think that it has a great
potential for its

【在 g*****g 的大作中提到】
: Java one is much about JavaFX this year, which may be the next big
: thing, oh well, we all know Sun. The biggest deal is that they never
: give you a nice IDE to begin with.
: But I like the idea and wish it could beat AJAX in 2 years. JS is
: just a pain in the butt.

w******n
发帖数: 692
4
Why not flash? Well. I have used OpenLaszlo(similar to flex) in a serious
project. It is really nice to use Flash to build fancy UI. However, when
going to detail, you will find you need more than just UI. It it really
difficult to implement some functionalities with Action Scripts, though
there are tons of java library available. As a workaround, we have to send
requests to server to implement it.
If SUN is able to reduce the startup time on JavaFX, I would like to try it,
since I am able to us

【在 c*****t 的大作中提到】
: Personally, I like JavaScript. The problem with JS is that
: 1. different browser has different version support. (minor issue)
: 2. different browser has different CSS support. (big issue)
: 3. memory leaks in IE which severely restrict how JS could be coded
: to avoid the leak. (big issue)
: These problems are beyond JavaScript. JS is a very different
: language from OO languages like Java/C++, so it is normally that
: you don't feel comfortable with it. I think that it has a great
: potential for its

m******t
发帖数: 2416
5
I haven't looked at the technical details of JavaFX yet. One thing to note,
though, is that these things aren't usually decided entirely on their
technical merits.
One key, non-technical ingredient in AJAX's success that I have not seen in
Java FX is the endorsement from most, if not all, major players in the field
- notably Microsoft. It's one thing for server-side Java to thrive on its
own as its environment can be completely independent from anything Microsoft
, it's a whole different one for
g*****g
发帖数: 34805
6
A JRE plugin is inevitable, however, rumor is saying
Suns is gonna to slim it down to 2-4M. Probably modulize
JRE and take the core and other neccesary parts only.
If flash can be popular, I don't think that will be
a huge problem for JavaFX

,
in
field
Microsoft

【在 m******t 的大作中提到】
: I haven't looked at the technical details of JavaFX yet. One thing to note,
: though, is that these things aren't usually decided entirely on their
: technical merits.
: One key, non-technical ingredient in AJAX's success that I have not seen in
: Java FX is the endorsement from most, if not all, major players in the field
: - notably Microsoft. It's one thing for server-side Java to thrive on its
: own as its environment can be completely independent from anything Microsoft
: , it's a whole different one for

c*****t
发帖数: 1879
7
Currently it is aimed at mobile market, so not much problems.
However, if the goal is to compete with Flash, it really needs
to address several issues:
1. startup time. Shared JVM instance with classes pre-loaded is
the way to go. JNLP is not going to work well.
2. Permission. Demos are using full permission. This is not going
to work for generic sites which are less trustable. There can
be additional security issues.
3. Code obsfucation. I don't think JavaFX programmers want the

【在 g*****g 的大作中提到】
: A JRE plugin is inevitable, however, rumor is saying
: Suns is gonna to slim it down to 2-4M. Probably modulize
: JRE and take the core and other neccesary parts only.
: If flash can be popular, I don't think that will be
: a huge problem for JavaFX
:
: ,
: in
: field
: Microsoft

m******t
发帖数: 2416
8

Sure. I looked around the javafx site this morning. Looks like it's web
start based. I guess if Sun can make it real easy to download and install
the trimmed-down JRE, it will have a good chance to catch up to flash.
Of course, "real easy" would have to be something similar to the flash
player installation - a link in place on the web page that starts the
installer right there. Asking the user to go to a web site, download some
exe, and install it isn't going to work.

【在 g*****g 的大作中提到】
: A JRE plugin is inevitable, however, rumor is saying
: Suns is gonna to slim it down to 2-4M. Probably modulize
: JRE and take the core and other neccesary parts only.
: If flash can be popular, I don't think that will be
: a huge problem for JavaFX
:
: ,
: in
: field
: Microsoft

m******t
发帖数: 2416
9

I wonder how flash player deals with this - we never see security warnings
from playing a flash.
That probably can't be helped - java classes can be decompiled, if someone
really wants it.

【在 c*****t 的大作中提到】
: Currently it is aimed at mobile market, so not much problems.
: However, if the goal is to compete with Flash, it really needs
: to address several issues:
: 1. startup time. Shared JVM instance with classes pre-loaded is
: the way to go. JNLP is not going to work well.
: 2. Permission. Demos are using full permission. This is not going
: to work for generic sites which are less trustable. There can
: be additional security issues.
: 3. Code obsfucation. I don't think JavaFX programmers want the

g*****g
发帖数: 34805
10

Well, actually you do install a plugin, both IE and FF will prompt you
at the top of page, ask you if you want to install it.
JavaFx can do it in the same way.
Obfuscation can come to rescue if that really concerns you.

【在 m******t 的大作中提到】
:
: I wonder how flash player deals with this - we never see security warnings
: from playing a flash.
: That probably can't be helped - java classes can be decompiled, if someone
: really wants it.

相关主题
问一下swing的前途A rookie question on Java GUI
大牛们能不能谈谈core java?Oracle收购Sun后 最新公布的产品策略,怀念SUN
Java里面的SWT或者Swing为啥还有书在介绍呢spring/hibernate/ajax/web 2.0/bpel books
进入Java版参与讨论
c*****t
发帖数: 1879
11
The problem with JavaFX is that the demo is available with complete
source code (pretty much like JavaScript). Not even compiled binaries.

【在 m******t 的大作中提到】
:
: I wonder how flash player deals with this - we never see security warnings
: from playing a flash.
: That probably can't be helped - java classes can be decompiled, if someone
: really wants it.

g*****g
发帖数: 34805
12
Aren't all these AJAX lib in plain text too?
I sort of feel nowadays copyright is protected by license and law,
not source code availability.

【在 c*****t 的大作中提到】
: The problem with JavaFX is that the demo is available with complete
: source code (pretty much like JavaScript). Not even compiled binaries.

c*****t
发帖数: 1879
13
Take a look at studiomoto demo jar:
http://download.java.net/general/openjfx/demos/studiomoto.jar
and you would understand my concern. It is just way too easy
stealing the code. With AJAX, at least there are some server
components which cannot be inspected. JavaFX is mainly a client
thing.
Imagine someone wrote a cool animation and the next person took
the jar and replaced all the credits and redistributed it. You
just need a zip utility and a text editor to do all the changes.
Sure there ar

【在 g*****g 的大作中提到】
: Aren't all these AJAX lib in plain text too?
: I sort of feel nowadays copyright is protected by license and law,
: not source code availability.

g*****g
发帖数: 34805
14
I believe we'll get a compiler soon. Compiled code just
runs faster, and it will get rid of the problem you have.
Bottom line, I feel JavaFX will attract lots of Swing/SWT developers,
declartively writing your view part really make MVC separation,
and task distribution between designers and developers simpler.
Being able to use all existing Java lib smoothly on client side
is a big bonus. Retaining Java's OOP is really a killer for AJAX.
Maybe the right name for JavaFX should be Applet 2.0
While

【在 c*****t 的大作中提到】
: Take a look at studiomoto demo jar:
: http://download.java.net/general/openjfx/demos/studiomoto.jar
: and you would understand my concern. It is just way too easy
: stealing the code. With AJAX, at least there are some server
: components which cannot be inspected. JavaFX is mainly a client
: thing.
: Imagine someone wrote a cool animation and the next person took
: the jar and replaced all the credits and redistributed it. You
: just need a zip utility and a text editor to do all the changes.
: Sure there ar

m******t
发帖数: 2416
15

OK, the more I read about this, the more it looks to me like JavaFX is more
likely to be a direct compete against flash and Microsoft's Silverlight,
instead of AJAX. It having to run in a plugin will restrict its flexibility
and interoperability with the data on rest of the page. On the other hand,
AJAX - javascript in particular - allows such interaction with some very
fine granularity.

【在 g*****g 的大作中提到】
: I believe we'll get a compiler soon. Compiled code just
: runs faster, and it will get rid of the problem you have.
: Bottom line, I feel JavaFX will attract lots of Swing/SWT developers,
: declartively writing your view part really make MVC separation,
: and task distribution between designers and developers simpler.
: Being able to use all existing Java lib smoothly on client side
: is a big bonus. Retaining Java's OOP is really a killer for AJAX.
: Maybe the right name for JavaFX should be Applet 2.0
: While

g*****g
发帖数: 34805
16
Yes, it aims at RIA, if you don't need any fancy GUI, JSP can still
serve you well. But once you are heavily using big AJAX lib, JavaFX
would certainly be an alternative.

more
flexibility
,

【在 m******t 的大作中提到】
:
: OK, the more I read about this, the more it looks to me like JavaFX is more
: likely to be a direct compete against flash and Microsoft's Silverlight,
: instead of AJAX. It having to run in a plugin will restrict its flexibility
: and interoperability with the data on rest of the page. On the other hand,
: AJAX - javascript in particular - allows such interaction with some very
: fine granularity.

c*******o
发帖数: 1722
17
can someone give a tutorial about pros and cons:
silverlight, flex, openlaszlo, javaFX
have no experience with any of them but interested.
thanks.

more
flexibility
,

【在 m******t 的大作中提到】
:
: OK, the more I read about this, the more it looks to me like JavaFX is more
: likely to be a direct compete against flash and Microsoft's Silverlight,
: instead of AJAX. It having to run in a plugin will restrict its flexibility
: and interoperability with the data on rest of the page. On the other hand,
: AJAX - javascript in particular - allows such interaction with some very
: fine granularity.

w*r
发帖数: 2421
18
Action script is invented for gui control only. Logic and functionalities
should always been implemented in a mature platform. There was one effort
from my previouse job using flash to build data mining tools , totally
disasterous. Of course, I was against the stupid idea from the beginning.
Flash is just an eye candy tool nowadays, not a full fledged platform to
build application .
j******o
发帖数: 82
19
Well, it failed to impress me. The demonstrator had a crash that
she was not able to recover after at least 15 minutes:-)
Don't know if it offers any advantage over Windows Mobile or
Palm...is iphone gonna use it?

【在 g*****g 的大作中提到】
: Java one is much about JavaFX this year, which may be the next big
: thing, oh well, we all know Sun. The biggest deal is that they never
: give you a nice IDE to begin with.
: But I like the idea and wish it could beat AJAX in 2 years. JS is
: just a pain in the butt.

w******n
发帖数: 692
20
I believe JavaFX is competing with Adobe Flex.

【在 j******o 的大作中提到】
: Well, it failed to impress me. The demonstrator had a crash that
: she was not able to recover after at least 15 minutes:-)
: Don't know if it offers any advantage over Windows Mobile or
: Palm...is iphone gonna use it?

m******t
发帖数: 2416
21

I guess you missed the "Steve Jobs says Java doesn't go with Apple" news,
did you? 8-)

【在 j******o 的大作中提到】
: Well, it failed to impress me. The demonstrator had a crash that
: she was not able to recover after at least 15 minutes:-)
: Don't know if it offers any advantage over Windows Mobile or
: Palm...is iphone gonna use it?

o**v
发帖数: 1662
22
http://www.smartclient.com/featureExplorer.jsp
这个挺酷的

【在 g*****g 的大作中提到】
: Java one is much about JavaFX this year, which may be the next big
: thing, oh well, we all know Sun. The biggest deal is that they never
: give you a nice IDE to begin with.
: But I like the idea and wish it could beat AJAX in 2 years. JS is
: just a pain in the butt.

1 (共1页)
进入Java版参与讨论
相关主题
[转帖]如何才算掌握Java(J2SE篇)java web start的奇异问题
which IDE for GUI ?问一下swing的前途
anyone has experience with ZK?大牛们能不能谈谈core java?
请推荐好的AJAX技术Java里面的SWT或者Swing为啥还有书在介绍呢
JavaFX is actually quite powerfulA rookie question on Java GUI
web application一定要掌握javascript和ajax吗Oracle收购Sun后 最新公布的产品策略,怀念SUN
Sun公司最近有啥突飞猛进不?spring/hibernate/ajax/web 2.0/bpel books
应该站哪条队:.NET 还是 Java/J2EE?How about Swing?
相关话题的讨论汇总
话题: javafx话题: java话题: ajax话题: flash话题: js