bitesfoki.blogg.se

Advanced java interview questions
Advanced java interview questions







  1. #Advanced java interview questions how to
  2. #Advanced java interview questions install

The JDBC stands for Java Database connectivity and it provides API to connect a database from Java programs. The application server like WebLogic and WebSphere provides the runtime environment for EJB and other advanced services required by Java EE or J2EE specification. The main difference between Web and Application Server comes from the fact that you cannot run EJB on the Web server like Tomcat or Jetty. What is the difference between a Web Server and an Application Server? ( answer) See Java Performance The Definitive Guide By Scott Oaks to learn more about analyzing Java Heap dump.ġ0. You can also use Eclipse Memory Analyzer to analyze the heap dump to find out any memory leak in Java while dealing with OutOfMemoryError in Java. There are many tools to analyze heap dump in Java like you can use the jhat tool which comes along with JDK.

advanced java interview questions

Some of the popular garbage collectors are a Concurrent Mark-Sweep garbage collector and a G1 garbage collector in recent times. It's one of the key components and allows an application developer to focus on application development rather than doing memory management. The garbage collector is a component of the Java virtual machine which is responsible for reclaiming memory from dead objects. See here to learn more about 32-bit and 64-bit JVM.Ĩ. If your program needs more memory, better run it on 64-bit JVM with a large heap space. See here to learn more differences between JVM and JRE.Ī 64-bit JVM virtually has unlimited heap memory as compared to 4GB of the theoretical limit of 32-bit JVM. Applet or Core Java application or Web server like Tomcat.

#Advanced java interview questions install

You install JRE to run Java applications e.g. The JRE stands for Java Runtime Environment and JVM stands for Java Virtual Machine. What is the difference between JVM and JRE? See here to learn more about heap memory in Java.Ģ. your heap cannot grow beyond that and JVM will die by throwing OutOfMemoryError if your heap doesn't have enough space to create new objects.

advanced java interview questions

The -Xms defines the size of the heap when JVM starts up and -Xmx is used to specify the maximum heap size for Java application i.e.

advanced java interview questions

These are parameters to specify heap size in Java.

#Advanced java interview questions how to

These are mostly related to how to run, debug, and upgrade Java applications as Technical support's main job is to run the application, development is done by developers.ġ. Now that you are familiar with some Linux questions from Java interviews, it's time to deep dive into core skills and explores frequently asked Java questions for IT support engineers. Java Interview Questions for IT Support Engineers









Advanced java interview questions