Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I share common code between JavaFX and oracle MAF?

 
jhonata silva
Greenhorn
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"?


  [1]: http://docs.oracle.com/javase/8/javafx/get-started-tutorial/jfx-overview.htm#JFXST784
  [2]: http://www.oracle.com/technetwork/developer-tools/maf/overview/index.html
  [3]: http://gluonhq.com/labs/javafxports/
  [4]: https://robovm.com/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic