网友共享的几个面试题关于Java和Unix等方面的
EJB
1. What is the major advantage of a hash table?
2. What are the techniques that you use to handle the collisions in
hash tables?
3. In Unix OS, what is the file server?
4. What is NFS? What is its job?
5. Write a program in any language you choose, to reverse a file.
1. Is “abc” a primitive value?
2. What restrictions are placed on the values of each case of a switch
statement?
3. What modifiers may be used with an interface declaration?
4. What is the difference between a while statement and a do
statement?
5. Can an exception be rethrown?
1. What is the relationship between local interfaces and
container-managed relationships?
2. What is the difference between Message Driven Beans and Stateless
Session beans?
3. What are the benefits of Clustering and workload management?
4. What is a Clone?
5. How JDBC services can be used in clustered environment?

Question 1:
The Major Advantage of Hash table is speed, specially when the there are many entries in it; b. access to the Hashtable is synchronized
What are the benefits of Clustering and workload management?
the benefits of Clustering and workload management is following:
1. System performance, Clustering and workload management can handle much more requests and load compare to a single server
2. Fail over, Clustering and workload management can improve System availability, if one node fails, other nodes can perform as back-ups, the user feels the same
Can an exception be rethrown?
YES
What restrictions are placed on the values of each case of a switch?
Character, Byte, Short, and Integer
What is the difference between a while statement and a do
statement?
The difference between do-while and while is that do-while evaluates its expression at the bottom of the loop instead of the top. Therefore, the statements within the do block are always executed at least once
Is “abc” a primitive value?
NO, String is not primitive type
your english maybe good.