susha pillu

Greenhorn
+ Follow
since Jul 25, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by susha pillu

In brief, the EJB 2.0 specification introduces these new features:
Message-driven beans
1. An improved architecture for container-managed persistence
2. Container-managed relationships for entity beans with container-managed persistence
3. Local interfaces
4. Enterprise JavaBeans Query Language
21 years ago
Hi,
Please let me know the all the steps (if possible, proper document) for the deployment of a JSP in the weblogic 6.1 application sevrer.
Thanks
22 years ago
Hi,
Ternary Operator requires three operands.
The Java language has one ternary operator, ?:, which is a short-hand if-else statement.
Syntax is
expression1 ? expression2 : expression3
The operator is used to mean that if expression1 is true then the value evaluates to expression 2 else it evaluates to expression 3.
It is used to program conditional logic, assign a value to a variable based on one or more boolean decisions.
At the begining it is bit confusing, but it lets you make powerful decisions with a minimal amount of coding.
22 years ago
Hi,
The meaning of some terms is here.
Reference : It is an address of some object
Dereference : You are getting / setting the value of that object.
Now in your case, c is a primitive type data and it is not an object on which you can invoke any method. Hence you are getting that error.
The modified code is
public class CharTest
{
public static void main(String[] args)
{
char c;
String word = "someword";
boolean uppercase;
c = word.charAt(0);
uppercase = Character.isUpperCase(c);
System.out.println("Upercase" + uppercase);
}
}

22 years ago
Binding is related to the object being accessed and when. Now object can be accessed at the compile as well as run time i.e. danamically.
In late binding, no information about the object being accessed is availbale to the application. The info would be provided at run time i.e. dyanamically. However, in early binding the info about the object being accessed is available with the application. Hence early binding is considered to be faster.
Reflection:-
Java reflection is supports dynamic (run time) retrieval of information about classes and data structures by name, and allows for their manipulation within an executing Java program. This feature is extremely powerful and has no equivalent in other conventional languages such as C, C++, Fortran, or Pascal. More info on the sun site.
JavaBeans relies heavily on the reflection API to give application builder tools the capability of assessing the exported properties of JavaBeans components.

22 years ago
Java Virtual Macine;
A Java Virtual Machine translates Java�s platform-independent bytecodes into the native machine code of the target processor and performs dynamic class loading.
Java Runtime Environment:
Now to run any application, a user needs a Java virtual machine, the Java platform core classes, and various support programs and files. This collection of software is known as a runtime environment.
The Java 2 SDK software can serve as a runtime environment. However, you probably can't assume your users have the Java 2 SDK installed.
To solve this problem, Sun provides the Java 2 Runtime Environment. (JRE)
JRE is free and redistributable runtime environment.
Thus JRE contains the Java virtual machine, runtime class libraries, and Java application launcher that are necessary to run programs written in the Java progamming language.
It is not a 'development environment' and does not contain development tools such as compilers or debuggers.
22 years ago
Smitha,
I Java / VB you can not define a variable name at runtime.
And you have tried the same in you code by
Hashtable vec.elementAt(i) = new HashTable();
and using the same for putting these varaibels.
22 years ago
Why
Collection l = new ArrayList();
is allowed but not
List l = new ArrayList();
22 years ago