You could wrap your whole process under a session bean and let the session
bean to fire events for you based on your transaction outcome. A session
bean implemented interface SessionSynchronization will be notified when
transaction is commited or aborted.
Conrad
-Original Message-
It is
not going to work. Both ess.jsp and ess2.jsp are declaring their own
Website subclass and they can't be cast to each other (They are totally
different classes). Use a real java class instead.
Conrad
-Original Message-From: Christian Meunier
[mailto:[EMAIL
Title: SV: How to set orion to perform a timely task..
First of all, there
is an option to load a servlet at startup so that you don't need to wait for the
first request comes in.
Secondly I prefer
this way better. You could create a separate ejb client application to
start your timer
Have you try to package your version of JAXP files inside your application
archive (ear, war)? This idea comes from the fact that every class is
identified not only its class name but also which class loader it is loaded
from. Since Orion supports dynamic loading of application files, it should
Or set
the return status code backto 200 since I really don't see a reason why I
would like to return 500 if my error page will be probably
shown.
Conrad
-Original Message-From: SureTicket.com
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, February 21, 2001
1:20 PMTo:
t up in the 2.0 spec but I
think it is the same in 1.0).
Yours
Randahl
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Conrad Chan
Sent: 20. februar 2001 02:17
To: Orion-Interest
Subject: RE: Best practices: How to initialize state in EntityBean's
supe
I am doing something very similar to what you described. My base class is
actually coded like a Entity bean so that it has all the ejbActivate,
ejbLoad, ejbStore etc. Hence it is a self-contained entity bean which
handles its own state information nicely and my subclasses are not required
to
I think he was trying to invalidate the existing session before setting the attribute.
Conrad
-Original Message-
From: Boris Erukhimov [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 24, 2001 4:05 AM
To: Orion-Interest
Subject: Re: problem invalidating servlet
Try this ...
if
you.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Conrad Chan
Sent: Friday, January 05, 2001 5:57 PM
To: Orion-Interest
Subject: RE: ResultSet Caching
I don't think entity bean can effectively solve your problem
since calling entity bean can
I don't think entity bean can effectively solve your problem since calling entity bean
can potentially be remote calls.
Why not use session variables? Session variable is intended for temporary storage,
like cache data.
Conrad
-Original Message-
From: Neal Kaiser [mailto:[EMAIL
I had the same problem as you do before. After days of try and error, finally I
realized that I have to put my group name into your application's principals.xml to
work. Personally I do see this as a bug
Hope this help
Conrad
-Original Message-
From: Arved Sandstrom [mailto:[EMAIL
Here is my input on this interesting topic.
* some people say, it's best practice to put 1 connection
into 1 user's http
session and use it for all requests of that user
This only works if you don't have a lot of users concurrently, say a small intranet
application, that doesn't care
Furthermore, I have an auto-start java module that will listen for socket connection.
Every time I redeploy my application. The java module will start again and of course
will return a 'Address already bind' error. I defintely need the shutdown
notification to stop the running instance
Here is a simplified version of my problem:
I have a Person entity object that contains a list of phone numbers as string, which
encapsulates Person and Phone database tables joined by foreign key person_id.
When I create a person instance first and then fill in phone numbers information,
I believe the error is telling you that 'java.lang.String[]' is not a valid java class
name
Conad
-Original Message-
From: Jen Hsien Huang [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 19, 2000 3:32 PM
To: Orion-Interest
Subject: Declare variable using Taglib TEI
While I am tring
You should edit orion-ejb-jar.xml instead. Take a look at its DTD and you will know
how. It is very trivial.
Conrad
-Original Message-
From: Rick Bos [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 07, 2000 9:25 AM
To: Orion-Interest
Cc: Orion-Interest
Subject: RE: Auto creating table
Try to move your library tag from server.xml to application.xml (or vice versa). I
remember I did have the same problem and that was how I fixed the issue after days of
try and error. Orion is still in beta. I wouldn't be surprised that their
configuration DTDs will change constantly. But
How about having your Product company finder query to be
"SELECT * FROM Product WHERE Product.company = (SELECT Company.id FROM Company
WHERE Company.name LIKE ?"
I understand that this query may not be identical to the query you provided. But my
point is it is possible.
I bet you don't really want to have a dummy ping method to burden your server load.
If the current implementation will throw java.rmi.NoSuchObjectException when session
beans timeout, you could define in your war archive configuration to redirect to a
particular page automatically if this
You
may not provide us enough information about your problem. I just don't
understand how this 'ClassNotFoundException' issue relates to security
manager
Just
curious
Conrad
-Original Message-From: Eric Hodges
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, April 19, 2000 1:51
When I package my application in an ear archive, I realize that there is no
orion-ejb-jar.xml file created. I tried to deploy news and atm apps using their ear
archives and the xml file is not created as well. So how am I supposed to configure
my EJB objects when using ear archive?
P.S.
21 matches
Mail list logo