Question :I am developing a BMP Entity bean. I have noticed that whenever the
create method is invoked, the ejbLoad() and the ejbStore() methods are
also invoked. I feel that once my database insert is done, having to do a
select and update SQL queries is major overhead. is this behavior typical of
all EJB containers? Is there any way to suppress these invocations? (EJB)
Answer :This is the default behaviour for EJB. The specification states that
ejbLoad() will be called before every transaction and ejbStore() after every
transaction. Each Vendor has optimizations, which are proprietary for this
scenario.
www.interviewhelper.org is a hope for all the Job seekers. Users can find unlimited here. These range from technical to HR, from functional to behavioral. www.interviewhelper.org contains in the fields like Ajax,VB,Networking,Sharepoint,JEE,Perl,Javascript,Bioinformatics,Classic ASP,Unix,Linux,Accounting,Oracle DBA,Microprocessor,Bluetooth,jms,jme,.net framework,ABAP,ASP,ASP.net,Basic .net Framework,Interview Questions,C language,C++,database,Oracle,Java,PHP,LAMP,SAP etc.
Friday, March 13, 2009
I am developing a BMP Entity bean. I have noticed that whenever the
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment