EJB questions

SUBSCRIBE EJB-INTEREST anonymous <[email protected]> Wed, 29 Mar 2006 05:51:09 -0700
Newsgroups gmane.comp.java.sun.ejb.general
Message-ID <LISTSERV%[email protected]>
Hi,
I am  new to EJB.I use stateless sessionbean.
I have the below questions.Could anyone give me your suggestions / comments?

1.My ejb method calls a Data Access Object class's method. In my Data
Access Object's class method can I catch Exception?  Is this ok?

2. My ejb method performs single row insert into database.Is it ok if i set
the transaction attribute to NotSupported?

Thanks in advance,

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".