Sri Bala

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

Recent posts by Sri Bala

When does the necessity for using User Transactions with JTA arise when using EJB's.

Thanks in Advance.
Sriram.
Hi,

If I have to use JTA and access different databases eg. oracle and mssqlserver within a single transaction, what all do I need to do?

Thanks in Advance,
Sri.
I have read some articles on Function point analysis and combining it with use cases, mainly from www.softwaremetrics.com. After detailing the use cases, we count the number of function points in that use case and use that for estimation. With this we can come up with the size of the software, but when it comes to effort, there are other activities which may be related or unrelated like team meetings, deployment etc. How do we account for all those? Is there any standard way of doing it?
Hi,
I want to use iiop instead of T3 for looking up the RMI component, "weblogic.common.T3Services". I'm getting OutOfMemory exception while doing so. The code is as below. Does anyone know what the problem is?
Regards,
Sri.
22 years ago
Thanks Peter. I was surprised about the possibility of synchronizing static methods. Though it is not advisable to synchronize on the Class object, it's good to know that it's possible.
Cheers,
Sri.
I found static method being synchronized in another post and I tried it. On what object is the synchronization done?

[This message has been edited by Sri Bala (edited November 25, 2001).]
Does anyone know how to get the performance information in Oracle 9i Application Server? Basically I need the performance information for EJB.
Thanks Jim . I was looking only at "Class" class. Good to know that Constructor.newInstance(arg) solves the problem. Thomas, I think the JavaBeans requiring default constructor should be a standard as invoking a non default constructor using reflection is not very straight forward.
23 years ago
How do I call a constructor with arguments? I don't find any overload for newInstance which takes constructor arguments. I was trying to create an instance using the int argument constructor in the code below.

[This message has been edited by Sri Bala (edited April 07, 2001).]
23 years ago
She'll figure it out on her own when she goes for Certification
23 years ago
Even now, when I start a thread, I get notified immediately. Only when I've replied to someone and they've asked more questions, I don't get notified. Also it's only an option and so no one will receive unsolicited emails.
Sometimes I find an interesting topic and would like to listen to that. There are so many forums and so many topics, with my normal searching, I may miss that. So, I would like to Add myself as a listener so that I get notified when the topic develops and I don't miss the topic. This is just an idea. I understand it's a 3rd party software and we can't do much.
23 years ago
Encapsulation is not just about hiding the data from the user. To be more precise, encapsulation is, "Hiding the implementation details from the user". The user only needs to know to use the object with its interface. A setter method may validate and change the datatype and represent the data internally in a different manner and a getter can decode it and return it to the user. The user need not be bothered about these details.
23 years ago
When I start a topic and someone replies, I get notified, but when I reply for a topic, there's no notify option and I don't have a chance to help them with good response if they have anymore questions. Is there any way I can do this or is it a new feature for enhancement?
23 years ago
The difference between Modal & Modeless windows is that, when a Modal window is opened, you cannot go to any other window in the application till you close it. With modeless, you can open any number of modeless windows, switch between them and use them parallely. I don't think there's any other difference.
23 years ago
For handling events, you need a class to be derived from java.awt.Component right? What if if I want to handle keyboard hit in a simple class, which is going to be derived only from Object? Anything equivalent to getch() in C? I think that's what Jeremy is also asking.
23 years ago