Cocktail is a Code Generation Tool for Java that
represents the program structures in Trees. A programmer can create a program
in java by adding new components as leaves in the tree. Cocktail generates
Java Source Code for the tree developed which can be then compiled and
run. The Tree structure is stored in a xml format. Cocktail uses the tree
structure to represent the Models (data) and Views (UI). This simplifies
the structure of a program making it easier to code and maintain.
Cocktail's Visual Representation of a Java Program is very
intuitive. For a Beginner, Cocktail provides a jumpstart to Java and Swing,
the GUI toolkit for java. An Expert Programmer can use Cocktail as a RAD
tool for developing GUI screens based on Layout's Concept.
Cocktail enforces Model-View-Controller architecture which
is one of the core design patterns. MVC is pervasive in SWING Architecture.
Adapting to MVC architecture without much effort, provides vast advantage
from developing, code reuse and better maintainability.
|