File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB Certification (SCBCD/OCPJBCD)
Some basic Confusions in Entity Bean
Joined: Nov 01, 2006
Jun 08, 2007 08:28:00
I know in the entity bean, the create() and findByPrimaryKey() methods in the home interface will always return the EJBObject reference. It can't return other than EJBObject reference.
I am also having other findBy<name>() and home business methods in the home interface.
I want to know what are the possible return types of findBy<name>() and home business methods in the home interface.
As far my knowledge, the home business methods in the home interface is for returning the raw data to the client,instead of returning the EJBObject reference.
Whether the home business methods in the home interface can't return anything other than raw data?
What are the possible return types of findBy<name>() methods in the home interface.
Why the CMR data field should be either another entity bean's local component interface/ Collection?
Why can't we use another entity bean's remote component interface?
SCJP 1.4 (86%), SCWCD 1.4 (86%), SCBCD 1.3 (85%), SCDJWS (Just Started...) - Satisfaction Lies in Our EFFORT, Not in the ATTAINMENT
I agree. Here's the link:
subject: Some basic Confusions in Entity Bean
Conflicting description of home business methods in HFE
Cleared SCBCD last week.. some notes
can home business method return ....
EJB Notes I prepared during my preparation for SCBCD
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015