Hi!
I'm developing a SEAM remoting app, so all things on the client side are done in JS and SEAM just handles remoting calls.
I'm using SLSB on the server that look like this:
@Stateless
public class MySLSB {
private String prop1;
..
@WebRemote
public String getProperty() { return prop1; }
}
<component name="x1" class="acme.MySLSB" scope="STATELESS"> <property name="prop1">value1</property> </component> <component name="x2" class="acme.MySLSB" scope="STATELESS"> <property name="prop1">value2</property> </component>
var x1 = Seam.Component.getInstance('x1');
x1.getProperty(function(prop1) {
// do something with prop1
});
What happens when you just make it a POJO?