aspose file tools*
The moose likes Product and Other Certifications and the fly likes ICE 287  answers for WebSphere 5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "ICE 287  answers for WebSphere 5.0" Watch "ICE 287  answers for WebSphere 5.0" New topic
Author

ICE 287 answers for WebSphere 5.0

Bricex Lin
Greenhorn

Joined: Feb 06, 2004
Posts: 17
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 ]
Serge Adzinets
Ranch Hand

Joined: Nov 26, 2002
Posts: 166
Hi, XH Lin,
what is your reasoning for this question? Why are you confused with it?


Best Regards,<br />Serge
Howard Kushner
author
Ranch Hand

Joined: Sep 19, 2003
Posts: 361
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,


Howard Kushner<br />IBM Certified Enterprise Developer - WebSphere Studio Application Developer V5.0<br />IBM Certified Advanced System Administrator - WebSphere Application Server V5.0<br />IBM Certified Solution Developer - Web Services with WebSphere Studio V5.1<br /><a href="http://www.amazon.com/exec/obidos/tg/detail/-/1931182108/" target="_blank" rel="nofollow">Developing J2EE Applications with WebSphere Studio</a> my Certification Study Guide for IBM Test 287
Serge Adzinets
Ranch Hand

Joined: Nov 26, 2002
Posts: 166
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...
Luigui Paredes
Greenhorn

Joined: Mar 11, 2004
Posts: 6
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


Regards<br /> <br />--------------<br />Luigui Paredes<br />IBM Certified Specialist - IBM WebSphere Application Server V3<br />IBM Certified Specialist - IBM WebSphere Application Server V4(158)<br />Enterprise Application Development with IBM WebSphere Studio, V5.0(287)<br />Enterprise Connectivity with J2EE V1.3(484)<br />Application Development with IBM WebSphere Studio, V5.0(286)
Bricex Lin
Greenhorn

Joined: Feb 06, 2004
Posts: 17
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

Joined: Feb 06, 2004
Posts: 17
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.
andrew newborn
Greenhorn

Joined: Mar 31, 2004
Posts: 2
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

Joined: Nov 26, 2002
Posts: 166
Right Andrew, it can't.
B is not the correct choice.
Nobuhiro Watsuki
Ranch Hand

Joined: May 07, 2004
Posts: 81
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 ]

SCJP, SCMAD, SCWCD, SCBCD, CCIE (written), IBM 287<a href="http://hollandiahaven.blogspot.com/" target="_blank" rel="nofollow">.</a>
cyril vidal
Ranch Hand

Joined: Jul 02, 2003
Posts: 247
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.


SCJP 1.4, SCWCD, SCBCD, IBM XML, IBM Websphere 285, IBM Websphere 287
John Liang
Greenhorn

Joined: Sep 17, 2003
Posts: 29
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,


=====================================<br />John Liang<br />SCJP2 1.4, SCWCD, SCBCD<br />Working on: WebLogic Architect, IBM Certified Enterprise Developer and Sun Certified Enterprise Architect
vishwa venkat
Ranch Hand

Joined: Nov 22, 2003
Posts: 185
what is ICE 287?? is it IBM certification Text 287??
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
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


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ICE 287 answers for WebSphere 5.0