[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] RMI and RCP, am I the only one who can't make it work!!
|
Hi,
I have just started an RCP project using eclipse 3.2 JBoss4.0.4GA and ejb3.
I have a quick example taken from an online tutorial from
www.laliluna.de which works as a Java application just fine. This
focuses on the remote access of stateless session beans.
Now the trouble starts when attempting to make this work under eclipse
as an RCP application.
I have created an RCP project with pretty much the same code in a view.
The first issue was where to put the jboss client jar files. I created a
plugin from existing jar files and included all the jar files that I had
used in my plain java application.
This was then added as a dependency to my RCP application. It was also
added as a workspace plugin to the run configuration.
This gets me to the ability to access the JNDI context and lookup the
remote interface for my ejb's. The problem then is the security access
issue. This is not an issue with the plain java application but seems to
be with the RCP version.
Having looked around the web I found a suggestion, really just to get to
the next stage, of creating my own security manager and basically doing
nothing. This clears the security hurdle, but now the class type that my
remote method call returns cannot be found, currently in another plugin
created from existing jars etc and configured as for the jboss plugin!!
Does anyone have a straight foward example / tutorial on this. With the
emergence of ejb3 and RCP I would think that this most be a very popular
and powerful combination!!
Any help / pointers / clues ???
Thanks in advance
/Dominic Hanlan