1Z0-895 무료 덤프문제 온라인 액세스

시험코드:1Z0-895
시험이름:Java EE 6 Enterprise JavaBeans Developer Certified Expert
인증사:Oracle
무료 덤프 문항수:90
업로드 날짜:2026-09-05
평점
100%

문제 1

Assume a client will be accessing a Singleton bean.
Which client views is a Singleton bean capable of exposing? (Choose two)

문제 2

A stateful session bean contains a number of instance variables. The types of instance variables A and B are serializable. Instance variable B is a complex type which is populated by many business calls, and can, therefore, not be refilled by the client without starting all over. A helper instance variable C is defined as having a Serializable type, and can hold all the information which is in variable B.
for example, B is of type XML-DOM tree and C of Type String.
Which two solutions, when combined, maintain the state of the session bean over a passivation and activation by the container? (Choose two.)

문제 3

Assume you have been tasked with building an ejb-jar containing an EJB application. The EJB application contains local, remote, and web service end-point EJBs that provide reusable sevices within an enterprise. When the application is deployed, client will access the remote session beans using the global JNDI name java:ServiceLayer/<bean_name>. All of the EJBs are located in the com.acme.sevicelayer package and are deployed as class files. The application uses a mixture of deployment descriptor and annotation configuration.
Which JAR representation best represents deployed structure for the previous requirements?

문제 4

A developer writes a stateless session bean FooBean with one remote business interface FooRemote containing one business method foo. Method foo takes a single parameter of application-defined type MyData.
11.
public class MyData implements java.io.Serialization {
12.
int a;
13.
}
Methods foo is implemented with the FooBean class as:
11.
public void foo (MyData data) {
12.
data.a = 2;
13.
}
Another session bean within the same application has a reference to FooRemote in variable fooRef and calls method foo with the following code:
11.
MyData data = new MyData();
12.
data.a = 1;
13.
fooRef.foo(data);
14.
System.out.printIn(data.a);
What is the value of data.a when control reaches Line 14 of the client?

문제 5

Given the following client-side code that makes use of the session bean Foo:
10. @EJB Foo bean1;
12. @EJB Foo bean2;
// more code here
20.
boolean test1 = beanl.equals(bean1);
21.
boolean test2 = beanl.equals(bean2) ;
Which three statements are true? (Choose three)

댓글 추가

귀하의 메일주소는 공개되지 않습니다. 필수 입력 사항은 표시되어 있습니다. *

insert code
그림의 인증번호를 입력하세요.