Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!

Khuzema Dharwala

Ranch Hand
+ Follow
since Apr 26, 2010
Khuzema likes ...
Java Linux Tomcat Server
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Khuzema Dharwala

Hi All,


Lets say I have a class A which depends on class B

and similarly class B depends on class A


I want to create bean of class A and class B in Spring, can anyone tell how to do this because both classes are interdependent on each other ?

Regards,
Khuzema
1 year ago
Hi All,

Can anyone explain what is WeakHashMap and how it is different from ordinary HashMap ?


Regards,
Khuzema
1 year ago
Can you please tell what is the thing which is making you difficult to understand interface.
1 year ago
I am interested to know how this method is made thread safe.

In specific how this method helps in preventing the overriding of value if two threads are using this method.
Hi All,

Can anyone explain how putIfAbsent  method in ConcurrentHashMap eliminates race condition ?



Thanks...
Thanks Henry, but what is Reentrant ?

I know about the synchronized blocks and that every object in java comes up with an intrinsic lock which a thread need to acquire in order to execute the code inside the synchronized block if it is synchonized on that object. 
Hi All,

Can anyone explain what is re-entrant locks and what is the benefit of using it in a multi-threading environment ?

Explanation with the help of a usecase is preferable.
Hello All,

I configured a new domain in weblogic on my windows machine and when I trying to start it, it is giving me following error




Initially I thought that it might be related to heap memory issue, so I tried changing the JVM memory parameters inside "setDomainEnv.sh" but still this issue is coming.

I am attaching my config.xml ,startWeblogic.cmd  and setDomainEnv.sh, need to resolve this issue ASAP.

Any pointers on this issue is highly appreciated.

Thanks


1 year ago
I was studying the internal working of HashSet, it internally uses HashMap to store the values as Key in HashMap, then why java introduces HashSet collection at all.

May be I am missing something here can anyone please explain this.
2 years ago
Ajmal, share your wsdl and xsds.
2 years ago
Hi Nek, can you share the wsdl and xsds that you created, also share your webservice code.
2 years ago
Hello All,

Is there any way I can search for a class file lets say `abc.class` in an .ear or .jar file ?

Regards,
Khuzema
3 years ago