posted @ 2018-10-12 19:54 Chasol 阅读(236) 评论(0) 推荐(0)
摘要:
有状态就是有数据存储功能。有状态对象(Stateful Bean),就是有实例变量的对象,可以保存数据,是非线程安全的。在不同方法调用间不保留任何状态。 无状态就是一次操作,不能保存数据。无状态对象(Stateless Bean),就是没有实例变量的对象,不能保存数据,是不变类,是线程安全的。 阅读全文
posted @ 2018-10-12 19:54 Chasol 阅读(236) 评论(0) 推荐(0)
posted @ 2018-09-07 10:40 Chasol 阅读(93) 评论(0) 推荐(0)
posted @ 2018-09-06 22:55 Chasol 阅读(67) 评论(0) 推荐(0)
posted @ 2018-09-06 22:32 Chasol 阅读(164) 评论(0) 推荐(0)
posted @ 2018-09-06 22:28 Chasol 阅读(107) 评论(0) 推荐(0)
posted @ 2018-09-06 15:50 Chasol 阅读(98) 评论(0) 推荐(0)