Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I have some questions about this topic

 
Hsu Vawan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[size=18][color=darkred]I saw some questions elsewhere below these, but the orginal answer I felt it's not correct. :(
Can anyone help to provide correct answer??[/color][/size]

Assume a device supports datagrames and a MIDlet has permission to user datagram connections.
Which two are true?(choose two)
A.Push registration can fail if another application has already reserved the connection on the device.
B.Push registration can fail if the allowed sender filter specified is *, which poses a security risk to the device.
C.Push registration can fail because the device does NOT support the use datagram by the PushRegistry.
D.Push registration can fail if there is a push registration confilct, but the user must be prompted as to how to resolve the problem.
[color=green]Awsner:??[/color]
 
Liang Zhu
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[quote=Hsu Vawan][size=18][color=darkred]I saw some questions elsewhere below these, but the orginal answer I felt it's not correct. :(
Can anyone help to provide correct answer??[/color][/size]

Assume a device supports datagrames and a MIDlet has permission to user datagram connections.
Which two are true?(choose two)
A.Push registration can fail if another application has already reserved the connection on the device.
B.Push registration can fail if the allowed sender filter specified is *, which poses a security risk to the device.
C.Push registration can fail because the device does NOT support the use datagram by the PushRegistry.
D.Push registration can fail if there is a push registration confilct, but the user must be prompted as to how to resolve the problem.
[color=green]Awsner:??[/color][/quote]


A and C are correct.
B is wrong because a * filter won't pose security risk to the device.(If if does have security risk, please report to Sun's responsible engineer :) )
D is wrong because the user MUST be prompted for the what has caused the conflict, but not the solution.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic