• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaQueries Mock 3 Questions

 
Ajai
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
While taking this mock I came across few questions for which I need help.

Q1:- You have been contracted by movie company to set up online shop to sell movie sets.......Choose the right design features.

Below are few correct answer given ..

1.Use BMT
2. Use Container Managed persistence

I think CMP is a persistence mechanism which can be applicable for (SLSB,SFSB, Entity Beans).In the above answer choices it should only mean Session Beans since we can not have BMT and Entity Beans together.

How is Container Managed/Bean Managed Persistence applicable for Session Beans ?

Q2:- You have been given a jar file signed by 3rd party vendor.A trusted CA has signed the 3rd party�s certifictae. Is it possible to add more classes to the jar file ?

Anser given is yes
I agree with the answer but anyways it will be detected when message digest is compared..am I right here?

Q3:-Which of the below is true about properties class.(Radio button options)
1. To get access to local system resources like files
2. It is used to store Strings

To me first option is also right.

Q4:- Among some answer choices(check box options ) to question was

Point to Point messaging is message queue system .
I checked it as yes...but as per the answer it is no.

Q5:-When would you use Statefull Session Bean with DAO.
Answer states don't use SFSB with DAO...
Why?

Q6:- In another question I had to choose between CMT and BMT in a generic scenario.
I had chosen BMT for fine grain tranacstions but answer states CMT


Q7:- design an application which allows ppl to communicate with each others..using frames and pannels
Should you use applets or applications?
the correct answer is application.
Why and How will this be accomplished with applications (RMI??)


Any thoughts?

thanks.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic