- What are the differences between a List and a Set?
- What are value objects and how are they used with EJBs?
- How do you code a Singleton in Java?
- Diffrence between JRE And JVM AND JDK
- What's a dynamic proxy class?
- When should you call SwingUtilities.invokeLater()?
- What are the differences between a Session Bean and an Entity Bean?
- How do you read an XML file in Java?
- Give an example of the Decorator pattern in the Java API.
- Difference between an abstract class and interface
- Inner classes
- Difference between an inner class and a normal class
- What is Entity Bean and Session Bean ?
- What are the methods of Entity Bean?
- How does Stateful Session bean store its state ?
- Why does Stateless Session bean not store its state even though it has ejbActivate and ejbPassivate ?
- What are the services provided by the container ?
- Types of transaction ?
- What is bean managed transaction ?
- Why does EJB needs two interface( Home and Remote Interface) ?
- What are transaction attributes ?
- What is the difference between Container managed persistent bean and Bean managed persistent entity bean ?
- What is J2EE ?
- What is JTS ?
- How many entity beans used and how many tables can u use in EJB project ?
- What is scalable,portability in J2EE?
- What is Connection pooling?Is it advantageous?
- Method and class used for Connection pooling ?
- How to deploy in J2EE(i.e Jar,War file) ?
- How is entity bean created using Container managed entity bean ?
- Sotware architechture of EJB ?
- In Entity bean will the create method in EJB home and ejbCreate in Entity bean have the same parameters ?
- What methods do u use in Servlet - Applet communication ?
- What are the types of Servlet ?
- Difference between HttpServlet and Generic Servlets ?
- Difference between doGet and doPost ?
- What are the methods in HttpServlet?
- What are the types of SessionTracking?
- What is Cookie ? Why is Cookie used ?
- If my browser does not support Cookie,and my server sends a cookie instance What will happen ?
- Why do u use Session Tracking in HttpServlet ?
- Can u use javaScript in Servlets ?
- What is the capacity the doGet can send to the server ?
- What are the type of protocols used in HttpServlet ?
- Difference between TCP/IP and IP protocol ?
- Why do you use UniCastRemoteObject in RMI ?
- How many interfaces are used in RMI?
- Can Rmi registry be written in the code, without having to write it in the command prompt and if yes where?
- Why is Socket used ?
- What are the types of JDBC drivers ?
- Explain the third driver(Native protocol driver) ?
- Which among the four driver is pure Java driver ?
- What are the Isolation level in JDBC transaction ?
- How do you connect with the database ?
- How do you connect without the Class.forName (" ") ?
- What does Class.forName return ?
- What are the types of statement ?
- Why is preparedStatement,CallableStatement used for?
- In real time project which driver did u use ?
- Difference between AWT and Swing compenents ?
- Is there any heavy weight component in Swings ?
- Can the Swing application if you upload in net, be compatible with your browser?
- What should you do get your browser compatible with swing components?
- What are the methods in Applet ?
- When is init(),start() called ?
- When you navigate from one applet to another what are the methods called ?
- What is the difference between Trusted and Untrusted Applet ?
- What is Exception ?
- What are the ways you can handle exception ?
- When is try,catch block used ?
- What is finally method in Exceptions ?
- What are the types of access modifiers ?
- What is protected and friendly ?
- What are the other modifiers ?
- Is synchronised modifier ?
- What is meant by polymorphism ?
- What is inheritance ?
- What is method Overloading ? What is this in OOPS ?
- What is method Overriding ? What is it in OOPS ?
- Does java support multi dimensional arrays ?
- Is multiple inheritance used in Java ?
- How do you send a message to the browser in JavaScript ?
- Does javascript support multidimensional arrays ?
- Why is XML used mainly?
- Do use coding for database connectivity in XML?
- What is DTD ?
- Is there any tool in java that can create reports ?
- Explain protected vs private vs public data members and methods?
- Explain overloading and overriding?
- What is polymorphism?
- What is inheritance?
- What is encapsulation?
- Give an example of where you might use a static method?
- Explain up casting and down casting?
- What is an abstract class?
- Explain multiple inheritance and interfaces?
- If you have a tree of derived classes, what order are the constructors run
- How do you deal with errors?
- What is a ClassLoader?
- How are ClassLoaders used, when and why?
- What is a fully qualified class name?
- What is the classpath, and how does it relate to classloaders?
- When does the JVM invoke a classloader?
- When invoked, how does a classloader handle the loading of a class?
- Can you pass classes between classloader, why/whynot?
- What is a ClassDefNotFoundError?
- What is a ClassCastException?
- What is a CircularityError?
- How are classes stored in the JVM?
- Can CORBA be integrated with XML?
- can I make my site completely safe by running the server in a "chroot" envirinment?
- Whats the "chroot" environment?
- How can I detect if my site's been broken into?
- what types of access restrictions are avilable?
- Isn't there a CGI Script to allow users to change their passwords online?
- What are: SSL, SHTTP, Shen? and Cybercash, SET and Open Market?
- Are there any "freeware" secure services?
- Can I use Personal Certificates to control server access?
- What are Perl taint checks? How do I turn them On?
- How do I untaint a variable?
- How can you push data from an Applet to Servlet ?
- How you can know about drivers and database information ?
- If you are truncated using JDBC, How can you know ..that how much data is truncated ?
- And What situation , each of the 4 drivers used ?
- In RMI, server object first loaded into the memory and then the stub reference is sent to the client ? or whether a stub reference is directly sent to the client ? Suppose server object is not loaded into the memory, and the client request for it , what will happen?
- Can you load the server object dynamically? If so, what are the major 3 steps involved in it ?
- What is difference RMI registry and OSAgent ?
- What is the corresponding Layout for Card in Swing ?
- What is light weight component ?
- Can you run the product development on all operating systems ?
- What is difference in between Java Class and Bean ?
- Can we send object using Sockets ?
- How to communicate 2 threads each other ?
- What are the files generated after using IDL to Java Compilet ?
- Can I modify an object in CORBA ?
- What is the functionality stubs and skeletons ?
- What is the mapping mechanism used by Java to identify IDL language ?
- Suppose If we have variable ' I ' in run method, If I can create one or more thread each thread will occupy a separate copy or same variable will be shared ?
- In servlets, we are having a web page that is invoking servlets username and password ? which is cheks in the database ? Suppose the second page also If we want to verify the same information whethe it will connect to the database or it will be used previous information?
- What are session variable in Servlets ?
- How will you pass parameters in RMI ? Why u serialize?
- What is the exact difference in between Unicast and Multicast object ? Where we will use ?
- What is the main functionality of the Remote Reference Layer ?
- How do you download stubs from a Remote place ?
- I want to store more than 10 objects in a remote server ? Which methodology will follow ? What is meant by Session ? Tell me something about HTTPSession Class ?
- Have you used threads in Servelet ?
- How do you sing an Applet ?
- In a Container there are 5 components. I want to display the all the components names, how will you do that one ?
- Why there are some null interface in java ? What does it mean ? Give me some null interfaces in JAVA ?
- Tell me the latest versions in JAVA related areas ?
- What is meant by class loader ? How many types are there? When will we use them ?
- How do you load an Image in a Servlet ?
- What is meant by flickering ?
- What is meant by distributed Application ? Why we are using that in our applications ?
- What is the functionality of the stub ?
- What is the latest version of JDBC ? What are the new features are added in that ?
- What is the role of the webserver ?
- What is meant by cookies ? Explain ?
- How OOPS concept is achieved in Java
- How does Java 2.0 differ from Java 1.0
- What are command line arguments
- Wrapper class. Is String a Wrapper Class
- What are the restriction for static method
- Purpose of the file class
Wednesday, May 24, 2006
Java Interview Questions
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment