1、EJB包含哪3种bean
解答:session bean(会话bean), entity bean(实体bean), message bean(消息bean)
2、Class.forName(String className)这个方法的作用
解答:通过类的全名获得该类的类对象
3、你认为在表上建立索引可以提高数据库系统的效率吗,为什么?
解答:不一定
建立太多的索引将会影响更新和插入的速度,因为它需要同样更新每个索引文件。对于一个经常需要更新和插入的表格,就没有必要为一个很少使用的where子句单独建立索引了,对于比较小的表,排序的开销不会很大,也没有必要建立另外的索引。