madhu bharathula

Greenhorn
+ Follow
since Oct 08, 2001
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 madhu bharathula

Hi, I am using websphere 6.0 and created message driven beans to handle the messages from MQ. When onMessage() is triggered, I am doing some DB update and am wondering how to handle when the DB is down. The message gets consumed but it missed DB update. I am using bean managed persistence. Can someone help me with how to handle this situation ?

Thanks
Madhu
Hi,
When we try to use the catch block, will there be any difference if we call like catch(Throwable e) or catch(Exception e) ?

Can there be a case where catch(Throwable e) will be called but not catch(Exception e) ?

Thanks
Madhu
14 years ago
Hi,
I have a report where I need to build a complex query with 5-6 tables left and right joins. My question is how to proceed this with EJB ?? Can i write a stateful session bean with one query referring to these tables ?? If i represent one entity bean per table, it is not going to serve my purpose anyway.
Thanks
Madhu
Hi,
Thanks for your reply. For the second question, I was in an impression that if the listener vetoes the change, then the changes cannot be confirmed by the source right. It has to revert back to it's normal value. Is this not true ??
Thanks
Madhu
18 years ago
Hi,
Can any one provide me answers for the following questions which I got in the sample test??
1) VisualAge for Java uses visual connections to:
a) connect features of JavaBeans
b) model JavaBean relations as UML
c) change JavaBean properties based on some event
d) create new bean features

Multiple Select - Please select all of the correct answers (this question has 2 correct choices).
My answers are a and c.

2) Which of the following MUST be done to serialize a bean using the BeanInfo page?
a) Create a custom serialization class and set it to the Customiser property
b) Set the Hidden property to true
c) Set the Hidden-State property to true
d) Set the Expert property to true

Single Select - Please select the best answer (one and only one choice must be selected).

3) Repositories in IBM VisualAge for Java:
a) must reside on a remote server.
b) can store open editions of Classes, Packages and Projects.
c) can store versioned Classes, Packages and Projects.
d) can be used to transfer files between developers.

Multiple Select - Please select all of the correct answers (this question has 3 correct choices).
I am sure c and d are correct. But i am not sure of the remaining.

4) Which of the following contains help for frequently performed tasks in VisualAge for Java?
a) Options
b) Preferences
c) QuickStart
d) Workbench

Single Select - Please select the best answer (one and only one choice must be selected).

5) Which of the following are true while testing servlets:
a) A breakpoint in a doGet method can be made conditional on a parameter?s value in the request object.
b) The WebSphere Test Environment must be stopped and restarted if a servlet is changed to allow the changes to be loaded.
c) A servlet and Java Server Page (JSP) cannot both be tested at the same time.
d) The HTML output of a servlet is directed to the Console Window.
e) A breakpoint in a doPost method can be made conditional on a parameter?s value in the request object.

Multiple Select - Please select all of the correct answers (this question has 2 correct choices).
Thanks
Madhu
Hi,
Can anybody tell me the right answers for the following questions which I got in the sample test ??
18) When promoting JavaBean features in VisualAge, which of the following are true?
a)Other beans can now make connections to the promoted feature
b) It is possible to promote JavaBean properties, methods and events
c) It is common practice to promote all public methods
d) Feature promotion can be performed from the Beans List window in the Composition Editor
we need to choose three right answers.
I know that b and d are correct. But i am confusing between a and c.
2)Constrained Bean properties:
a) fire propertyChanged events before and after the property is modified
b) cannot have changes vetoed by a listener
c) must provide an addVetoableChangeListener() method
d) are also recommended to be bound
Multiple Select - Please select all of the correct answers (this question has 2 correct choices).
Are the answers b and c ??
3) Which of the following MUST be done to serialize a bean using the BeanInfo page?
a) Create a custom serialization class and set it to the Customiser property
b) Set the Hidden property to true
c) Set the Hidden-State property to true
d) Set the Expert property to true
Single Select - Please select the best answer (one and only one choice must be selected).

Thanks
Madhu
18 years ago
Hi,
Can anybody tell me the score we need to get to pass Test 283 (IBM visual age for java)? Though, the test is on visual age for java, i observed in the sample test that there are some questions which are very generic. Can anybody inform me on which topics do we need to prepare ??
Regards
Madhu
18 years ago
Hi,
Some questions on OOAD:
1.When we determine the responsibilities through interaction diagrams, we need to mention the seq. in which that message can be called. If i have a query message, how to do with interaction diagrams ?? The message can be executed in any seq. I know that we can show this as part of activity diagram but i am curious to know is there any way to handle that through interaction diagrams ??
2. When i was going through Fowler's book, i noticed that it was mentioned to display the return from a message with dashed lines in seq. diagram. But when i see the returns from asynchronous messages, it was not dashed. Is it a UML notation that asynchronous message returns should be shown as solid lines ??
3. I noticed that in seq. diagram, messages are indicated as
name()(page 68 of fowler) but on some seq diagrams(page 114), there is no such notation mentioned. It is rather confusing to identify which are messages and which are return values on first glance. Is there any std. notation for this ??

Bye
madhulatha
Hi,
In Larman's book, i found only two kinds of perspectives namely conceptual model and class diagram(i think this is implementation perspective..if i am wrong, please correct me). This is very clear but when i go through fowler's book, i was a bit confused. There will be only one class diagram and the author explained all the three perspectives from the same class diagram. It is very important to know the kind of perspective from which we are viewing to understand the class diagram in any document. My question is how to identify the perspective when we encounter such class diagrams??
Hi,
Thanks for your reply. I got this doubt as the question was really tricky. It just says who are needed when writing use cases but it does not mention any thing like at what stage. We write the essential use cases and then the use cases get updated /added when we draw conceptual model or when we identify any new requirements at later phases.I was assuming like domain expert will update use cases list as part of iteration revisiting the existing use cases.
Hi,
In the assessment test, if the question says 'Please select all of the correct answers', i noticed that most of the time all the answers are correct. How about this in the real exam scenario ?? Some of our friends are informing that we have some questions which says to select all the possible correct answers. Is it like all the answers will be correct in such cases ???
Bye
Madhu
Hi,
Though the answer is posted for this question long time back, i am not really satisfied with the answer. Can anybody give the proper answer for this question?
6)which 2 should be present while writing USe Cases?
a) development team
b) OO Expert
c) domain expert
d) requirements decision maker
In my opinion,
a) needed as they have to understand the requirements and they are the people who have to rank the use cases.
b) oo is nothing to do with use cases.
c) domain expert comes into picture only when identifying the concepts and that step comes only when drawing conceptual diagrams.
d) needed without any doubt.
Hi,
Can any body tell me the right answer for this question ??
To MOST effectively manage teams working on different packages within a large project, which one of the following should be true?
a) One technical lead should control the project details and communicate decisions to the different teams.
b) Type of database ( DB2 UDB, Oracle, Sybase, or InstantDB )
c) The team leads should focus on quality designs for the internals of their packages, mentoring their team members.
d) Communications between the teams should be minimized to reduce overhead burdens while they work on separate, independent use cases for their packages.

b and c can be directly ruled out. As the question says that the project is large with different packages, it might not be efficient for one person to control everything. It appears like it is resulting to low cohesion. The only choice left over is d. Is this right ??
[This message has been edited by madhu bharathula (edited October 22, 2001).]
[This message has been edited by madhu bharathula (edited October 22, 2001).]
Hi,
I have some domain objects and service objects. When drawing an interaction diagram, do we need to show service objects also or can we skip showing service objects in interaction diagram??
For ex, i have a service object called dboperations which provides interface to the required database and provides all the methods needed to interact with the database. I use this object whenever i wanted to make a connection to the database. Whenever a domain object receives a message to get some information, the domain object sends a corresponding message to service object.
Bye
Madhu
Hi,
I just now took the preassessment test for test 486. Can anybody tell me what is the correct answer for the following questions??
1) Valid reasons for grouping classes into the same package are that, the classes:
a)are related by aggregation.
b)are worked on by the same group of developers.
c)are related by specialization.
d)support the same high-level services.
(2 answers are right)

I marked a and c
2)Which of the following are true about software architecture?
a)Two tier software architectures do not scale to as many clients as three+ tier architectures.
b)Two tier architectures lead to more reuse than three+ tier architectures.
c)Thin clients are restricted to GUI parts
d)Technologies such as CORBA, RMI, DCOM, and Servlets allow multiple clients to work with the same server-based business objects.
(1 is right)
I marked a
3)An Observer is a design pattern where dependent objects "register" with another "server" object so that they are notified of changes to the server object. The server object isn't specifically aware of its dependents, but only knows to notify them of changes to its state. Which of the following uses an Observer pattern to maintain the correct separation of model and view in a layered software architecture?
a)GUI components register with business components so that they can update their views when the underlying model objects change.
b) GUI components register with other GUI components so that can be notified of user changes to the state of the system.
c) Business components register with GUI components so that the GUI components know who to ask for updates to their state.
d) Business components register with other business components so that they can enforce business rules based on state change.
(1 is right)
I marked a)
Thanks
Madhu