이 콘텐츠는 선택한 언어로 제공되지 않습니다.
3.5. Generating an application from an existing database
Manually create tables in your database. (To switch to a different database, run
seam setup again.) Now type:seam generate-entities
Restart the deployment, and go to
http://localhost:8080/helloworld. You can browse the database, edit existing objects, and create new objects. The code generated here is very simple. Seam was designed so that data access code is easy to write by hand, even without the assistance of seam-gen.