RE: support EJB2.0 or not?

2000-10-18 Thread Reddy Krishnan
you will have to change the DOCTYPE in ejb-jar.xml file to point to ejb2 dtd. -Original Message- From: Tim Drury [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 2:21 PM To: Orion-Interest Subject: RE: support EJB2.0 or not? My guess is the Orion is assuming my EJB is a 1.1

RE: dependent object - deepCopy()?

2000-10-16 Thread Reddy Krishnan
as far as the spec goes deepcopy is an abstract method that is implemented by the EJB container. I have not had any problems with this. -Original Message- From: Tim Drury [mailto:[EMAIL PROTECTED]] Sent: Monday, October 16, 2000 9:13 AM To: Orion-Interest Subject: dependent object - d

RE: XSLT processors

2000-10-11 Thread Reddy Krishnan
well i was waiting for data-binding from Sun for this( which has been in JSR for a long... time now). With that servlets will create Java objects which in post filter( servlet 2.3) get converted to XML tree using data binding. Then pass the XML thru XSLT and get the HTML out. - Krishnan -O

RE: getting EJB home from JSP

2000-10-11 Thread Reddy Krishnan
?   Al - Original Message - From: Reddy Krishnan To: Orion-Interest Sent: Monday, October 09, 2000 2:14 PM Subject: RE: getting EJB home from JSP Hi,   I am casting the narrowed object properly my code is

RE: Re[2]: EJB vs Servlets

2000-10-09 Thread Reddy Krishnan
Hi rafael, complex OR mapping is solved pretty comprehensively in 2.0 and that too in public draft 2. But what you say for SQL is not fully true. For heavy duty operations like full search of database it is prohibitively expensive to get large number of EJBs returned in searches then discard m

RE: EJB vs Servlets

2000-10-09 Thread Reddy Krishnan
Hi Russ, though the concept of EJBs sounds interesting and appealing there are two complaints against it (1) its not fully mature like other components of J2EE. Anybody who has developed using would know the numerous small issues here and there. I have been using EJBs from 1.1 and has been fol

RE: EJB vs Servlets

2000-10-09 Thread Reddy Krishnan
hi Kevin, Could not agree with you more. I am developing a system using EJBs and it takes 2-3 times as much effort to do the same stuff what could have been done with jsps and servlets. The only saving grace seems to be OR mapping in EJB 2.0 where you can avoid writing JDBC code. I get a feelin

RE: EJB question

2000-10-09 Thread Reddy Krishnan
Hi Nick, I seem to get the same problem ( orion returns a StatefulSessionHomeWrapper3 class instead of session home resulting in class cast exception). I have a feeling this has got something to do with jsps having different ClassLoader. The demo news app does something like pageContext.getPa

RE: getting EJB home from JSP

2000-10-09 Thread Reddy Krishnan
Title: Hi,   I am casting the narrowed object properly my code is   CategoryHome catHome =    (CategoryManagerHome)PortableRemoteObject.narrow( ctx.lookup("java:comp/env/CategoryManager");, CategoryManagerHome.class);   but this throws up a wrong ( maybe intermediate class) .(CategoryMana

RE: Cascade Delete

2000-10-03 Thread Reddy Krishnan
ignored? Christian Reddy Krishnan wrote: > > Hi, > > Regarding the same cascade delete problem. I have a clearFields() method which >empties > each of the collection holding relationships or dependent objects. If i call this >from > the client the objects gets deleted

RE: Cascade Delete( will orion support ejb-2_0 spec public Draft 2 ???)

2000-09-29 Thread Reddy Krishnan
correction to statement there needs to be only a delete method on the dependent there is only a cascade-delete xml tag. sorry about that. Krishnan -Original Message- From: Reddy Krishnan [mailto:[EMAIL PROTECTED]] Sent: Friday, September 29, 2000 10:55 AM To: Orion-Interest Subject: RE

RE: Cascade Delete( will orion support ejb-2_0 spec public Draft 2 ???)

2000-09-29 Thread Reddy Krishnan
-Original Message- From: Reddy Krishnan Sent: Wednesday, September 27, 2000 12:53 PM To: 'Orion-Interest' Subject: RE: Cascade Delete Hi, Regarding the same cascade delete problem. I have a clearFields() method which empties each of the collection holding relationships or

Can Dependent objects have dependents of their own?

2000-09-28 Thread Reddy Krishnan
Hi, Can dependent objects can have their own dependent objects. When i try this in Orion it gives following error. Illegal abstract method in dependent class cart.CartItem: public abstract cart.CartItemDependent cart.CartItem.createDependent() 2. can we have relationsh

RE: Cascade Delete

2000-09-27 Thread Reddy Krishnan
Hi, Regarding the same cascade delete problem. I have a clearFields() method which empties each of the collection holding relationships or dependent objects. If i call this from the client the objects gets deleted properly. But if i call this inside the ejbRemove() ( call clearFields() then call

RE: Cascade Delete

2000-09-27 Thread Reddy Krishnan
: Reddy Krishnan [mailto:[EMAIL PROTECTED]] Sendt: 27. september 2000 01:54 Til: Orion-Interest Emne: Cascade Delete Hi, Having some problems while deleting a EJB. When i delete the ejb by ejbobject.remove() method the dependent objects and relationship entries are not deleted from the database

Cascade Delete

2000-09-26 Thread Reddy Krishnan
Hi, Having some problems while deleting a EJB. When i delete the ejb by ejbobject.remove() method the dependent objects and relationship entries are not deleted from the database. Should this not be done automatically by the app server. Is this a problem in Orion or is there some explicit delet

ONe - one dependent relation - orion bug?

2000-09-26 Thread Reddy Krishnan
Hi, whenever i try to persist a 1-1 relationship between a bean and dependent class i get the following exception during deployment Auto-deploying Cart (ejb-jar.xml had been touched since the previous deployment) ... CartEJB_PersistenceManager2.java:87: Incompatible type for =. Explici

RE: How to use EJB2.0 on Orion

2000-09-20 Thread Reddy Krishnan
Hi, have the same problem as nick. When i have an 1-1 relationship to a dependent orion throws errors which arise due to the following. (1) it creates its own dependent classes which should be concrete implementations but they are also abstract so throws error when returning objects ( this is new

RE: How to use EJB2.0 on Orion

2000-09-20 Thread Reddy Krishnan
Vimal, 1.3.1 supports ejb2.0 beans in the ejb-jar.xml use DOCTYPE as http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd"> instead of ejb-jar_1_1.dtd. Follow the ejb2.0 specs on abstract get/set , abstract bean class etc., and you will all set. Sorry dont have ready example of ATM to send alongwit