why ejbFind methods should only return Primary key,
enumeration or Collection? why not Hashtable ?
can ejbFind have return type as primitive data types?
if the SELECT is too big, how many object should be allocated in the appServer ?
How of the object returned from the query do you realy need ?
> can ejbFind have return type as primitive data types?
No, is out of specification
What would you expect the Hashtable keys would be? The PKs?
This makes sense for something like ejbFindByPK, but is quite comfusing for ejbFindByName... I would assume names are the keys of the Hashtable...
Anyway, EJB supports only the basic Collection datatypes. Enumeration for Java1 and Collection for Java2.
EJB finders find beans, not primitives. So they can only return beans (either one bean or a collection of beans).