JBoss Community

Re: classloading and remote access in ejb3

created by Jure Lodrant in EJB3 - View the full discussion

Hi,

 

thanks for the pointers.I checked them but,

 

- do I need to tackle remoting, even if my primary objective is getting it to work inside the embedded web container in the same jboss instance as the EJB facade. I thought jboss optimizes calls within the same VM to avoid unnecessary serialisation. But I get the same error on my web client. Would strictly using @Local annotation on the facade bean help?

- My use case is even more dynamic than the examples provided: in theory, a class implementation is loaded from a database record on each call using a custom PAR file classloader provided by JBPM. I can't imagine being able to hook that classloader to some jboss exported classloading structure...

 

Maybe I'll just have to retrieve the class bytecode as a byte[] and do the classloading on the client...

 

Thoughts anyone?

 

Jure

Reply to this message by going to Community

Start a new discussion in EJB3 at Community