>Biking home i found time to think about the jdk 1.3 problem. My first answer was wrong.
Dbforms can not be compiled with jdk 1.3 but should run with it.
Not always true: i was evaluating to upgrade to dbforms 2.2, but
i can't run a new application scheleton (generated using devgui)
using jdk 1.3.1 and Tomcat 4.1 (even if i include jdbc standard extensions libraries).
Trying to compile sources from Dbforms 2.2 distribution,
using Eclipse and JDK 1.3.1_06, results in errors due to
calls to API methods introduced only starting from JDK 1.4
(see attachment).
I see two ways to solve these problems: 1) change prerequisites documentation (chap. 6.1). There we can still read that dbforms should work with JDK 1.2 or later: maybe a little outdated note!? ;) 2) change source code to ensure backward compatibility with jdk 1.3 (much better! ;) Note that there are still a lot of code running on JDK 1.3 (all mine is!) and migrating to JDK 1.4 is not always feasible.
Cheers Roberto
-- +-----------------------+ | Roberto Bagnoli | | Nouvelle srl | | via Giardini, 456 | | 41100 Modena - Italy | | Tel. +39.059.2929338 | | Fax +39.059.347606 | +-----------------------+
Error The method getIntegerInstance(Locale) is undefined for the type NumberFormat Field.java dbforms_2_2/org/dbforms/config line 422 Error The method split(String) is undefined for the type String FieldValue.java dbforms_2_2/org/dbforms/config line 554 Error The method getHoldability() is undefined for the type Connection SingleConnectionWrapper.java dbforms_2_2/org/dbforms/conprovider line 240 Error The method setHoldability(int) is undefined for the type Connection SingleConnectionWrapper.java dbforms_2_2/org/dbforms/conprovider line 246 Error java.sql.Savepoint cannot be resolved (or is not a valid return type) for the method setSavepoint SingleConnectionWrapper.java dbforms_2_2/org/dbforms/conprovider line 250 Error The method setSavepoint() is undefined for the type Connection SingleConnectionWrapper.java dbforms_2_2/org/dbforms/conprovider line 252 Error java.sql.Savepoint cannot be resolved (or is not a valid return type) for the method setSavepoint SingleConnectionWrapper.java dbforms_2_2/org/dbforms/conprovider line 256 Error java.sql.Savepoint cannot be resolved (or is not a valid type) for the argument savepoint of the method rollback SingleConnectionWrapper.java dbforms_2_2/org/dbforms/conprovider line 262 Error java.sql.Savepoint cannot be resolved (or is not a valid type) for the argument savepoint of the method releaseSavepoint SingleConnectionWrapper.java dbforms_2_2/org/dbforms/conprovider line 268 Error The method createStatement(int, int) in the type Connection is not applicable for the arguments (int, int, int) SingleConnectionWrapper.java dbforms_2_2/org/dbforms/conprovider line 276 Error The method prepareStatement(String, int, int) in the type Connection is not applicable for the arguments (String, int, int, int) SingleConnectionWrapper.java dbforms_2_2/org/dbforms/conprovider line 284 Error The method prepareCall(String, int, int) in the type Connection is not applicable for the arguments (String, int, int, int) SingleConnectionWrapper.java dbforms_2_2/org/dbforms/conprovider line 292 Error The method prepareStatement(String, int, int) in the type Connection is not applicable for the arguments (String, int) SingleConnectionWrapper.java dbforms_2_2/org/dbforms/conprovider line 300 Error The method prepareStatement(String) in the type Connection is not applicable for the arguments (String, int[]) SingleConnectionWrapper.java dbforms_2_2/org/dbforms/conprovider line 308 Error The method prepareStatement(String) in the type Connection is not applicable for the arguments (String, String[]) SingleConnectionWrapper.java dbforms_2_2/org/dbforms/conprovider line 316 Error The import java.net.URI cannot be resolved DataSourceXML.java dbforms_2_2/org/dbforms/event/datalist/dao line 32 Error URI cannot be resolved or is not a type DataSourceXML.java dbforms_2_2/org/dbforms/event/datalist/dao line 136 Error The method getURI() is undefined for the type DataSourceXML DataSourceXML.java dbforms_2_2/org/dbforms/event/datalist/dao line 136 Error The method getURI() is undefined for the type DataSourceXML DataSourceXML.java dbforms_2_2/org/dbforms/event/datalist/dao line 155 Error URI cannot be resolved (or is not a valid type) for the argument url of the method read DataSourceXML.java dbforms_2_2/org/dbforms/event/datalist/dao line 255 Error URI cannot be resolved (or is not a valid type) for the argument url of the method write DataSourceXML.java dbforms_2_2/org/dbforms/event/datalist/dao line 264 Error URI cannot be resolved (or is not a valid return type) for the method getURI DataSourceXML.java dbforms_2_2/org/dbforms/event/datalist/dao line 366 Error URI cannot be resolved or is not a type DataSourceXML.java dbforms_2_2/org/dbforms/event/datalist/dao line 367 Error URI cannot be resolved or is not a type DataSourceXML.java dbforms_2_2/org/dbforms/event/datalist/dao line 371 Error URI cannot be resolved or is not a type DataSourceXML.java dbforms_2_2/org/dbforms/event/datalist/dao line 380 Error The constructor Locale(String) is undefined Controller.java dbforms_2_2/org/dbforms/servlets line 450 Error The method split(String) is undefined for the type String DbFilterConditionTag.java dbforms_2_2/org/dbforms/taglib line 141 Error The method split(String) is undefined for the type String DbFormTag.java dbforms_2_2/org/dbforms/taglib line 1131 Error The method setTimeInMillis(long) from the type Calendar is not visible TimeUtil.java dbforms_2_2/org/dbforms/util line 286 Error The method decode(String) in the type URLDecoder is not applicable for the arguments (String, String) Util.java dbforms_2_2/org/dbforms/util line 170 Error The method encode(String) in the type URLEncoder is not applicable for the arguments (String, String) Util.java dbforms_2_2/org/dbforms/util line 195
