• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

ICE 287 answers for WebSphere 5.0

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
39. The following are all true about Message Listener ports configured in the application server to support message-driven beans EXCEPT:
A. The same listener port can be used for more than one message-driven bean.
B. The listener port is bound to a specific JMS provider and a specific queue or topic managed by that JMS provider.
C. Listener ports can be configured to be started explicitly or automatically started when the Application Server starts.
D. Listener ports will ignore any messages posted to the queue or topic for which they are configured prior to being started.
Still thinking about this. Any idea?

[ March 16, 2004: Message edited by: Brycex Lin ]
 
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, XH Lin,
what is your reasoning for this question? Why are you confused with it?
 
author
Posts: 361
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Gentlemen:
I suggest that you read the Help that comes with WebSphere Studio Application Developer. Then let me know if you are still confused.
Regards,
 
Serge Adzinets
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
XH Lin,
Howard is right, the question is fairly easy and not worth discussion
Just look how listener ports are configured in WSAD and you'll get it...
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Serge Adzinets:
Hi,
I'm in doubt about this question:
9. When setting up the JMS server, in a test environment which is already running message-driven beans (MDB), which of the following properties MUST be configured to correctly communicate messages to a new MDB?
A. Queue JNDI name
B. Initial state to: Started
C. Queue name
D. Connection factory JNDI name
E. Listener port name
Select 2 answers.
Answer A is obviously wrong, E seems to be wrong too, because you set up the listener port in the DD, not in the test environment.
But, you should specify both names and jndi names for both queue and connection factory. So, A, C and D are all correct
Could you show me my mistake?
[ February 09, 2004: Message edited by: Serge Adzinets ]


In JMS Server Properties we have only:
Name, Description, Number of Threads, Queue names, Host, Port and Initial State.
So my answer is B and C
 
Bricex Lin
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm in doubt about this question:
9. When setting up the JMS server, in a test environment which is already running message-driven beans (MDB), which of the following properties MUST be configured to correctly communicate messages to a new MDB?
A. Queue JNDI name
B. Initial state to: Started
C. Queue name
D. Connection factory JNDI name
E. Listener port name
Select 2 answers.
Answer A is obviously wrong, E seems to be wrong too, because you set up the listener port in the DD, not in the test environment.
But, you should specify both names and jndi names for both queue and connection factory. So, A, C and D are all correct
Could you show me my mistake?
[ February 09, 2004: Message edited by: Serge Adzinets ]
----------------------------------------------------------------------
B and E are correct answers. Because the JMS server is already running MDBs, so at lest a Connection Factory and a Destination (A, C and D) must have been defined.
[ March 11, 2004: Message edited by: BL ]
 
Bricex Lin
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
23. Deployment descriptorSession
bean White: security-identity use-caller-id
entitySession bean Black: security-identity run-as roleC
Entity bean Blue: nothing specified
Entity bean Yellow: nothing specified
Entity bean Green: nothing specified
Assembly-descriptor
security-role roleA
security-role roleB
security-role roleC
method-permission
roleA White <method-name>*</method-name>
Blue <method-name>*</method-name>
Yellow <method-name>*</method-name>
roleB White <method-name>*</method-name>
Black <method-name>*</method-name>
Yellow <method-name>*</method-name>
roleC Blue <method-name>*</method-name>
Green <method-name>*</method-name>
Which of the following statements are TRUE regarding this deployment descriptor?
A. A client under the identity of roleA can invoke Blue and Yellow through White.
B. A client under the identity of roleA can invoke Blue and Yellow through Black.
C. A client under the identity of roleB can invoke Yellow and Green through White.
D. A client under the identity of roleB can invoke Blue and Green through Black.
E. A client under the identity of roleB can invoke Yellow and Green through Black.

I think the correct answer should be A and D.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Nobody has questions about 287?
I have a question about Q23.

quote:
--------------------------------------------------------------------------------
23. Deployment descriptorSession
bean White: security-identity use-caller-id
entitySession bean Black: security-identity run-as roleC
Entity bean Blue: nothing specified
Entity bean Yellow: nothing specified
Entity bean Green: nothing specified
Assembly-descriptor
security-role roleA
security-role roleB
security-role roleC
method-permission
roleA White <method-name>*</method-name>
Blue <method-name>*</method-name>
Yellow <method-name>*</method-name>
roleB White <method-name>*</method-name>
Black <method-name>*</method-name>
Yellow <method-name>*</method-name>
roleC Blue <method-name>*</method-name>
Green <method-name>*</method-name>
Which of the following statements are TRUE regarding this deployment descriptor?
A. A client under the identity of roleA can invoke Blue and Yellow through White.
B. A client under the identity of roleA can invoke Blue and Yellow through Black.
C. A client under the identity of roleB can invoke Yellow and Green through White.
D. A client under the identity of roleB can invoke Blue and Green through Black.
E. A client under the identity of roleB can invoke Yellow and Green through Black.
ANS :-b,d

--------------------------------------------------------------------------------

B. A client under the identity of roleA can invoke Blue and Yellow through Black.
Since Black is not on the method permission list of Role A, How can role A invoke Blue and Yellow through Black?
Thx,
 
Serge Adzinets
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Right Andrew, it can't.
B is not the correct choice.
 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I respectfully disagree with Howard K. on the subject of question 44.
He says stateful session beans don't scale well.
I'd say passivation solves the scalability problem.
I agree with R Pro.
[ December 31, 2004: Message edited by: Nobuhiro Watsuki ]
 
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,


I'm in doubt about this question:
9. When setting up the JMS server, in a test environment which is already running message-driven beans (MDB), which of the following properties MUST be configured to correctly communicate messages to a new MDB?
A. Queue JNDI name
B. Initial state to: Started
C. Queue name
D. Connection factory JNDI name
E. Listener port name

Select 2 answers.

Answer A is obviously wrong, E seems to be wrong too, because you set up the listener port in the DD, not in the test environment.
But, you should specify both names and jndi names for both queue and connection factory. So, A, C and D are all correct

Could you show me my mistake?



I disagree with all the responses given to this question for the moment.
1�) First, it is not correct to say that you set up the listener port in the DD, not in the test environment.
Indeed, declaring the listener port for a message driven bean will give you the following informations in the META-INF/ibm-ejb-jar-bnd.xmi file:



you obviously see the problem: there's no information about JNDI names of QueueConnectionFactory or Queue destination used by the MDB. That's why you MUST configure this property during application installation (step 2) or when deploying the MDB module in the server via the Administration Console via Application Servers -> Your server -> Message Listener Service > Listener ports. So answer E is definitely a correct one.

2�) spec EJB2.0 �15.4.9 p.317 Association of a message-driven-bean with a destination:

The Deployer should avoid associating more than one message-driven beanwith the same JMS Queue. If there are multiple JMS consumers for a queue, JMS doesn't define how messages are distributed between the queue receivers

.

Which means for us that during configuration of our Listener Port, a new JNDI name for the JMS destination MUST also be provided (the same JNDi name for the Queue Connection Factory may be filled in the wizzard). So A is also correct.

3�)B is not correct sine the server is alredy running for other beans.
C may be correct but as we are required to provide only two responses, this one is NOT NECESSARY beacause the name of the Queue Destination may alreday have been filled in server DD inside WSAD, which is not the case for responses A and E.

Regards,
Cyril.
 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Howard,

I understand that you may be quite busy, but I think if you could help to give correct answers to all the questions would be a great help for all of us to learn. I got your book for this exam, however, I won't be sure my answers of all the questions without your assurance.

Please give us the answers and reasons behind the answers so that we can learn from you.

Thanks in advance,
 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what is ICE 287?? is it IBM certification Text 287??
 
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

what is ICE 287?? is it IBM certification Text 287??


A sample test offered by IBM for the test 287. You can taste the level of difficulty and style of the real exam.

In addition, please try to post in a seperate post because it makes people easier to follow up.

Nick
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic