Hello All, Can we have overloaded create() methods like create(String s) and create(int i). I think this is possible. But in one mocke exams( ) they are saying we can have only one create(any argument) methods. All other methods should be like createXXXX(). can somebody please clarify this for me. Thanks, Prashanth.
I am assuming that Prashanth is referring only to stateful session beans since, as Victor says, stateless session beans can have only one create() method and no with argument at that. No argument there Ha! From HFEJB page 232: "Stateful beans must have one or more create() methods and are NOT required to have a no-arg create(). The create() methods must start with the string "create" and can be overloaded". (Emphasis mine.)
Proudly marching to the beat of a different kettle of fish... while reading this tiny ad
global solutions you can do in your home or backyard