Tag: web technology

Questions Related to web technology

Converts a serial number to a year

  1. YEAR

  2. YEARS

  3. YEARFRAC

  4. YEARSFRAC


Correct Option: A

Returns the year fraction representing the number of whole days between start_date and end_date

  1. YEARSFRAC

  2. YEAR

  3. YEARFRAC

  4. None of the Above


Correct Option: C

Returns the serial number of a particular time

  1. TIME

  2. NOW

  3. DATE

  4. None of the Above


Correct Option: A

Converts a time in the form of text to a serial number

  1. TIMEVALUES

  2. TIME

  3. STRINGTIME

  4. TIMEVALUE


Correct Option: D

Returns the serial number of today's date

  1. NOW

  2. TODAY

  3. TIME

  4. WEEKDAY


Correct Option: B
  1. A stateful session bean:
  1. Can be shared between multiple clients

  2. Is created when the client invokes create on the Home

  3. Is the most scalable type of bean

  4. None


Correct Option: B

A message-driven bean:

  1. Has a client view

  2. Has a Remote interface

  3. Has a Local interface

  4. Doesn’t feature a Component interface


Correct Option: D

For remote objects Java passes objects

  1. By reference

  2. By object copy

  3. By producing a serialized copy

  4. None


Correct Option: B,C

An entity bean:

  1. Can be shared between multiple clients as long as the entity being shared is the same

  2. No interfaces required

  3. Must have its EJBObject interface

  4. Can't be shared between multiple clients


Correct Option: A,C

When you pass a Remote object to or from a remote method,what is really passed?

  1. The Remote object reference

  2. The Remote object’s stub

  3. A local copy of the remote object

  4. None


Correct Option: B