I'am using Local SessionBeans with Object Arguments.
For Example:
@Stateless
@Local(BiManager.class)
@LocalBinding(jndiBinding="BiManager")
public class UserManagerBean implements UserManager {
public void registerUser(Object newUserData){
...
I get a error message (IllegalArgumentException....)
When i am changing "Object newUserData" to "String newUserData" then i get a correct configurated Code, which is running on the deploy folder.
On the other hand, when i change the code from LocalBean to RemoteBean then the code is not running. So my conclusion is that i can use primitive datatypes only on LocalBeans and with RemoteBeans i can handle object types. is this a bug or feature. Am I doing smth wrong?
Thanks for your replies.