Home / JavaFBP
Name Modified Size InfoDownloads / Week
Parent folder
JavaFBP-2.8 2014-07-17
JavaFBP-2.7 2014-03-29
JavaFBP-2.4 2012-12-06
JavaFBP-2.6 2012-08-29
JavaFBP-2.5 2012-01-24
readme.txt 2014-08-27 2.8 kB
Totals: 6 Items   2.8 kB 0
A FRIENDLY PIECE OF ADVICE

First, a note of warning: it is not recommended that you try this software without reading the book first to get a basic understanding of the concepts and methodology.  This would be like being given a pile of girders and being told to build a bridge!  This is not because the concepts are complex - it is rather that they involve a paradigm change, and it is much easier to follow where someone else has been before, rather than having to rediscover them for yourself!

If you have reached this point via my book, be sure to go to http://www.jpaulmorrison.com/fbp/jsyntax.htm for details on network and component syntax.  

**********************************************************************************
GITHUB WILL BE REPOSITORY FOR JAVAFBP (as of July 17, 2014)

See https://github.com/jpaulm/javafbp

Note: Gradle is now being used to manage distribution, dependencies, etc.

JavaFBP-2.8 is the last version being maintained on SourceForge; Github starts with JavaFBP-2.9 

**********************************************************************************
  

QUICK START GUIDE (Updated 16 Aug., 2014)


HOW TO CREATE YOUR OWN NETWORK

1. Create a working directory.

2. Say your new network is for doing XYZ. Create a file called XYZ.java from the template com.jpmorrsn.fbp.test.networks.FBPNetworkTemplate.java 

3. Where the file says /* fill in your network definition here */ put in your XYZ code.

4. Remember to change the class reference in the "main" method to match the network name.

5. Change the copyright information as desired.

RUNNING UNDER ECLIPSE

1. Create a project under Eclipse

2. Make sure Eclipse sets up src and bin directories

3. Add the latest JavaFBP jar file to Project/Properties/JavaBuild Path/Libraries

HOW TO CREATE YOUR OWN COMPONENT

1. Say your new component is for doing XYZ. Create a file called XYZ.java from the template com.jpmorrsn.fbp.components.FBPComponentTemplate.java 

2. Fill in any port variable definitions

3. Where the file says /* open ports logic */ put in the statements to open your ports and/or port arrays, and set object types for input ports.  
Examples can be found in JavaFBP.src.com.jpmorrsn.fbp.components, including FBPComponentTemplate.

4. Where the file says /* execute logic */ put in your XYZ execute logic

5. Specify metadata for port attributes and component and port descriptions.
 
6. Change the copyright information as desired.


FOR MORE INFORMATION

More details are available at http://www.jpaulmorrison.com/fbp/.  In particular the syntax for creating networks and a 
sample reusable JavaFBP component are shown in http://www.jpaulmorrison.com/fbp/jsyntax.htm.

Please send suggestions, bug reports and constructive criticism to:
paul.morrison@rogers.com.

Source: readme.txt, updated 2014-08-27