What programming restrictions are defined in the EJB specifications? 1,An enterprise bean must NOT attempt to listen on a socket. 2,A session bean class must NOT have any superclasses and/or superinterfaces. 3,An enterprise bean can directly read a file descriptor. 4,An entity bean class need NOT implement a public zero-argument constructor.
I think the answer is 1,am i correct?
who dare win!<br />SCJP5(94%)|SCWCD5(86%)|SCBCD(100%)|SCEA in progress
Well, I had basic knowledge of EJBs, so I didn't used books, only specs (I read them twice and used many times to find answers). I also read many posts from this forum (even the old ones) and I think it is very helpful. Personally I think that SCBCD was the easiest exam (as compared to SCJP and SCWCD).
Along with answer 1. The answer 3 is also correct. As the session beans should never attempt to read a file descriptor. I think reading the file descriptor is equivalent to using the FileOutputStream only.