[jboss-user] [EJB 3.0] New message: "Client-side caching of remote business interface / remote service interfaces"

testrot do-not-reply at jboss.com
Mon Mar 15 12:38:01 EDT 2010

User development,

A new message was posted in the thread "Client-side caching of remote business interface / remote service interfaces":


Author  : testrot
Profile : http://community.jboss.org/people/testrot


I have 2 questions regarding the possibility to cache JNDI lookup results in a clustered environment.
The server side consists of at least 2 JBoss 5.1.0.GA cluster nodes and the client side consists of some java standalone clients.

1) Is it possible to cache remote business interfaces?

            InitialContext initialContext = new InitialContext();
            HelloWorldRemote remote = (HelloWorldRemote) initialContext.lookup(name);
            // put remote into cache ???
2) Is it possible to cache remote interfaces of service POJOs (cf. http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html_single/index.html#Service_POJOs) ?

AFAIK it might depend on the JEE Implementation whether it is possible to cache remote business interfaces. So the question is does JBoss encourage this type of caching. In the case of service POJOs we are not talking of a JEE standard. So this is JBoss specific anyway.

Thanks in advance.


To reply to this message visit the message page: http://community.jboss.org/message/532054#532054

More information about the jboss-user mailing list