Lookup Local EJB from Glassfish LifeCycle module?

Quoting from the Glassfish EJB FAQ : The EJB spec only requires local ejb access from within the same application in the same JVM. And The EJB Local view is an optimized EJB invocation path that uses call-by-reference semantics. It is only available to web components and ejb components that are part of the same application as the target EJB.

That's why ejb-local-ref is not even part of the schema for application-client.xml. To access EJBs from an Application Client or stand-alone java client, you'll need to use either a Remote 3.0 Business interface, a 2. X Home interface, or web services.

The LCM lives outside the application containing the EJB, by definition, so, the answer is no. When I discovered them, I saw all kinds of interesting applications for LCM's, but as I discovered more and more limitations (the fact that they are GF-specific included) that enthusiasm mostly disappeared.

Thank you for clarifying this! – ron Oct 24 '09 at 14:53.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions