Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I share common code between JavaFX and oracle MAF?

jhonata silva
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wonder if it would be possible using a MVC strategy, encode parts of Model and Control in Java and have two possibilities to code View, one in [JavaFX] [1] and the other in [Oracle MAF] [2].

I would use JavaFX to develop the desktop version and MAF for the mobile version. I know I could use a port for mobile with [JavaFXPorts] [3] but considering that [RoboVM was discontinued] [4] I would not want to bet on this strategy.

I own experience in Java but not used JavaFX or MAF, I doubt if I can do what I want because I found nothing on the internet talking about using the two technologies together to design a multi platform mobile / desktop.
The biggest question is:

> - Is it possible to completely decouple the view from the control and  model or JavaFX and/or MAF, in some circumstance, use a strategy of Control/Vie "tied"?

Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!