All > Technology > Programming > Java
A constant value with a significance within a particular context. For instance, the value
12
could mean many different things - the number of hours you have worked today, the number of dollars you are owed by a friend, and so on. As far as possible, such values should be associated with an identifier that clearly expresses their meaning.final int maxSpeed = 50;
If stored in a final variable, it is unlikely that any execution overhead will be incurred by doing so.- Browse Related Terms: Attribute, class constant, class variable, constant, encapsulation, instance variable, local variable, magic number, method variable, model-view pattern, out of scope, overloading, static field, static variable, this, variable
All > Technology > Programming > Java
The starting point for program execution
public static void main(String[] args)
- Browse Related Terms: downcast, immutable object, main method, out-of-bounds value, return type, serialization, string, throws clause
All > Technology > Programming > Java
- A mechanism for defining the characteristics of JavaBeans components used in a JavaServer Faces application.
- Browse Related Terms: application configuration resource file, component (JavaServer Faces technology), JavaServer Faces conversion model, JavaServer Faces navigation model, JavaServer Faces UI component, JavaServer Faces validation model, JSP, managed bean creation facility, render kit, renderer
All > Technology > Programming > Java
A file held in a Java Archive (JAR) file, detailing the contents of the archive.
- Browse Related Terms: append mode, codebase, executable content, filter chain, JAR (Java ARchive) file, manifest file, swizzling, Xalan, XSLTC, zip file
All > Technology > Programming > Java
An interface with no methods.
- Browse Related Terms: behavior, bridging method, class, class body, deprecated, deprecation, field, inner class, interface, local inner class, logical error, marking interface, member, method body, monitor, Object, one-way messaging, overriding, request-response messaging, Return, runtime stack, static
All > Technology > Programming > Java
The members of a class are fields, methods and nested classes.
A field or method of a class. Unless specified otherwise, a member is not static.
Also listed in:
- All > Business > Banking
- All > Business > Finance > Personal Finance > Retirement
- All > Business > Real Estate
All > Technology > Programming > Java
A situation in which memory that is no longer being used has not been returned to the pool of free memory. A garbage collector is designed to return unreferenced objects to the free memory pool in order to avoid memory leaks.
- Browse Related Terms: continuous simulation, critical section, discrete simulation, memory leak, race condition, synchronized statement, white space, XSL-FO
All > Technology > Programming > Java
- In the Java Message Service, an asynchronous request, report, or event that is created, sent, and consumed by an enterprise application and not by a human. It contains vital information needed to coordinate enterprise applications, in the form of precisely formatted data that describes specific business actions.
- Browse Related Terms: connection handshake, Java Message Service (JMS), JavaMail, JMS, JMS application, JMS client, JMS provider, JMS session, message, message consumer, message producer, point-to-point messaging system, Queue, server, SMS (Short Message Service), SOAP, SOAP with Attachments API for Java (SAAJ), WMA (Wireless Messaging API), WSP (Wireless Session Protocol)
Also listed in:
All > Technology > Programming > Java
- An object created by a JMS session that is used for receiving messages sent to a destination.
- Browse Related Terms: connection handshake, Java Message Service (JMS), JavaMail, JMS, JMS application, JMS client, JMS provider, JMS session, message, message consumer, message producer, point-to-point messaging system, Queue, server, SMS (Short Message Service), SOAP, SOAP with Attachments API for Java (SAAJ), WMA (Wireless Messaging API), WSP (Wireless Session Protocol)
All > Technology > Programming > Java
- An enterprise bean that is an asynchronous message consumer. A message-driven bean has no state for a specific client, but its instance variables can contain state across the handling of client messages, including an open database connection and an object reference to an EJB object. A client accesses a message-driven bean by sending messages to the destination for which the bean is a message listener.
- Browse Related Terms: abstract schema name, activation, actor, bean-managed transaction, business logic, business method, caller principal, create method, EJB, EJB context, EJB home object, EJB module, EJB object, finder method, handle, message-driven bean, method permission, Passivation, remote interface, remove method, transaction attribute
All > Technology > Programming > Java
We characterize object interactions as message passing. A client object sends a message to a server object by invoking a method from the server's class. Arguments may be passed with the message, and a result returned by the server.
- Browse Related Terms: base case, class method, direct recursion, indirect recursion, instance method, message passing, mutual recursion, recursion
All > Technology > Programming > Java
- An object created by a JMS session that is used for sending messages to a destination.
- Browse Related Terms: connection handshake, Java Message Service (JMS), JavaMail, JMS, JMS application, JMS client, JMS provider, JMS session, message, message consumer, message producer, point-to-point messaging system, Queue, server, SMS (Short Message Service), SOAP, SOAP with Attachments API for Java (SAAJ), WMA (Wireless Messaging API), WSP (Wireless Session Protocol)
All > Technology > Programming > Java
The part of a class definition that implements some of the behavior of objects of the class. The body of the method contains declarations of local variables and statements to implement the behavior. A method receives input via its arguments, if any, and may return a result if it has not been declared as
void
.A function defined in a class. See also instance method, class method. Unless specified otherwise, a method is not static.
Also listed in:
- All > Law > Forensic Science
- All > Law > Intellectual Property > Patent
- All > Technology > Programming > Perl
All > Technology > Programming > Java
- A JavaServer Faces EL expression that refers to a method of a backing bean. This method performs either event handling, validation, or navigation processing for the UI component whose tag uses the method-binding expression.
- Browse Related Terms: backing bean, binding (JavaServer Faces technology), JavaBeans component, JavaServer Faces event and listener model, JavaServer Faces expression language, JavaServer Faces UI component class, JSP expression language, method-binding expression, value-binding expression
All > Technology > Programming > Java
The body of a method: everything inside the outermost block of a method.
- Browse Related Terms: behavior, bridging method, class, class body, deprecated, deprecation, field, inner class, interface, local inner class, logical error, marking interface, member, method body, monitor, Object, one-way messaging, overriding, request-response messaging, Return, runtime stack, static
All > Technology > Programming > Java
The header of a method, consisting of the method name, its result type, formal arguments and any exceptions thrown. Also known as a method signature.
- Browse Related Terms: actual argument, actual parameter, actual parameter list, anonymous array, anonymous object, argument, call-by-value, command-line argument, constructor, copy constructor, formal argument, formal parameter, formal parameter list, instanceof, method, method header, method overriding, parameter
All > Technology > Programming > Java
Two or more methods with the same name defined within a class are said to be overloaded. This applies to both constructors and other methods. Overloading applies through a class hierarchy, so a sub class might overload a method defined in one of its super classes. It is important to distinguish between an overloaded method and an overridden method. Overloaded methods must be distinguishable in some way from each other; either by having different numbers of arguments, or by the types of those arguments being different. Overridden methods have identical formal arguments.
- Browse Related Terms: class header, method overloading, overriding for breadth, overriding for chaining, overriding for restriction, sub type, super class, super type
All > Technology > Programming > Java
A method defined in a super class may be overridden by a method of the same name defined in a sub class. The two methods must have the same name and number and types of formal arguments. Any checked exception thrown by the sub class version must match the type of one thrown by the super class version, or be a sub class of such an exception. However, the sub class version does not have to throw any exceptions that are thrown by the super class version. It is important to distinguish between method overriding and method overloading. Overloaded methods have the same names, but differ in their formal arguments. See overriding for breadth, overriding for chaining and overriding for restriction.
- Browse Related Terms: actual argument, actual parameter, actual parameter list, anonymous array, anonymous object, argument, call-by-value, command-line argument, constructor, copy constructor, formal argument, formal parameter, formal parameter list, instanceof, method, method header, method overriding, parameter
All > Technology > Programming > Java
- An authorization rule that determines who is permitted to execute one or more enterprise bean methods.
- Browse Related Terms: abstract schema name, activation, actor, bean-managed transaction, business logic, business method, caller principal, create method, EJB, EJB context, EJB home object, EJB module, EJB object, finder method, handle, message-driven bean, method permission, Passivation, remote interface, remove method, transaction attribute
All > Technology > Programming > Java
The value returned from a method via a return statement. The type of the expression in the return statement must match the return type declared in the method header.
- Browse Related Terms: array initializer, carriage return, cascading if-else statement, method result, return statement, return value, statement terminator, try clause, Void