Unfortunately, I won't be able to join in on any 2-tier project at
the moment.
Here's one thought that came to my mind, though.
I saw in the tutorial that in dbforms you define jsp pages with
custom tags like
<db:gotoButton caption="Edit services" destination="/service.jsp"
destTable="services"/>
<db:textField fieldName="id" size="5"/>
etc.
Maybe one could use the same tags for a Swing-client and use an XSL
transformation to create XML that the java.beans.XMLDecoder could
parse.
Looks this this (compare Java API)
<?xml version="1.0" encoding="UTF-8"?>
<java version="1.0" class="java.beans.XMLDecoder">
<object class="javax.swing.JFrame">
<void property="name">
<string>frame1</string>
</void>
<void property="bounds">
<object class="java.awt.Rectangle">
<int>0</int>
<int>0</int>
<int>200</int>
<int>200</int>
</object>
</void>
<void property="contentPane">
<void method="add">
<object class="javax.swing.JButton">
<void property="label">
<string>Edit services</string>
</void>
</object>
</void>
</void>
<void property="visible">
<boolean>true</boolean>
</void>
</object>
</java>
For the actual forms one might reuse functionality from
http://www.sql-workbench.net (which I use all the time)
http://vienna.sourceforge.net
or
similar jdbc-projects
Cheers,
Meikel Bisping
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
DbForms Mailing List
http://www.wap-force.net/dbforms