310-091

SUN Other Certifications 310-091考試題庫由KillTest認證題庫網資深IT認證講師和SUN Other Certifications產品專家結合PROMETRIC或VUE的真實310-091考試環境最新原題傾心打造。題庫覆蓋了當前最新的真實考題,並且全部附有正確答案,我們承諾題庫對SUN Other Certifications 310-091(Sun Certified Bus.Component Developer Java EE Platform 5)考試原題完整覆蓋。310-091題庫助您輕鬆通過認證考試,一次不過全額退款。

1. Which is a valid PostConstruct method in a messagedriven bean class?
A. @PostConstruct
public boolean init() { return true }
B. @PostConstruct
private static void init() {}
C. @PostConstruct
private void init() {}
D. @PostConstruct
public static void init() {}
Answer:C

2. Given:
11. @Entity public class X {
12. @Id int id
13. Y y
14. }
A public class Y with NO Java Persistence annotations is defined in the same package.
Which statement is correct about these classes if NO other annotations and mapping descriptors are
provided?
A. Class Y must be serializable.
B. Class Y must be marked as an entity.
C. The entity X is not defined correctly.The field y must be marked as @Lob.
D. Class Y must be accessed by a persistence application through a public interface.
Answer:A