RE: System.out.println

2004-08-05 Thread Aditya Athalye
PROTECTED] Sent: Thu 8/5/2004 2:47 PM To: Struts Users Mailing List Cc: Subject: Re: System.out.println On Aug 5, 2004, at 10:58, Aditya Athalye wrote: > U shld use a flag say debug. > > so the

RE: System.out.println

2004-08-05 Thread Aditya Athalye
U shld use a flag say debug. so the code will look like boolean debug = true; if(debug) System.out.println(" "); In production make the flag as false. Hope this helps Thanks Aditya -Original Message- From: Shailender Jain [mailto:[EMAIL PROTECTED]

RE : PortableRemoteObject.narrow()

2004-07-28 Thread Aditya Athalye
I dont think there should be any need to use Portable Remote object.narrow() method for getting reference to EJBObject. Basically there is no need to cast since home.create() will directly give the reference to the component interface irrespective of underlying protocol Thanks Aditya

RE: About Struts + JBoss preference issue

2004-07-22 Thread Aditya Athalye
Very True...Struts wont cause the delay...Anyhow Bean lookup and getting reference to the component interface bein remote calls are inherently slow in nature.So I think even with a normal servlet u wont get any performance gain. As said earlier check if u can optimise ur SQL queries or even ur D

Logic Iterate tag

2004-07-19 Thread Aditya Athalye
Hi All, I am currently using for loops and iterators for traversing arrays and coolections in JSP. I am planning to use this logic : iterate tag in place of this. I need to know if there is any advantage of using this tag in terms of performance or reduction in Java code in JSP etc. Th