What do you understand by the term JBoss and Jbpm?
JBoss: JBoss refers to an open-source application server. It is purely based on JEE technology.JBoss provides its extensive support to the cross-platform java applications. JBoss is designed and developed such that it is embedded with Apache Tomcat Web Server. It is flexible to work around any Java Virtual Machine. JBoss provides its extensive support to JNDI, Servlet/JSP, EJB, Clustering, Web Services, and IIOP Integration.
What's the difference between Standalone mode and Domain mode?
Standalone mode: Standalone mode in JBoss is referred to as a single Java Virtual Machine process in which every JBoss server maintains its configuration. If you would like to use only one JVM or development environment, then the standalone mode is the best model to work on.
Domain mode: Domain mode includes multiple servers in the configuration management, is done in a centralized way, and is most commonly used in the production environment.
Do you think it is possible to put a JBoss server instance into multiple clusters at the same time?
Yes, it is technically possible to put a JBoss server instance into multiple clusters simultaneously. This process is generally not recommended or suggested as it increases the complexity level of management.
Which component handles cluster communication in JBoss?
JBoss includes a JGroups Framework framework that provides its service to enable the peer-peer communications between the different nodes available in a cluster. This framework is built on the top of a stack of a network communication protocol. It provides services like transportation, discovery, reliability, failure detection, cluster management services, etc.
What do you think will happen if the Domain controller fails to work?
Domain Controller failure leads to problems in Domain configuration. If there is a failure in Domain Controller, it is not possible to perform the domain configuration management. One more plus is that though the domain controller fails, the single nodes' applications are preserved. It is also possible to choose a backup domain controller server using the below snippet code.
What is the process to perform the monitoring and detection of the bottleneck of an application?
There are different components that need to be measured in an application. The primary step is to find out where exactly the degradation is, whether it is internal or external, where exactly the application is spending all the time.The usage of the JBoss JMX agents and monitoring of the components deployed to the application server represents the first step. Jbprobe, a specialized tool, is used for examining the single object or the objects loaded in the memory. This is possible after finding the time spent by most of the components or libraries or most of the resources.
Briefly list out the differences between validate-on-match and background-validation? Can you use both of them?
The Validate-on-match option is used for the validation of the database connection every time. If the validate-on-match option is set to true, it is validated and checked out from the connection pool by utilizing the validation mechanisms specified in the next step.
The background-validation option fires a background validation as dictated by the background-validation-millis. It is not possible to apply both of them. They are found to be mutually exclusive.
How is it possible to increase Java Heap Memory in JBoss 7?
It is possible to increase Java heap memory in a separate conf file. To improve memory for standalone;
- Navigate to the bin folder
- Edit the standalone.conf file and look for "JAVA_OPTS=" argument line
- The default configuration will have a minimum of 64 MB and a maximum of 512 MB. You can increase to the desired value.
How To Install Jboss On Linux Server?
Installation of JBoss is effortless and straightforward. All you need to do is download the desired version from the JBoss official download page in zipping or gz format.
Once the desired version is downloaded, extract the file to the location you want to install. If you downloaded the zip format, then you can use the unzip command to remove it.
What's the default port to access the Administration Console in JBoss 7?
9990 is the default port. If it's installed on server1, then you need to access like:
http://server1:9990/admin-console