Vivek Hingorani

Ranch Hand
+ Follow
since Jul 08, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Vivek Hingorani

Ques1. If there is a code(method) inside a jar and it takes 10 seconds to do business processing, then how can we performance tune it? So there are 10 integer values which the method needs to process, and it will take 10s and 10 = 100s which is too much time and how can it be reduced to say 10secs or 20 secs.

ques2: I have a flat table which has all details of Employee object. Now I search all "Vivek" in the employee table and want to show on UI, which datastructure should I use?
9 years ago
Can I please get a copy of it? Please its a request
9 years ago
Thanks for the reply Tim. We need to stick with java 7 and to increase perm gen there are a lot of approvals required and hence was looking for a solution in case we can do things differently. Any help will be much appreciated
10 years ago
Anyone who has worked on drools 6 has faced this problem? Any replies would be helpful
10 years ago
While loading rules the application is throwing perm gen memory space error , with 512 MB of perm gen space.

The same application is running fine when run on drools 5.3.0.Final version . Is there any issue with drools 6 for loading the rules?
10 years ago
in 6.2.0.Final the drl are read from the packages. You can give the path of the respective package on your server and should be able to access it.
10 years ago
Currently my application is running with Drools5.x . Our application has a lot of rules (more then 1000) and we are planning to migrate to drools6.x
As the entire API is changed in Drools6 from KnowledgeBase to Kiebase , is it really possible to run two rule engines in the same Application?
10 years ago
I have a strange situation. I have a requriement to find maximum of "1","2" ......"10" or any number but it is coming as a String.

I created a list of <String> and when I do a Collections.max(list); the results are not correct.

How can I find a max of integers which are casted as String.
11 years ago
This is a good site.. i was looking for some good blog which showed some integration with java objects or even with eclipse with screenshots.. so that its easier to learn more..
11 years ago
I need to have some documentation or some help to install jess on my machine and execute simple programs.. Any help is much appreciated
11 years ago
Can two mutually exclusive rules be called from one rule?
Or in other words if I have a rule which says Monday to friday desktop colour be red and on saturday and sunday let it be green but if a weekday is 03/03/2013 or some condition like dd/mm is same then color as orange. How would i implement such a scenario
So when i check when <first condition> can i have a nested condition to check again or do I need to have a extra rule which says when <first condition> && <second condition>
12 years ago
Yeah I agree with Prajakta. Its easy to comment on anyone. I do have went through same situation and can easily relate.
In one manager round interview i was told to code a problem statement and given 10 mins for the same. I solved it but it took me around 20 mins and I was rejected in the same. It feels very sad when something like this happens..
12 years ago


I created a countryIndia object and was trying this piece of code and was unable to execute last line as it was not allowing me to directly create the XML file from the Object.
whereas if i tried
it would write on the console in correct xml format.
I want to create the countryrecord.xml directly rather copying from console and pasting it to the XML
Thanks for the reply Pat.
What if it creates a new record and a new id is created for my record. As a user of the application will i get one error and one success.
Will there be a flickering for the user that he sees a error and then a success response.? Need to understand conceptually
12 years ago
@Pat and William:
He didnt asked me how will I handle the same. He asked if its a simple JSP servlet application with simple JDBC persistance then what would happen in such a scenario?
I think only one response would come as HTTP is a stateless protocol but how will server react is my question.
Please respond as I am looking for the appropriate solution
12 years ago