Srinivas Modekurti

Greenhorn
+ Follow
since Nov 15, 2004
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 Srinivas Modekurti

Hi guys,
I am facing a ttypical issue with usage of threads in my application. I have a singleton object with a method like public List getXXX(List list1). This method is being hit by several threads. The problem is have is that before the method does something useful , some other thread comes along and changes the reference of list1 to a different list. I thought of making this method synchronized, but doing so will make my application of no use. Basically this application splits a big method call in to smaller calls but spawning n number of threads and splitting the list1 parameter accordingly. If I sychronize the method, the final outcome will be much slower than calling the method without any threads.


Any help in this regard will be greatly appreciated.
Our application makes a SOAP call on to an external application to exchange data. We are planning to use Commons Digester to convert the response XML to java objects. Some of the architecture folks have adviced us not to use Digester as it might hit performance. Does any of you have faced such performance issues because Digester heavily relies on reflection to convert XML to java objects.


Thanks
Vasu
Our application makes a SOAP call on to an external application to exchange data. We are planning to use Commons Digester to convert the response XML to java objects. Some of the architecture folks have adviced us not to use Digester as it might hit performance. Does any of you have faced such performance issues because Digester heavily relies on reflection to convert XML to java objects.


Thanks
Vasu
Thanks for your help. I finally found out the problem from Myeclipse forum. I had to add the bin directory of DB2 to the JBOSS server classpath. That has solved everything. I guess this was required for only DB2 but for ORacle and other drivers, I never added anything else to the server classpath....
Yes, I have copied the DB2Java.zip file to jboss-3.2.6\server\default\lib location. Is there any other place that I need to copy the driver on JBOSS ?
Hello all,
I have been having trouble getting Hibernate work in my JBOSS. My hibernate mapping file uses a DB2 jdbc driver to connect to Db2. Everything works great when run in standalone environment. But when I deploy the application on JBOSS, hibernate complains that there is no suitable driver found. I am using myeclipse plugin for eclipse to generate the code.

Any help in this regard will be greatly appreciated....

Vasu
Can anyone explain what is the meaning of fine-grained and coarse-grained objects in the context of EJBs.
Thank you very much. Things are now clear to me.
I am a little curious to know about the bean things that we can do in BMT and CMT demarcations for a stateful session bean.

The thing which is confusing to me is that for a BMT on a stateful session bean, I cannot do sessionCtx.geRollbackonly() andsetRollbackOnly inside an ejbCreate() method. Whereas if I use BMT, I am allowed to get an UserTransaction and call methods on it like getRollbackOnly() in the same ejbCreate() method.

Would appreciate if anyone can throw some light on it....