Subject | Re: [Firebird-Java] Q. for _serious dababase developers - app. example, dev. tools |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-08-16T19:59:07Z |
> My previous experience lies in Delphi/C++ world, both of this toolsThere is no standard library with such controls in Java (as there is no
> haves prebuit db-aware controls,
> and I am litle confused with db desktop programing in Java.
standard db-aware controls in C++). Delphi is shipped with components
invented by Borland. Similar components from Borland are also shipped with
JBuilder (I think you have to buy at least Professional version).
> How to build user interface ? I know that Swing komponents can beTry JBuilder and ask in Borland newsgroups. Personally I have never used
> data-aware , because of his MVC nature
> (JTable haves TableModel,..), but this seems to be a more
> complicated to develop a complete set of 'SwingDB'
> controls. For example, what about sinhronization, if I have DBGrid
> (~JTable), and a lot of 'single-fields' controls.
> If user moves to another record (using DBGrid), how others
> sigle-fields controls can be sinchronized with this
> new record position ? What is missing is one kind of 'data source'
> controls, which must be the same for all db controls.,
> and retrieves data from database.
them, but having some experience with Delphi, these components seem quite
similar to Delphi ones.
> Or, consider the following situation: currently, I have a db table withWithout additional programming - no. Better use JBuilder or find some other
> foreign key, which points to primary key
> on the same table (auto-referential constraint). And I want to
> display/edit/update/delete and change master key
> (last operation, of course, with mouse moving) -all together -
> with using JTree -like control .
> Can I achieve this goal with standard Swing JTree control and
> Hibernate (Firebird and JayBird)?
set of components.
> So, I don't know what should to do first, and what tools should toYou can check demos from the JBuilder. JayBird is functionally more complete
> use.And, JayBird haves some own restriction, for example,
> ResultSet.updateXXX() does not work (not implemented) together with
> couple other methods, so , for conclusion, the best thing for me, I
> think, is one demo (but _powerfull demo) db desktop application,
> that uses Firebird/JayBird 1.5.
compared to the InterClient. So any demo from Borland for InterBase should
also work with Firebird/JayBird. Though I'm afraid that most examples are
designed for JDataStore which was designed with the JDBC access in mind and
most of the JDBC things are implemented there. Unfortunately this is not the
case with Firebird and we cannot fully translate the JDBC specification to
the Firebird API calls.
Roman