Kamal Kishore

Greenhorn
+ Follow
since Sep 13, 2001
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 Kamal Kishore

Can somebody give me an idea about How to do screen scraping with Java.
We have a project that involves Enterprise Application Integration with Web Interface with a limitation to use Screen scraping. The mainframe emulator displays the Green Screen and data needs to be captured from this screen with Screen Scraping using Java.
20 years ago
Yes ! This is similar to
<%out.println(-2);%>
Kamal
The output "10,0,20" is justified.
In this whole flow, two objects of ValHold() have been created
one in amethod() - object1(say)
and one in another() - object2(say)
Now in total there are three references(handles) to these two objects.
1. reference v in amethod() - pointing to object1
2. reference v in another() - intially pointing to object1, and afterward pointing to object2
3. reference vh in another() - pointing to object2
Now let's see how the flow goes :
amthod() execution
1. object1 is created and modified with new i value of 30 with handle v
another() execution
2. reference v of another() method modifies object1 with i = 20
3. object2 is created with default value of i=10
4. refernce v of another() points to object2 now
5. i value of object2 is printed (which is 10)
6. local variable i is printed (which is 0)
amethod()
7. reference v of amethod() is still pointing to object1 whose current i value is 20
i value of object1 is printed (which is 20)
Conclusion:
Java does manipulate objects by reference, and all object variables are references.
However, Java doesn't pass method arguments by reference; it passes them by value.
hope that helps !
Kamal
Hi All,
The scenerio here is
JSP - Session Bean - Entity Bean - Oracle database
Application Server - Websphere
I am getting CORBA.TRANSACTION_ROLLEDBACK exception when the CMP entity bean is interacting with database.
This exception is being thrown whenever there is an error in database side while inserting or updating the data through Entity Beans.
My question is how to trap the specific database error in EJB client wherein I am always getting TRANSACTION_ROLLEDBACK exception which doesn't specify the exact error.
Thanks in advance for reply.
Kamal
22 years ago