From what I have seen, each app server is free to define its own specific method for
partitioning
functionality and is not hard wired into the spec. Orion, Weblogic, EA Server, for
instance, each
have their own protocol for intra/inter server communication. Jason has done an
excellent job in
Just like I can write a client that can connect to any server (after
specifying proper values to new InitialContext), I should be able to do the
same thing from any Java Code (with certain limitations). This should be
regardless of where the Java code is running. Why should I get a
The inter - application communication is not the only issue that the j2ee
spec defines as vendor specific...there is also the security spec. With user
security, we usually isolate the code which is vendor specific so that we
can quickly change security methods if we need to use another
If you use the ApplicationClientContextFactory it will read
META-INF/application-client.xml which is where you can specify the
ejb-ref and env-ref elements... There still must be some
other aspect of your situation that I don't understand.
In answer to my own question, I finally discovered how
Earl,
I was only replying to your message where you indicate:
"I suggest you try the
ApplicationInitialContextFactory instead of
theApplicationClientInitialContextFactory in your situation."
I was
only saying that using ApplicationInitialcontextFactory will not work in my
case. There is
Well, I agree that it would be nice if you could get access to servers
outside of Orion using the "client" approach, I don't think it necessarily
defined in the J2EE platform specs. I took a look around the J2EE 1.3
specification, and the section J2EE.2.8 "Flexibility of Product
Requirements"
There may be a clue to this question in the following error message that is
generated when trying the
com.evermind.server.ApplicationInitialContextFactory from an application
client:
"javax.naming.NamingException:
com.evermind.server.ApplicationInitialContextFactory should only be used
The problem, is that I AM connecting to ANOTHER server from a client. It's
just happends that the client is an Orion. Using
ApplicationInitialContextFactory attempts to read META-INF/application.xml,
but I need to specify ejb-ref, env-ref and other such entries which you
cannot be put into