javabeans with database-connection available? [message #57418] |
Wed, 25 August 2004 09:53  |
Eclipse User |
|
|
|
Originally posted by: khw.warnkoenig.de
Hi all,
1. Question: are there javabeans like dbtext or dbLabel in Borland /
JBuilder / dbSwing.?
2. Question: are the dbSwing Beans from Borland-JBuilder useable in eclipse?
Thanks for help
Karl-Heinz
________________________
Warnk
|
|
|
Re: javabeans with database-connection available? [message #57444 is a reply to message #57418] |
Wed, 25 August 2004 14:52  |
Eclipse User |
|
|
|
Hi Karl,
> 1. Question: are there javabeans like dbtext or dbLabel in Borland /
> JBuilder / dbSwing.?
The Eclipse VE works with the JavaBeans component model however, so any
JavaBean that follows the basic rule of null constructor, getter and
setter pairs can be used, and the BeanInfo class can supply further edit
time information such as property sheet behavior.
> 2. Question: are the dbSwing Beans from Borland-JBuilder useable in eclipse?
I don't know if anyone has tried them, but if they follow the JavaBeans
coding rules then the answer should be yes. Add them to the build path
of the project, use the Choose Bean on the palette (or toolbar) to drop
them and see what occurs.
If they have BeanInfo classes you will also need to configure the
project to use the BeanInfo package - if it's in a separate JAR add this
as well to the build path, and in the Properties of the project use the
BeanInfo tab to define the BeanInfo package (if it's not the same as the
one with the JavaBeans themselves)
I believe that some JBuilder stuff uses their own extension API and
anything done using this isn't going to be recognized by the VE.
Best regards,
Joe Winchester
|
|
|
Re: javabeans with database-connection available? [message #597748 is a reply to message #57418] |
Wed, 25 August 2004 14:52  |
Eclipse User |
|
|
|
Hi Karl,
> 1. Question: are there javabeans like dbtext or dbLabel in Borland /
> JBuilder / dbSwing.?
The Eclipse VE works with the JavaBeans component model however, so any
JavaBean that follows the basic rule of null constructor, getter and
setter pairs can be used, and the BeanInfo class can supply further edit
time information such as property sheet behavior.
> 2. Question: are the dbSwing Beans from Borland-JBuilder useable in eclipse?
I don't know if anyone has tried them, but if they follow the JavaBeans
coding rules then the answer should be yes. Add them to the build path
of the project, use the Choose Bean on the palette (or toolbar) to drop
them and see what occurs.
If they have BeanInfo classes you will also need to configure the
project to use the BeanInfo package - if it's in a separate JAR add this
as well to the build path, and in the Properties of the project use the
BeanInfo tab to define the BeanInfo package (if it's not the same as the
one with the JavaBeans themselves)
I believe that some JBuilder stuff uses their own extension API and
anything done using this isn't going to be recognized by the VE.
Best regards,
Joe Winchester
|
|
|
Powered by
FUDForum. Page generated in 0.05698 seconds