an entity normally has states and its states can be retrieved and stored in the database through a J2EE container or through your code, while a session bean normally does not have persistent states. Think this way,
entity bean <---> data
session bean <---> process
entity bean <---> data
session bean <---> process
解决方案 »
- oracle 数据库
- Ext.form.DateField在谷歌浏览器显示问题
- Ibatis调用存储过程in输入out游标
- 为什么通过Action访问页面后,页面的CSS失效,而通过URL直接访问时可用
- jxl下载excel问题,页面点击按钮后,怎么才能弹出保存打开excel文件窗口供用户下载?
- 我的惨痛工作经历(惨痛经历)
- Digester组件的用法
- Dreamweaver MX 2004是否提供了struts标签
- Spring mvc 配置WEB.XML的问题 请教 在线等
- 问一下J2EE编程时,struct-config.xml是否一定要填东西
- 在weblogic中怎么产生ejb-jar.xml文件;
- 在weblogic下具体怎么部署ejb;
1。public class
2。声明不带参数的构造函数
3。ejbcreate
4。抛出异常javax.ejb.createexception
。
仅做参考
j2ee是一个舞台
entity bean就好像演员,道具,服装等等有型的具体的物件
而session bean就是剧本情节一般都用session bean操纵entity bean, 图简单就全用session bean