Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

F3 Deployment

 

One of the comments to my earlier posts expressed some concern that a lot of demo code seemed to be all in one file.

That's just because they were quick demos.

F3 supports packages and imports as in Java. So you can divide your application into as many separate files as you like.

The F3 interpreter actually loads F3 classes by means of the Java class loader. So to deploy F3 code you simply archive it in JAR files as in Java and then make such archives accessible to the Java class loader.

Our F3 IDE plugins are also closely integrated with the corresponding Java plugins. There is no special F3 "perspective" or F3 project type. In both Netbeans and Eclipse, you simply use normal Java projects, create packages using the existing Java facilities and then create F3 files in those packages. The normal build process will "do the right thing" and archive your F3 code into the output jar file of your project.