Dear Elephantwalker
As we all know, you
are right that my session beans have access to a SessionContext,
but I think this is not enough for performing the logout.
As I mentioned,
the user has been logged in by calling the login method on the RoleManager from a session bean, and
Hi,
I am using createTopic function to create a Topic , i
then bind it to a jndi context. I can lookup to that
topic if the application server is running on the same
machine as that of the client. If the client connects
to the server running on a remote machine, the lookup
does not happen unless
Hi all
I have one doubt regarding the use of RoleManager Class. Is it available only inside
EJBs?
I tried to look up the RoleManger(java:comp/RoleManager) from an Application
Client(SWING), but it always throws a NameNotFound exception. Is it supposed to work
this way?
TIA
Anil
Hi,
specify the JNDI-Name in your web.xml, e.g. :
resource-ref
description.../description
res-ref-namejms/Topic/res-ref-name
res-typejavax.jms.Topic/res-type
res-authContainer/res-auth
/resource-ref
resource-ref
description.../description
Thanks! That worked
A further note - for anyone who has the same sort of problem, here's what
I did;
I changed the orion-application.xml file to say:
library path="WebModule/WEB-INF/lib/" /
the path is relative to the .ear file, it took me a while to figure that
out. I was trying to set the
There are several constraints to BMP beans which make them almost always
perform slower than CMP beans. In particular, the inability to bulk
load beans from finder methods is a nearly fatal defect.
I'd like to know more of the details?
How does the container deal with the following finder
Curt,
I don't know anybody that uses the vanilla findAll() in a cmp finder. In
orion, it is _extremely_ easy to add a customer finder findAll that has a
limit. Here is my findAll for Oracle(oracle doesn't have LIMIT):
finder-method partial=false query=select * from (select a.*, rownum rn
from
Some caveats for the approach below:
- DB specified, rownum is an Oracle thing
- select * will bite you in the ass if your table structure ever changes
There are actually approaches for doing a limit type finder, using a
poll/seek algorithm...
On 4/4/02 4:59 pm, The elephantwalker [EMAIL
From: Curt Smith [mailto:[EMAIL PROTECTED]]
There are several constraints to BMP beans which make them almost
always
perform slower than CMP beans. In particular, the inability to bulk
load beans from finder methods is a nearly fatal defect.
I'd like to know more of the details?
Whenever I enter my email address at:
http://www.orionserver.com/subscribe.html
I get the following email sent back to me:
Subject: Orion-Interest command execution error
Body:
[EMAIL PROTECTED] is not a recognized command for this list-server.
I am only able to send messages to the group. I
10 matches
Mail list logo