Can a session bean double as a message bean and vice versa, ie. can a message bean double as a session bean?
Thanks
Anh
-
Double Duty (4 messages)
- Posted by: Phan Anh Tran
- Posted on: May 12 2001 21:19 EDT
Threaded Messages (4)
- Double Duty by Tony Brookes on May 13 2001 22:59 EDT
- Double Duty by Phan Anh Tran on May 14 2001 01:51 EDT
-
Double Duty by qing yan on May 15 2001 02:59 EDT
- Double Duty by Tony Brookes on May 15 2001 03:22 EDT
-
Double Duty by qing yan on May 15 2001 02:59 EDT
- Double Duty by Phan Anh Tran on May 14 2001 01:51 EDT
-
Double Duty[ Go to top ]
- Posted by: Tony Brookes
- Posted on: May 13 2001 22:59 EDT
- in response to Phan Anh Tran
No. Message driven beans have no client interaction, their lifecycle is completely hidden and not related to user load.
If you tried to share them you'd really make the servers life hard (is it a session bean, is it a message driven bean? No, it's a .... :-))
Chz
Tony -
Double Duty[ Go to top ]
- Posted by: Phan Anh Tran
- Posted on: May 14 2001 01:51 EDT
- in response to Tony Brookes
It is both...:-)
-
Double Duty[ Go to top ]
- Posted by: qing yan
- Posted on: May 15 2001 02:59 EDT
- in response to Phan Anh Tran
Instead, you can have "double duty" pure java classes..
Either message bean or session bean just provides the
client access point.. -
Double Duty[ Go to top ]
- Posted by: Tony Brookes
- Posted on: May 15 2001 15:22 EDT
- in response to qing yan
Absolutely, but you can't have a class that IS a session and message driven bean. The server manages them in different ways.
Chz
Tony