Tag: web technology

Questions Related to web technology

How do define an Array Collection ?

  1. private var arrC :ArrayCollection = new ArrayCollection([{label:"abc"},{label:"def"}]);

  2. private var arrC :ArrayCollection =([{label:"abc"},{label:"def"}]);

  3. private var arrC :ArrayCollection = new ArrayCollection([{"abc"},{"def"}]);

  4. private var arrC :ArrayCollection = new ArrayCollection({label:"abc"},{label:"def"});


Correct Option: A

Which tag nested inside the WebService tag block should you use


Correct Option: C

In which configuration file, you have to add an entry to exclude files with Particular regular expressions.

  1. odnodes configuration file

  2. odbase configuration file

  3. Deployment configuration file

  4. deploy.cfg configuration file


Correct Option: C

how much memory is allocated for a? List a = new ArrayList();

  1. 0

  2. 10

  3. null

  4. 1


Correct Option: B

OAApplicationModule and OAApplicationModuleImpl are??

  1. Both are Interfaces

  2. Both are Classes

  3. OAApplicationModule is a class and OAApplicationModuleImpl is an interface

  4. OAApplicationModule is an interface and OAApplicationModuleImpl is a class


Correct Option: D

Java EE is a

  1. Framework

  2. Language

  3. Compiler

  4. Specification


Correct Option: D

In EJB3, Entity column has been mapped by

  1. Annotation

  2. XML

  3. HTML

  4. None of the above


Correct Option: A

Java Persistence API(JPA) is used in

  1. View Layer/Presentation Layer

  2. Java Bean

  3. Controller

  4. Model Layer


Correct Option: D