I need a little bit of beginner help on distributed object programming.
I've gone through the Jboss documentation and was able to create the simple
bean and the simple test client that calculated my compound interest. But
now I want to extend that example and pass an object/data structure to the
EJB from the test client.
So example:
EJB session object has interface
public void PassSomeObject(Foo myFooObject);
And Foo is a simple object with two data fields/ accessors and mutators...
Public class foo{
private String fooBar1;
private String fooBar2;
public foo (String myFoo, String myFoo2);
public String getMyFoo1();
public void setMyFoo1(String foo);
...
}
This object doesn't have a "remote" and "home" interface because I don't
want it to be a bean. I simply want to pass information from my client into
the EJB...
Do I need to add something to my META-INF files? Or can I simply pass this
data back and forth? And if I need to pass back an Array of foos does this
need more complicated code? Any help would be appreciated.
-Dave
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development