- Create new workplace.
- Configure(add) JRE 1.5 ([Window > Preferences]>[Java > Installed JREs > Add])
- browse jdk1.5.0_12 directory. -> click OK.
- select the JRE which just added. -> click OK.
- (need to change Compiler compliance level@Window.Preference.Java.Compiler)
- Configure Tomcat version:
- Select Tomcat version 5.x
- browse Tomcat Home -> click OK.
- -> click Apply.
- Create New Project (pure new/from existing source)
- File > New > Project
- Java > Java Project.-> Click Next.
- -> Type Project Name
- Choose Contents -> Click Create Project from existing source.
- Browse source directory(location path) -> Click OK.
- Optional to check Add project to working set. -> Click Next
- go to Libraries tab
- Check if Tomcat doesn't in the list.
- (create user libraries for tomcat - jasper-runtime.jar, jsp-api.jar, servlet-api.jar)
- database xml Configuration
- edit config.xml (path, port, id, password)
- edit hibernate.cfg.xml (path, port, id, password)
done.