sushil bharwani

Greenhorn
+ Follow
since Mar 02, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sushil bharwani

Hi everyone i am not sure if this question belongs to this group or not but i think mac users can answer it faster ... i was using a portal with a custom theme of mac_os_x where to navigate a submenu one needs to hover over a "@" symbol. Now my question is how is @ related to mac_os does it have any meaning attached like navigation or something ....thanks in advance
15 years ago
I appreciate your suggestion,

But a question to eric, you have provided a link to Dean Edwards Packer;

What this does primarly is it removes whitespaces and change the names of variables to a smaller/shorter name does this helps performance ... ?
I have few questions regarding performance issues with javascript:

if a jsp code contains lots of javascript methods which are not in use is that a performance issue?

what is better in terms of performance writing code in .js file and loading the file or writing code in the .jsp file itself.

what is heavy in terms of performance a div or a table or a p tag.

what other areas can/should be considered for javascript performance tuning
No we have a limitation of not being able to upgrade to 2.1. We have a customized Portal Solution from some vendor and upgrading to a further version makes it works improperly.


do you still have solution ... displaying of error page on generic exceptions
16 years ago
I m using servlet 2.1 . My problem is i use a servlet to set the src of a iframe if the file that src will display is not present it gives servlet mapping exception . I thought of using error age entry in web.xml but i came to know that this faciltiy is with only servlet 2.2 how can i do the same thing in servlet 2.1
16 years ago
Well No i cannot do it;After moving much within the code i found that its a jsp which is taking most of the time inside the JSP there is a menu.jsp file included which if not included makes my file work faster. the menu.jsp file has a lot of div tags and javascript which takes somewhere around 10 seconds to render on browswer.So my question is cannot in someway i can use my broswer cache to cache this entire menu and thus save time.
16 years ago
Actually the issue is i use Broadvision applicatioon Server installed on a Remote Server which os Solaris Machine and its becomes quite difficult for me configuring any profiling tool on that server I am finding myself in a helpless mode
16 years ago
How is test data planned and how is negative testing done do we create some test database

Thanks
16 years ago
I tried a lot to improve on performance on a piece of code but am not able to find out where the exact bottle neck lies what ever i try whatsoever i do i am stuck and feel hopeless does there exists any tool which can tell me where i can find which line of code or which method is most expensive
16 years ago
Thanks Ilja

I just wanted to know how do we plan test Data and how do we do negative testing when using junit do we have some links where i can study it
Thanks a lot just wanted to add two more questions

when using junit how do people actually prepare their test data :

By test data i mean if i have a add(a,b) method this a,b can have several values; what is the way of testing my method with various values of a and b do we create a test database how do we do negative testing.How do we plan test data.

Another question is on a confusion of using setup and teardown methods

setup is used to intialize something for a test case

if i have two test methods

say testAdd and testDatabaseconfiguration these two methods cannot have same setup and teardown things than how can i actually use one setup and teardown configuration for all my testMethods

Thanks
I have a java web application and i m facing performance issues; i need to optimize my code to do it ; can somebody suggest me what all things i should keep in my mind or areas i should look for ; also i want to know that a lot of time is consumed in downloading js css images files and header footer files ; cannot this be optimized or kept in browser or some other cache
16 years ago
Thanks Friends,

I am a WEB Developer and going to start on a new WEB Project , I want TDD with this project but i m not sure abt what and how much time does TDD requires how much of my time out of entire project would be required for writing test cases , what all things i should consider while planning resource and time for this project and how will i write test cases for my servlets jsps struts javascripts web interfaces and all I know i m asking many questions all at one time but i know somebody surely have answers
I understand what you say , but one doubt you mentioned of : assertEquals(1,factorial(1)); If function factorial does not exists how will my code compile : or do you say that i write all the junit test cases with prototype methods; can you describe me when any requirments comes up for a project ; how should one proceed in for Agile Development Thanks