Posts

Showing posts from 2012

Google Web Toolkit GWT with NetBeans 7 (and 8) Tutorial

Image
Installing GWT plugin on Netbeans: Open Tools Menu/Plugins, go to Available Plugins tab and type GWT in the search field and proceed by clicking the Install button on the bottom left corner. Accept the plugin even if it is signed but not trusted and restart Netbeans. GWT framework will be available now while creating a new web project. Starting a GWT Project: To create a GWT project with Netbeans the GWT framework should be selected.  Unfortunately or not the generated code is a simple client-only module. Lets see what it has created for us: Notice that: WEB-INF: web.xml No servlets have been added. This is due to being just a client-only gwt example page. The starting page is pointing at welcomeGWT.html. Most probably you will want to change this as it is quite a funny name for a serious application. Source Packages A package and a subpackage have been created: com.ramon.talavera containing a Main.gwt.xml

Control Isolator. A Control Flow Java library based on Apache Commons SCXML state machines.

Image
A Control Flow Java library based on Apache Commons SCXML state machines.  Control Isolator: When an application life cycle is designed, isolation between states is highly desired, in case of failure it should be possible to tell where the state the application was in. Due to the general nature of common OOB programming languages like C++ and JAVA there is no difference in algorithm control sentences and application flow control. The purpose of this library is making it possible to define a state machine that defines the life cycle phases of an application or process allowing to isolate working phases separating flow into "Works", each of them capable of executing one or more activities. As you have probably guessed already being faithful to the UML documentation of a project was in mind. In essence what we will be controlling is an activity diagram that pauses each time a decision point is reached allowing us to evaluate the activities results at that poi