Bin Lu

Greenhorn
+ Follow
since Jan 10, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Bin Lu

used BookSession Bean as a Fecade, both web and GUI talk to this session which handle all the book info,
HI,
If findbyXXXX the return type is java.util.Collection,
Do it need throw FinderException?
Is this true
finder methods in local home interface, they must declare javax.ejb.FinderException??
P. 672 Q.45 which methods from EntityContext interface can be invoked, regardless of transaction context?
A. getEJBHome()
B.getEJBObject().
I remember in ejbCreate(): disallowed to call getEJBObject?
Any comment?
A home interface defines one or more create<METHOD>(...) methods, one for each way to create a session object.
Is each create need unique name, do not allow overload? such as create(String id), create(String id, int i)).
There is qustion in head first EJB p362, No.1
When implementing a one-tomany relationship, the java/util.List interface not be used.
the answer: "Only Collection or Set can be used".
My question, the List IS a collection.
Set and List both implement or extends Conllection interface.