OK a little update. I realized that Message Driven beans wouldn't be able
to achieve everything I needed, so I went back to the "lab". ;)
After reading a little about RMI-IIOP (from Ed Roman's book on EJBs) I realized
I was making a mistake. I have to use RMI-IIOP and not just RMI to get in
I want an object to get in touch with a RemoteObject outside of JBoss.
When I try to lookup the object in the Remote RMI registry I get this exception:
java.rmi.ConnectIOException: non-JRMP server at remote endpoint
What's that supposed to mean?
View the original post :
http://www.jboss.org/ind
Well.. that is "inaccurate".
The RemoteObject is trying to bind itself in its constructor.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875055#3875055
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875055
-
Logger is a RemoteObject
| public Logger() throws SmileException {
| // me registro en JNDI
| try {
| EJBUtil.setResource(this, Logger.JNDI_NAME);
| System.out.println("Logger registrado");
| } catch (Namin
Couldn't you just say that Message-Driven Beans are meant for that??? :P :D
I feel so ashamed.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875066#3875066
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875066
-
What's the meaning of that?
That happens when I try to bind a RemoteObject in the JBoss JNDI registry (from
inside a EJB).
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875054#3875054
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting
I don't think I can do what I need (a logger) with a bean. I need a "live"
object to keep track of events in an application (the application will notify
the logger) and to notify clients (Remote Objects too) about those events.
View the original post :
http://www.jboss.org/index.html?module=bb&
I want to "publish" a RemoteObject I made so that stand-alone clients can
access it through JNDI (I intend to make a "logger" for the application that is
running in JBoss so remote applications can see what's going on in the server).
When I try to bind it (from an EJB) with Context.bind(myRemote
I'm developing a web application for the hospital I'm working for. It's still
in development state.
During the development process I chaged the name of the war file I was using
for development. I had brought the job home once to make a presentation and
didn't delete the old file.
When I brough