hello everyone,
please help me urgently........
I am encountering a problem while assembling the Ejb in to the jar file. I had already developed & tested an application using Ejb on Inprise App server, now i am testing this application on WAS Advanced Edition v4.0. I am using CMP Entity beans. My problem is that in some primary key class I have declared primary key fields as type of remote interface reference.
(for e.g
public class UsrloginPK implements Serializable
{
public String userid;
public CompanyMast companymast;--remote reference
//....
}
Actually in database for this particular table I have declared 3 primary keys(i.e composite) for Usrlogin--userid, coId & unitId. But I combined coId & unitId into companyMast (since my database design is as such)
This companyMast is also an entity bean which contain two primary keys(i.e composite)coId & unitId.(In many primary keys class of my application has this concept)it works fine with Inprise application server. But when I try to assemble the jar file using Application Assembly Tool, add new CMP Entity bean it asks me for required paths for home,remote,PK..etc I add it correctly then when I try to add the CMP Fields for the particular CMP Entity beans which has Primary key field as a remote reference ( as shown above), it doesnt display any fields to be added in the CMP Fields ???(as it displays the various CMP Fields if the primary key fields are primitive datatypes or String). I had also declared finder methods in home interface but since I am not able to add any CMP Fields, I am not able to see any finder methods declared in home interface in "Method Extension" panel in AAT ???
Other CMP Entity beans which have primitive primary key fields in my application has been added successfully in the jar using AAT.
How can this be achieved in WAS v4.0 ???
Is there any way ???
I tried my best to explain the problem in simple words....hope u all would understand it..
please help me urgently........
thanx in advance,
regards...
Apurva.