Global

Home Country Sites Log In Create New Profile Contact SAP

   

SAP Education

SAP Certified Development Associate – Java with SAP NetWeaver 7.0: Sample Exam Questions

1. Web Dynpro for Java Development

Let's assume you add a Web Dynpro custom controller to the list of required controllers for another Web Dynpro controller within the same component. Which parts of the custom controller are then visible to the other Web Dynpro controller? More than one answer is correct.

  • Hook methods False
  • Events True
  • Instance methods True
  • Context True
  • Member variables and methods created between the //@@begin others and //@@end comment markers False

2. Providing and Consuming Web Services

Which of the following statements about Web services are correct? More than one answer is correct.

  • The entities created by the Web service creation wizard can be edited by the developer to adapt the default settings. True
  • J2EE security roles can be used to secure Web service methods. True
  • The transport protocol used for Web service calls (http or https) is assigned within the Web service definition. False
  • Web services only support basic user and password authentication. There is no support for client certificates. False

3. SAP NetWeaver – Development Infrastructure

To restrict access to a development component, access control lists (ACLs) can be created. Which of the following statements about ACLs are correct? More than one answer is correct.

  • Each public part defined on a development component has its own ACL. True
  • Each development component has an ACL that controls the development components that can set a use dependency on it. True
  • If no ACL is set, all development components can create use dependencies. True
  • To grant access to all development components, the wildcard "*" must be added to the ACL. False
  • To all development components which are added to an ACL access is denied. False

4. SAP NetWeaver – Application Server Java System Architecture

Which of the following statements about the enqueue server are correct? More than one answer is correct.

  • Using the enqueue server, API Java applications can explicitly set and release locks on the database. False
  • The enqueue server can be found on the Central Services instance in a Java system. True
  • Every Java system has exactly one enqueue server. True
  • If a Java cluster has multiple instances and SAP Web dispatcher is used for load balancing between these instances, the enqueue server will deliver the system information needed for load balancing to SAP Web dispatcher. False

5. Enterprise JavaBeans

What methods of an entity bean with container-managed persistence can be called using the bean's home interface? More than one answer is correct.

  • Business methods False
  • Create methods True
  • Finder methods True
  • Home methods True
  • Select methods False

6. Servlets and JavaServer Pages

JavaServer Pages (JSPs) can use directives to define global information that influences the translation and execution process of a JSP. Which of the following are JSP directives? More than one answer is correct.

  • Include True
  • Page True
  • Exclude False
  • Import False
  • Taglibrary False
  • Forward False

7. SAP – Java Persistence Framework

Which of the following statements about the JDO implementation of SAP NetWeaver Application Server – Java are correct? More than one answer is correct.

  • To be able to use JDO on SAP NetWeaver Application Server – Java, the tables to be accessed must be maintained in the Java Dictionary. False
  • The JDO implementation of SAP NetWeaver Application Server – Java does not support bidirectional relationships between persistence-capable classes. False
  • For every persistence-capable class, you must provide metadata in XML format which describes the mapping of the class to the database. True
  • When using the SAP JDO Enhancer, the byte code of the persistence-capable classes is modified. True

8. Java Message Service

Which of the following statements about Java Message Service (JMS) queues and JMS topics are correct? More than one answer is correct.

  • Queues are always durable. True
  • Topics are always durable. False
  • Topics are by default non-durable, but you may set up durable subscription. True
  • Queues are by default non-durable, but you may set up durable subscription. False
  • Topics are by default durable, but you may set up subscription of type non-durable. False
  • Queues are by default durable, but you may set up subscription of type non-durable. False

9. SAP – Java Connector JCo RFC Provider Service

Assume you are using the JCo RFC Provider service to set up ABAP to Java communication and you are calling a function module with name "MY_FUNCTION_MODULE" from the ABAP side. The JCo RFC Provider service looks for an enterprise bean to handle this call. How is this specific bean identified by the JCo RFC Provider service? Only one answer is correct.

  • The JCo RFC Provider service looks for an enterprise bean whose EJB name (as specified in ejb-jar.xml) is "MY_FUNCTION_MODULE". False
  • The JCo RFC Provider service looks for an enterprise bean whose bean class has the name "MY_FUNCTION_MODULE". False
  • The JCo RFC Provider service looks for an enterprise bean whose JNDI name is "MY_FUNCTION_MODULE". True
  • The JCo RFC Provider service looks for an enterprise bean whose remote component interface has the name "MY_FUNCTION_MODULE". False
  • The JCo RFC Provider service looks for an enterprise bean whose remote home interface has the name "MY_FUNCTION_MODULE". False

10. SAP – Enterprise Connector

Which of the following statements about the SAP enterprise connector are correct? More than one answer is correct.

  • The SAP enterprise connector can only be used in J2EE applications. False
  • The SAP enterprise connector uses the Remote Function Call (RFC) protocol for communication between Java and ABAP. True
  • The SAP enterprise connector supports connection pooling. True
  • The proxies generated by the SAP enterprise connector are adapted automatically at runtime if the interface of the corresponding function module has changed. False

Want to learn more? Contact SAP for more information.

Save
Share OptionsShare
Investors  Careers  Inside Access  Contact SAP
Copyright/Trademark  Privacy  Impressum  Using SAP.com  Text-Only View  Print View

Questions or comments about the Web site?
Contact the webmaster@sap.com.