I've renamed the method name in the session remote code to testA1 from the original 
getStudents....shown on the stacktrace.

session remote code:

public void testA1(Integer courseCode)
throws EJBException, RemoteException {
try
{
.
.
Collection list =
courseLocalHome.queryStudents();
Iterator iter = list.iterator();

// the list is coming back with two students.....but on System.out below I'm getting 
the error.

while(iter.hasNext())
{
student = (Students)iter.next();
System.out.println(student.getName());
}
}
catch (Exception ex)
{
e.printStackTrace(out);
}
}


local ejb code:

.
.
public Collection ejbHomeQueryStudents()
throws FinderException
{
return ejbSelectStudents();
}

.
.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843411#3843411

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843411


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to