java点滴

来源:互联网 发布:8个灯流水灯单片机程序 编辑:程序博客网 时间:2024/06/03 01:39

java中的引用:

由于基本类型有他们各自的类型类, 因此java的参数传递都是传引用。 但形参的值能否改变完全看函数的内部实现。 如果参数本身所指的内存块的值没有改变,那么实参也不会改变。 这个时候函数有返回类型。 如果参数本身所指的内存块的有改变, 那么实参也会改变, 这个时候函数用void返回类型。


EJB FetchTYpe:

ManyToOne is eagly fetched, OneToMany or ManyToMany is lazy fetched!


@Remove

used in Stateful session bean, it means that after the method complete, the client no longer need the saved session.