RE: EntityBean Events inside tx.

2001-04-03 Thread Conrad Chan
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-

RE: Class cast exception....

2001-03-19 Thread Conrad Chan
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

RE: How to set orion to perform a timely task..

2001-03-06 Thread Conrad Chan
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

RE: JAXP

2001-02-27 Thread Conrad Chan
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

RE: Error Page

2001-02-21 Thread Conrad Chan
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:

RE: Best practices: How to initialize state in EntityBean's super class

2001-02-20 Thread Conrad Chan
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

RE: Best practices: How to initialize state in EntityBean's superclass

2001-02-19 Thread Conrad Chan
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

RE: problem invalidating servlet

2001-01-24 Thread Conrad Chan
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

RE: ResultSet Caching

2001-01-08 Thread Conrad Chan
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

RE: ResultSet Caching

2001-01-05 Thread Conrad Chan
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

RE: Group/role-mapping problem with own User implementation

2000-12-06 Thread Conrad Chan
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

RE: webapp design: how to handle connection pooling

2000-08-09 Thread Conrad Chan
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

RE: How to trap orion shutdown

2000-07-26 Thread Conrad Chan
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

PROBLEM: Primary-child CMP object

2000-07-21 Thread Conrad Chan
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,

RE: Declare variable using Taglib TEI

2000-07-19 Thread Conrad Chan
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

RE: Auto creating table

2000-07-07 Thread Conrad Chan
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

RE: False bug alarm [ was: Bug of RC2? - About Javac instantiating ]

2000-06-01 Thread Conrad Chan
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

RE: EJB CMP suggestion

2000-05-09 Thread Conrad Chan
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.

RE: Stateful Session timeout, JSPs

2000-05-04 Thread Conrad Chan
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

RE: Security problems with RMI and Orion

2000-04-19 Thread Conrad Chan
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

Missing orion-ejb-jar.xml when using EAR archive

2000-04-18 Thread Conrad Chan
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.