JavaFx 1.3 support

  • chuaky
Posted: Sun, 07/18/2010 - 23:11

hi,

Recently Sun released JavaFx 1.3, can this work with Flamingo 2.1.0 (release last year) ?

Also i saw there are few version of Hessian in http://hessian.caucho.com/#Java, do i download the latest or there is a specify version that work with Flamingo?

Many thanks.

Nice, it is working

  • chuaky
  • 07/18/10
  • Mon, 08/02/2010 - 20:00

hi opiskun,

I can get it working now :)

Sorry, my fault of using Hessian 4.0.7 instead of 4.0.6.

So far so good, i would continue the development.

Many thanks for the support.

We will be releasing Flamingo

  • maxkatz
  • 02/17/10
  • Mon, 07/19/2010 - 07:32

We will be releasing Flamingo 2.2.0 this week which supports JavaFX 1.3 and based on Hessian 4.x.

You can now download Flamingo

  • maxkatz
  • 02/17/10
  • Fri, 07/23/2010 - 09:53

You can now download Flamingo 2.2.0 with JavaFX 1.3 support.

ObjectVariable Not Found

  • chuaky
  • 07/18/10
  • Tue, 07/27/2010 - 21:07

hi,

With reference to http://mkblog.exadel.com/ria/javafx-ria/calling-seam-component-from-java...,

I am getting

cannot access com.sun.javafx.runtime.location.ObjectVariable
class file for com.sun.javafx.runtime.location.ObjectVariable not found

for the FXServiceFactory.URL

I am using JavaFX 1.3 and latest flamingo 2.2.0. I use Netbeans 6.9 which comes with JavaFX 1.3.

Thanks.

Check to make sure you are

  • maxkatz
  • 02/17/10
  • Tue, 07/27/2010 - 21:11

Check to make sure you are using JavaFX 1.3. This issue was fixed in version 2.2.0: http://jira.exadel.org/browse/EFL-39

Retry with Sun Javafx 1.3

  • chuaky
  • 07/18/10
  • Tue, 07/27/2010 - 21:51

hi,

I retry building the Netbeans project with the javafx 1.3 from Sun, instead of the build in from Netbeans. The same results.

It is puzzling,

what i didn't do was to run "flamingoinstall.bat" because i didn't install mvn. Then the jar file in section 3.2.4.1 step in the user guide seems outdated.

Thanks.

hi, i saw in another post

  • chuaky
  • 07/18/10
  • Tue, 07/27/2010 - 23:04

hi,

i saw in another post that objectvariable is no longer in JavaFx 1.3, then i notice this in FXServiceFactory.java (netbean decompile for me):

@Static
@Public
@SourceName(value = "URL")
public static ObjectVariable loc$URL;

If i use FXServiceFactory.set$URL("myurlstring"), then it is ok.

However later i got
java.lang.NoClassDefFoundError: com/sun/javafx/runtime/location/ChangeListener

All seems to be due to JavaFX 1.2 been used, however i couldn't figure this out. My JavaFX 1.2 is no longer in my notebook.

I just did a ChoiceBox control and it appears. ChoiceBox is a new control in JavaFX 1.3.

Thanks.

hi, i saw in another post

  • opiskun
  • 04/02/10
  • Wed, 07/28/2010 - 06:38

Hello, chuaky!

Could you send me your project for testing this issue?

whats ur email, opiskun?

  • chuaky
  • 07/18/10
  • Wed, 07/28/2010 - 17:45

wats ur email?

It's probably going to be

  • maxkatz
  • 02/17/10
  • Wed, 07/28/2010 - 18:50

It's probably going to be simpler if you use a service such as http://drop.io to attached the file and share the link.

hi, Please find the attached

  • chuaky
  • 07/18/10
  • Wed, 07/28/2010 - 19:03

hi,

Please find the attached NetBeans 6.9 project files at http://drop.io/veejugf (testcase.zip)

The library i used is

- flamingo-javafx-2.2.jar
- hessian-4.0.7.jar

Many Thanks.

Could you stimulate it?

  • chuaky
  • 07/18/10
  • Sun, 08/01/2010 - 18:14

hi,

I hope the netbeans files can simulate the issue, please let me know if it cannot.
Many thanks.

problem was fixed

  • opiskun
  • 04/02/10
  • Mon, 08/02/2010 - 00:56

chuaky,

I check project that you sent me.
Please make following changes:

1 Download and reinstall Flamingo from site.
http://exadel.org/flamingo

2 Use following jars:
hessian-4.0.6.jar (important!)
flamingo-javafx-2.2.0.jar
flamingo-services-common-2.2.0.jar
flamingo-java-client-2.2.0.jar

3 Make call to another server-side component or create own component that return current time.
Seam currentTime component has specific behavior, because there is annotation @Unwrap on method getCurrentTime().
It means when you try to get "currentTime" component by name you receive result of getCurrentTime() method.
You can not write #{currentTime.currentTime} or #{currentTime.getCurrentTime} because they
have same result - Exception "Method not found: 8/2/10 1:15 AM.getCurrentTime()"

Finally, your example works for me.
Please, let me know if my comment was helpful fro you.

Nice, it is working now

  • chuaky
  • 07/18/10
  • Mon, 08/02/2010 - 20:02

hi opiskun,

I can get it working now :)

Sorry, my fault of using Hessian 4.0.7 instead of 4.0.6.

So far so good, i would continue the development.

Many thanks for the support.