QUESTION 1
A system exception is one that indicates that the business method of an EJB was prevented from
successfully executing because of some system-level error. Which of these statements is true about a system exception?
A. It is a subclass of RemoteException or RuntimeException
B. It is propagated to clients as a RemoteException
C. It is caught and logged by the container
D. All of the above
Answer: D
QUESTION 2
What is the command to create a new web application archive (.war) file?
A. jar -Mvf someArchive.war *
B. jar -tvf someArchive.war *
C. jar -vf someArchive.war *
D. jar -cvf someArchive.war *
Answer: D
QUESTION 3
If cookies are disabled on the client browser, which of these methods on the HttpServletResponse object can help in rewriting the URL with a session ID?
A. session.encodeURL()
B. session.writeURL()
C. session.encodeSessionIDinURL()
D. session.encodeSessionID()
Answer: A
QUESTION 4
Consider the following code snippet.
Context ctx = new InitialContext(); DataSource ds = (DataSource)ctx.lookup(“SomeDatasource”);
Which of these statements gets a JDBC connection successfully?
A. Connection con = ds.createConnection();
B. Connection con = ds.getConnection();
C. Connection con = ds.retrieveConnection();
D. Connection con = ctx.getConnection();
Answer: B
QUESTION 5
Entity bean activation involves
A. EJB Container providing a primary key identity to a pooled EJB
B. EJB Container moves an EJB from secondary storage to main memory
C. EJB Container creates a new EJB instance and adds to the active pool
D. None of the above
Answer: A
Actualkey Oracle WebLogic 1z0-109 exam pdf, Certkingdom Oracle WebLogic 1z0-109 PDF
Best Oracle WebLogic 1z0-109 Certification, Oracle WebLogic 1z0-109 Training at certkingdom.com