Hello -
As a learning exercise, I have been using NetBeans 6.8 on WinXP to locally re-create some of the sample apps from the on-line showcase for the LPGL Edition.
Now I would like to re-create an app from the showcase for the Enterprise Edition - the Master-Detail (Batch Load & Save) app shown here:
http://www.smartclient.com/smartgwte...r_detail_batch
If I click the 'View Source' in this on-line showcase sample app, it includes two *.DS.XML files for Hibernate:
masterDetail_orderHB.ds.xml
masterDetail_orderItemHB.ds.xml
I have the following questions:
(1) Do I hand-code these files, or are they automatically generated?
(2) If I were to hand-code them (or copy-and-paste them from the 'View Source' section of the on-line showcase sample app into, say, a new NetBeans project), where in the project (or filesystem directory tree) would I place them?
(3) What additional setup (in Hibernate or SQL) would be necessary in order to re-create this app from the on-line Enterprise Edition showcase? I have MySQL and Postgres servers on my local WinXP machine for development and testing - should I create the data in one of them?
(Specifically, I can't find the data anywhere in my local evaluation copy of SmartGWT EE, and all links to the EE Showcase go to the on-line one - not to any local EE showcase. It says that I can also deploy the EE Showcase locally which I will do later once I set up a local web container. I do have Jetty set up from another web application development framework - by the way, would it be ok to use Jetty as my local web container for development and testing, or are there some advantages to using other web containers such as TomCat or GlassFish to deploy locally during development and testing?)
Sorry about all the confusion.
Thank you.
As a learning exercise, I have been using NetBeans 6.8 on WinXP to locally re-create some of the sample apps from the on-line showcase for the LPGL Edition.
Now I would like to re-create an app from the showcase for the Enterprise Edition - the Master-Detail (Batch Load & Save) app shown here:
http://www.smartclient.com/smartgwte...r_detail_batch
If I click the 'View Source' in this on-line showcase sample app, it includes two *.DS.XML files for Hibernate:
masterDetail_orderHB.ds.xml
masterDetail_orderItemHB.ds.xml
I have the following questions:
(1) Do I hand-code these files, or are they automatically generated?
(2) If I were to hand-code them (or copy-and-paste them from the 'View Source' section of the on-line showcase sample app into, say, a new NetBeans project), where in the project (or filesystem directory tree) would I place them?
(3) What additional setup (in Hibernate or SQL) would be necessary in order to re-create this app from the on-line Enterprise Edition showcase? I have MySQL and Postgres servers on my local WinXP machine for development and testing - should I create the data in one of them?
(Specifically, I can't find the data anywhere in my local evaluation copy of SmartGWT EE, and all links to the EE Showcase go to the on-line one - not to any local EE showcase. It says that I can also deploy the EE Showcase locally which I will do later once I set up a local web container. I do have Jetty set up from another web application development framework - by the way, would it be ok to use Jetty as my local web container for development and testing, or are there some advantages to using other web containers such as TomCat or GlassFish to deploy locally during development and testing?)
Sorry about all the confusion.
Thank you.
Comment