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 clientHelloServiceBean
: a stateless session bean that implements a web serviceTimerSessionBean
: a stateless session bean that sets a timer