$PH/COOL-BDE/how2run_bde2java04fky.htm
[.txt] - RJL050916
From lechner@cs.uml.edu Thu Sep 15 20:08:58 2005
From: Bob Lechner
<lechner@cs.uml.edu>
Subject:
http://www.cs.uml.edu/~lechner/04f522/kyang/bde2java/ --> run application
Cc: 05f523, kyang
http://www.cs.uml.edu/~lechner/04f522/kyang/bde2java/
is the URL to Kevin Yang's
update of bde2java. You can choose 'Run Application' and get a
Security Warning; then if you
say Yes it runs:
http://www.cs.uml.edu/~lechner/04f522/kyang/bde2java/bde2javaApplet.html
This opens a bde window and a popup option to work local or remotely.
Local requires username and passwd; remote requires these + host and port.
(Port 22 works).
You must use FILE menu before
you can begin editing: select FILE/New or Open.
In either mode you have the
ability to create or open files and print them.
You cannot work in both
places at once or download/upload files.
Bugs may cause drawn objects
to vanish. I don't know if save/reopen
works then.
bde2java works after a
fashion, while bde unix
does not.
bde2java has a few limited
features and inherited bugs. E.g.,
re-clicking to observe
vanished text, multi-line text
may overwrite itself when
moved, visible items disappear
after some operations, and
Text Resize doesn't work;
Browsing is difficult -
default path is wrong (not current path).
FILE Save-As and Open accept
file.txt (which they are)
instead of file.dat (which WinXP likes to
open as MSFiletype).
[However, my first test of
local save/save-as
(to filebde2java04fTest050816.bde)
produced a html file
beginning with
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
and containing no bde diagram data, only menu.html and home.html frame refs.]
Nevertheless, bde2java04f is
probably the most viable solution to producing bde
drawings
(if they can be saved) at the
present time. It should be possible to hand-edit its output .dat files
to append HA_lines
that declare TA-fields of EERDs for updated testing
of bde2SM.
Those interested in XML
tree-like structuring of .dat files are invited to
consider especially using the compression technique
illustrated at:
$PH/DataModels05fr1.ppt
slides 63: Compression(Breadth-First)
(table-order) and
64:Compression (Depth-First)(tree-order)
in which HA-fkeys are automatically supplied by the expander.