Basic HTML version of Foils prepared July 6 99

Foil 90 Stateful vs Stateless

From Object Web Computing Technologies CPS714 Computational Science Information Track -- June 16 99. by H. Timucin Ozdemir


1 // Stateful Session Bean
2 BookReservation br = bReserveHome.create("Moon");
3 br.addReservationItem("...");
4 br.addReservationItem("...");
5 br.reserveAll();
6 br.addReservationItem(" ....");
7 ......
8 // Stateless Session Bean
9 BookReservation br = bReserveHome.create("Moon");
10 br.reserve("...");
11 br=bReserveHome.create("Moon");
12 br. reserve();

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Jul 6 1999