
本文共 2660 字,大约阅读时间需要 8 分钟。
������������������������������
������������������ Struts���Spring ��� Hibernate ��� Web ������
������ Web ������
������������������������������������������������ Web ������������������������������������������������������������������ SSH jar ���
������������web-inf/lib
��������������������� jar ������ hibernate.jar
hibernate tools.jar
javax.persistence.jar
spring.jar
������ Hibernate
���hibernate.cfg.xml
���������������������������jdbc:mysql://localhost:3306/database root root
������������������ SQL ������������������ hibernate.cfg.xml
������������������������
true true
������ Hibernate ������
��� MyEclipse ���������������������������������������������������MyEclipse > Add Hibernate Support
������������������������������������������������������������
���src > org.entity
������������������������ Student
���������������.access=transient��������������������������������������������������������������������� DAO ��� Service ��������������� Struts
������������������������MyEclipse > Add Struts Support
��������������������� Struts ��������������������������� StudentAction
��������� Spring ��� AOP
���applicationContext.xml
������������������������������������������������������������������������������������������������������������������������������
���������������������������MyEclipse > Reverse Engineer
������������������������������������������������������������������������������ Struts ��� Spring
���struts.xml
������������������������������������������ index.jsp
��������������������������������������������������� Struts ��� c:foreach
������������������������������������
������ DAO ��� Service ���������
���DAO
������������ StudentDaoImpl
��������� HibernateDaoSupport
��������� IStudentDao
������������ Service
������������ StudentServiceImpl
��������� StudentDao
��������� IStudentService
��������� transactionManager ��� advisory
������applicationContext.xml
������ LocalSessionFactoryBean
��� HibernateTransactionManager
������������������������������������
���action
������������ StudentAction
��������� ActionSupport
��������������������������������������� Service ������ DAO ��������������������������������� struts.xml
������������������ interceptor������������������ URL ������������������������������������������������������������
��������������� Tomcat
������������������ Tomcat ��� webapps ��������������������������������������������������������������������������������������������������������������� Struts���Spring ��� Hibernate ��� Web ������������������������������������������������������������������������������������������������������
发表评论
最新留言
关于作者
