Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide

- Previous: U
- Next: W

# V

## value

Specifies the value of the entity.

### Superelements

call-property, stub-property (`sun-web.xml`, `sun-ejb-jar.xml`, `sun-application-client.xml`); property (with subelements) (`sun-ejb-jar.xml`)

### Subelements

none - contains data

## victim-selection-policy

Specifies how stateful session beans are selected for passivation. Possible values are First In, First Out (`FIFO`), Least Recently Used (`LRU`), Not Recently Used (`NRU`). The default value is `NRU`, which is actually pseudo-LRU.

Note –

You cannot plug in your own victim selection algorithm.

The victims are generally passivated into a backup store (typically a file system or database). This store is cleaned during startup, and also by a periodic background process that removes idle entries as specified by `removal-timeout-in-seconds`. The backup store is monitored by a background thread (or sweeper thread) to remove unwanted entries.

Applies to stateful session beans.

### Superelements

bean-cache (`sun-ejb-jar.xml`)

### Subelements

none - contains data

### Example

    <victim-selection-policy>LRU</victim-selection-policy>

If both SSL2 and SSL3 are enabled, the server tries SSL3 encryption first. If that fails, the server tries SSL2 encryption. If both SSL2 and SSL3 are enabled for a virtual server, the server tries SSL3 encryption first. If that fails, the server tries SSL2 encryption.

- Previous: U
- Next: W

- © 2010, Oracle Corporation and/or its affiliates