当前页面:
在线文档首页 >
The J2EE 1.4 Tutorial
Session Bean Examples - The J2EE 1.4 Tutorial
Session Bean Examples
Session beans are powerful because they extend the reach of your clients into remote servers yet are easy to build. In Chapter 24, you built a stateless session bean named ConverterBean
. This chapter examines the source code of three more session beans:
CartBean
: a stateful session bean that is accessed by a remote client
HelloServiceBean
: a stateless session bean that implements a web service
TimerSessionBean
: a stateless session bean that sets a timer