Posts:
3
From:
Kuala Lumpur, Malaysia
Registered:
6/8/04
|
|
|
|
Exception Handling in Stateless SessionBean
Posted:
Jun 8, 2004 6:35 AM
|
|
The book suggests that all RuntimeExceptions (includes EJBException, NPE, RollbackExceptions etc...) are thrown back to the SLSB client. See the code for NestedException. Why ? Also NestedException is a direct subclass of RuntimeException! I think it would be better to subclass from EJBException. What is the rationale for doing that ? Note that I understand that any RuntimeExceptions thrown from a business method in a SLSB will rollback the Tx.
Xanana
|
|
Posts:
1
Registered:
9/10/04
|
|
|
|
About jsp
Posted:
Sep 10, 2004 5:48 PM
in response to:
xananagusmao
|
|
THE DIFFERANCE BETWEEN "request" and "session" atribute values in <jsp:useBean...../> tag
|
|
|
Legend
|
|
Gold: 300
+
pts
|
|
Silver: 100
- 299
pts
|
|
Bronze: 25
- 99
pts
|
|
Manning Author
|
|
Manning Staff
|
|