This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Hi, i want to ask u in the 1:1 relation mapping in cmr ejb i am going to use remote interfaces home interfaces and i have use local home and remote interfaces but i cant understand when the client call the findByPrimaryKey method of another bean who has foreign key that methods return type will be of local remote interface or remote interface. bcz my error will be of:-
so if i put local interface then it will call the home interface create method where the datatype is of local type so it will create a problem for me so any one tell me how to use local interface finder method . thanks alot
Cnmas cnn = cnhome.findByPrimaryKey(dpwb_no); but if i use this statement in the client side then my problem in this case :- 1. i have multiple records in dpwb_no because primary key has multiple records retrival fine
2. second problem is home interface ka finder method call kar raahain hain and whose return type is not local type but client will interact only through the localhome interface so pls tell me how to do that