Re: Wierd Servlet to EJB RMI problem

2001-01-16 Thread Adam Cassar
I thought the same as well. I was supprised however that when making an rmi call between two different machines, the standard .equals works, however when used within a servlet it doesn't. I (incorrectly)imagined that as the ejb container and the servlet are in the same process that the equals me

Re: Wierd Servlet to EJB RMI problem

2001-01-16 Thread Nick Newman
Hi, It may be because of the way that the .equals() method is written for your class. For example, the Object class itself says that two objects are equal only if they are the SAME object. After they are passed BY VALUE (i.e. through serialization) to a session bean they can no longer be the

Wierd Servlet to EJB RMI problem

2001-01-15 Thread Adam Cassar
'lo all, I am experiencing a wierd problem/feature with orion v1.4.4 I have a servlet that calls a stateless session bean with lets say paramaters of the same object type. eatme( Object o1, Object o2) The stateless session bean uses the .equals method of the object to see if o1.equals( o2) and