To start with source follow this steps:

  • Download the form sourceforge the source
  • Extract the source in <path>
  • Open NetBeans
  • File Menu "Open Project" select all project in path: <path>/dataweb_src/
  • Select the project "resources", right mouse button "Set as Main Project"
  • Set working directory to project "resources", right mouse button "Properties | Run | Working Directory | Browse" and select <path>/dataweb_src/server/workdir
  • Run Menu "Clean and Build Main Project"


Now we make a new instance

  • Run Menu "Run Main Project"
  • In login form, set:
    Server=127.0.0.1:7721
    Instance=
    User=sa
    Password=sa
  • Go to instances and make a new instance (enter only these fields):
    Name=main
    DbManager=hsqldb
    DbName=main
  • Close main form.


Now we have made an instance, so you can run Dataweb Project

  • Run Menu "Run Main Project" or Debug Menu "Debug Main Project"
  • In login form, set:
    Server=127.0.0.1:7721
    Instance=main
    User=sa
    Password=sa

 

Annotations:

  • The main java class of "resources" project is test.StartDataweb (this class run before the server and after the client)
  • The default path of server is <path>/dataweb_src/server/workdir
  • The default path of client is <path>/dataweb_src/server/workdir/client_workdir

Last updatedThursday, 30 December 2010 17:40