Help extending/building DataApp/DataFx/FXML DataApp (also Atom Publishing Protocol)
sturdyworks <bradsturtevant <at> yahoo.com>
2013-05-17 23:22:43 GMT
I'd like to start adding more jar files to the (great) new JavaFx/FXML examples. Understanding the more
complex DataApp build system/architecture is difficult.
DataApp setup not familiar...The DataAppReadme.html says:
1.Install the MySQL drivers into GlassFish. Manually copy the mysql-connector-java-5.1.13-bin.jar
file from the netbeans-install-dir\ide\modules\ext\ to the glassfish-install-dir/glassfish/lib
directory, where netbeans-install-dir and glassfish-install-dir are the directories into which the
products were installed. For example, on Windows the install directory for products is typically in the
C:\Program Files\ or C:\Program Files (x86)\ directories.
My computer has only the latest Java 7-21 platform, latest Scene Builder Beta (C:\Program Files
(x86)\Oracle), latest NetBeans (C:\Program Files/NetBeans 7.3)
Could not find local GlassFish? And which version ('Server 3.1.2.2' or 'Web Profile 3.1.2') to install
from http://www.oracle.com/technetwork/middleware/glassfish/overview/index.html
No local MySQL jar, and think it would Connector/J type but is that appropriate for DataFx? Would want to use
MySQL in many local projects, but via latest DataFx or similar.
Should I download a MySQL jar into C:\Program Files\NetBean 7.3\java\modules or must build-up into
modules/ext/[mysql]? Do I just move a jar?
Also, In DataApp Project Properties Dialog under Categories: Libraries see 'Missing library: restlib'
and source in ...dataapp.client.rest is showing red dots for import com.sun.jersey.api.*
Should I build Jersey for DataApp and/or DataFx or download jar or move jar? Maybe DataApp a Maven project?
(not simpler JXML project?)
I do not know how to build/add appropriate jar because I am so new to Java. NetBeans/JavaFx/JXML has been
fast so far but need to get over this hump. Which approach do I use: 'Add Project...', 'Add Library...',
'Add JAR/Folder' after right click on DataApp project?
As I move forward on my JavaFx prototype would like to keep using the latest DataFx technology for RDBMS,
RESTful API (as in DataApp) and Atom Publishing Protocol as well (for Google Contacts v3)
Is adding Apache Abdent appropriate for DataApp/DataFx type project? Would I add Abdent just like Jersey,
or a bit different. Would like some help understanding best practices for NetBeans. Maybe a Maven
project? Not JXML project?
Thanks is advance. I need some good advice.