Hi all , I am using Linux6.1 , jdk1.3 , postgresql7.0.2 and jboss2.1.
I have a question regarding finder method code below :
ArrayList result = new ArrayList();
Collection collection = usercompanyHome.findByLikeTrade(trade);
Iterator iterator = collection.iterator();
while(iterator.hasNext()){
UserCompany usercompany = (UserCompany)iterator.next();--> line 2
UserCompanyJB usercompanyJB = usercompany.getCompanyJB();
result.add(usercompanyJB);
}
return result;
Why in the line 2 , i do not need the PortableRemoteObject.narrow() ?
Cause why i tried to put the code in the IAS4.1.1 container , it
complained.
Anybody any ideas why jboss do not need the PortableRemoteObject
method to get the remote reference ??
Thanks wt
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user