Java J2EE Interview Questions and Answers

302 What is meant by TCP, IP, UDP ?
303 What is the difference between TCP and UDP ?
304 What is a proxy server ?
305 What is meant by URL
306 What is a socket and server sockets ?
307 When MalformedURLException and UnknownHost Exception throws ?
308 What is InetAddress ?
309 What is datagram and datagram packets and datagram sockets ?
310 Write the range of multicast socket IP address ?
311 What is meant by a servlet ?
312 What are the types of servlets ? Explain
313 What is the different between a Servlet and a CGI.
314 What is the difference between 2 types of Servlets ?
315 What is the type of method for sending request from HTTP server ?
316 What are the exceptions thrown by Servlets ? Why ?
317 What is the life cycle of a servlet ?
318 What is meant by cookies ?
319 What is HTTP Session ?
320 What is the difference between GET and POST methods ?
321 How can you run a Servlet Program ?
322 How to commuincate between an applet and a servlet ?
323 What is a Servlet-to-Servlet communcation ?
324 What is Session Tracking ?
325 What are the security issues in Servlets ?
326 What is HTTP Tunneling
327 How do you load an image in a Servlet ?
328 What is Servlet Chaining ?
329 What is URL Rewriting ?
330 What is context switching ?
331 What is meant by RMI ?
332 Explain RMI Architecture ?
333 What is meant by a stub ?
334 What is meant by a skelotn ?
335 What is meant by serialisation and deserialisation ?
336 What is meant by RRL ?
337 What is the use of TL ?
338 What is RMI Registry ?
339 What is rmic ?
340 How will you pass parameter in RMI ?
341 What exceptions are thrown by RMI ?
342 What are the steps involved in RMI ?
343 What is meant by bind(), rebind(), unbind() and lookup() methods
344 What are the advanatages of RMI ?
345 What is JNI ?
346 What is Remote Interface ?
347 What class is used to create Server side object ?
348 What class is used to bind the server object with RMI Registry ?
349 What is the use of getWriter method ?
350 What is meant by Javabeans ?
351 What is JAR file ?
352 What is meant by manifest files ?
353 What is Introspection ?
354 What are the steps involved to create a bean ?
355 Say any two properties in Beans ?
356 What is persistence ?
357 What is the use of beaninfo ?
358 What are the interfaces you used in Beans ?
359 What are the classes you used in Beans ?
360 What is Entity Bean and Session Bean ?
361 What are the methods of Entity Bean?
362 How does Stateful Session bean store its state ?
363 Why does Stateless Session bean not store its state even though it has
364 ejbActivate and ejbPassivate ?
365 What are the services provided by the container ?
366 Types of transaction ?
367 What is bean managed transaction ?
368 Why does EJB needs two interface( Home and Remote Interface) ?
369 What are transaction attributes ?
370 What is the difference between Container managed persistent bean and Bean