Hi,
well, i developed a session bean and i deloyed it to my jboss server.
Now, i want to return my own Object, which i defined in my package,
but it does not run.
For example a Method in a Session Bean:
public MyObject getIt()
{
MyObject o=new MyObject("Hello World");
return o;
}
If i call my session bean in a client, i am getting always an javax.naming error.
What`s wrong with my approach? Can anyone help me?
Must i define MyObject as a Session Bean?
Kind regards Chris.