Awesome project but what about the performance? and some proposes about the project

4 views
Skip to first unread message

Naiden Gochev

unread,
Jan 13, 2009, 4:20:00 AM1/13/09
to jsf-...@googlegroups.com
Today I found this project and it's awesome to bind a Flex components to a
backing bean.
But I notice that the rendering of a JSF page is very slow maybe because of
the compile process which creates a swf files.
-Anyway is there a way to make it faster ?
-have you check Exadel Fiji and Exadel flamingo projects ?
they look promising and have a lot of examples. I think this is a problem of
JSF Flex - the examples. I found only 3 examples no component examples.
Will be nice to make some page with all the components and example about
each of them like JBoss RichFaces.
will be nice to have examples and a way to use Facelets together with JSF
Flex.

is there any plans or ways to make something like Flamingo in the feature.
For example maybe different projects like JSF JavaFX or JSF Silverlight ?

Jihoon Kim

unread,
Jan 13, 2009, 12:14:11 PM1/13/09
to jsf-...@googlegroups.com
Welcome to the project Naiden!

As to the lag of the project in loading JSF pages, you are right in
that the cause is due to creation of SWC, SWF, and other resources. If
the user is done with the modification of the page [adding JSF Flex
tags], one can change the following property to productionMode which
will simply create JSON objects for communicating non DataGrid
component's initial values and the attributes needed from those
components during postBack. DataGrid component's values will be
fetched and updated using ActionScript asynchronously [need to clean
this up and implement it better, since wrote it recently]. Without
further adieu here is the property within web.xml that should be
changed to productionMode when done with the tweaking of the JSF pages
:

<context-param>
<description>
For JSF Flex build mode, possible values are (debugMode,
simplySwfMode, productionMode
[default])
</description>
<param-name>com.googlecode.jsfFlex.MODE</param-name>
<param-value>debugMode</param-value>
</context-param>


(1) As for the issue with examples, you do bring up a good point and
will take that into account.
(2) As for Facelets, it is in the TODO list, but haven't been able to
tackle it yet with other tasks that needed to be done.
(3) I will look into Flamingo over this weekend or next, since it is
something new.
(4) As for JavaFX, I did have original plan of creating renderKits for
this technology when it first got announced about 2 years ago and once
JSF Flex does stabilize and I do have some additional free time I will
start playing around with that technology as well.

Anyway, thanks for all the inputs/proposes for the project as those
kind of things are vital in making the project succeed. Oh yes, if you
would like to be a member of the JSF Flex Google Code, please do email
me with a request.

Till later!
--
Sincerely,

Ji Hoon Kim
Reply all
Reply to author
Forward
0 new messages