
Best JBPM Interview Questions and Answers [LEARN NOW]
Last updated on 09th Nov 2021, Blog, Interview Questions
This is a list of top JBPM interview questions asked by top enterprises to help you clear your JPBM job interview. Here you will learn different aspects of JBPM for software & management streams, the process of business process management, goals of business process management, jBPM graphical process designer and more. Learn JBPM from ACTE JBPM training and excel in your career.
1. What Is Bpm?
Ans:
BPM stands for Business Process Management. There are 2 different aspects of BPM: BPM as a management discipline and BPM as software engineering. The BPM vendors have a long time tried to make an abstraction of those 2 distinct aspects. That path leads to more confusion than anything else.BPM as a management discipline is the responsibility of every strategic executive manager. It’s to ensure that the organization performs well in their core business processes. This involves understanding what values the organization delivers and how those are achieved. This means analyzing, documenting and improving the way that people and systems work together. As part of that work, it’s useful to work with models and diagrams. BPMN diagrams express the execution flow of the steps to accomplish a certain goal. Important to note that these models are used for people to people communication. They can be underspecified, which means that they can contain valuable high-level information without including unnecessary details. Such underspecified process models are also known as abstract business processes.
2. What Is Jbpm?
Ans:
jBPM is a flexible Business Process Management (BPM) Suite. It makes the bridge between business analysts and developers. Traditional BPM engines have a focus that is limited to non-technical people only. JBPM has a dual focus: it offers process management features in a way that both business users and developers like.
3. What Does Jbpm Do?
Ans:
This business process allows you to model your business goals by describing the steps that need to be executed to achieve that goal and the order, using a flow chart. This greatly improves the visibility and agility of your business logic, results in higher-level and domain-specific representations that can be understood by business users and are easier to monitor. The core of jBPM is a lightweight, extensible workflow engine written in pure Java that allows you to execute business processes using the latest BPMN 2.0 specification. It can run in any Java environment, embedded in your application or as a service.
4. Mention The Main Features Of Jbpm5?
Ans:
- Visual user-friendly editor: Users can choose between a web-based editor (Oryx) or an Eclipse-based one. You can choose depending on the end-user and if you are going to use the project’s BRMS (Guvnor) where you can store all your business assets such as processes, rules and documentation in a central location.
- BPMN2 standard support: This allows you to choose a different editor to generate your business processes and run them in JBPM5. There’s no 100% support for the standard yet, but progress is being made on this matter.
- Human Task features: JBPM5 has a native notion of a Human task, an activity that needs to be completed by an actual person and has a lifecycle: it can be started, suspended, completed, etc. It is also a standard spec.
- Process Console: You can interact with the engine through this console where you can start processes, complete human tasks, fill forms, etc. This console is GWT based.
- JPA persistence method: it enables you to choose any database and persistence schema to store the processes variables and history log.
- Designed for domain-specific workflows: this means that you can create your own business domain-specific tasks such as (Receive Claim, Approve loan, Check Blood Pressure, etc) and build a palette for end users that is very natural to their environment. This is combined with a visual modeller is a pretty explosive combination, allowing a very productive as-is process knowledge gathering and to-be process design across a whole line of business.
- Business Activity Monitoring built-in: what’s a BPM’s worth if you can’t monitor your processes? JBPM5 allows you to make reports (including tables and charts) over the process instance data and history log. This is useful for higher-level users that as C-level executives who need to process information to make decisions. It also enables you to use BIRT to generate your reports, so your imagination is the limit when it comes to the amount of information you can present.
- Console Custom forms integration: By using a template framework, JBPM5 allows your users to interact with their processes using the same console to start the process and take actions to it within a custom form for each activity. For example, you can have a client’s data-gathering activity in your process and a custom form can be built to fill that information into the workflow.
- Powerful rules-language: To make decisions within the process you can use Drools rule syntax to for example change a path according to a business condition, such as a credit score.
5. What Are The Advantages Of Jbpm5?
Ans:
jBPM5 provides a different computational model for business processes and rules. This model is based on a knowledge-oriented approach, where the application is not process-oriented or rules-oriented, but the end-users can simply select between different paradigms to represent their business logic. All tools and interfaces the user has confronted with support this idea of a unified environment throughout the entire knowledge life cycle.
6. Is The Graphical Process Designer (gpd) Only Usable In Eclipse? Is There A Way To Use It Standalone?
Ans:
The jBPM GPD is an eclipse plugin that targets usage by multiple roles. Both the business analyst and developer are able to use the same tool in different ways. The main reason why we think it is important to integrate those two in one single environment is that in many teams, these two roles are done by one person. Then it becomes very important that the tool can support both roles and gradually shift from being a diagramming tool to an implementation tool.
7. What Is A Rule Engine?
Ans:
A rule engine may be viewed as a sophisticated if/then statement interpreter. The if/then statements that are interpreted are called rules.
8. What Are The Advantages Of Rule Engine?
Ans:
- Greater flexibility: keeping your rules into a Knowledge base let you adapt easily your decisions when they are changing.
- Easier to grasp: Rules are easier to understand than procedural code so they can be effectively used to bridge the gap between business analyst and developers.
- Reduced complexity: When embedding lots of decision points to your procedural codes it can easily turn your application into a nightmare. On the other hand, rules can handle much better increasing complexity because they use a consistent representation of business rules.
- Reusability: By keeping rules are kept in one place leads to greater reusability of your business rules. Also, traditional procedural code often impose unnecessary variations of base rules which are therefore more difficult to reuse in other contexts.
Advantages of Rule Engines:
9. What Is Global In Drl File?
Ans:
Global is the keyword used in drools to define a global variable. A global variable is the one that will be visible to all the rules inside a DRL file. Globals must be used very carefully in a DRL file since the changes in a global variable are not notified to the working memory. For example, you are using a list variable as a global and in any rule, you are adding a value in a list and in one particular rule, you are checking if list size() > 0, then in this case rule may not fire. A global variable can be used for any type of object.
10. Where To Use Global Variable?
Ans:
Consider a scenario, wherein the rules there is a requirement for a database connection object. In this case, the DB Connection object can be inserted as a global variable in the working memory and the connection object will be visible to all the rules in that DRL file.
11. What Are Needed To Set-up A Cluster With Jboss ?
Ans:
- JGroups.jar, jboss-cache.jar
- Clustered beans (cluster-service.xml)
- HA-JNDI
- HTTP session replications (tc5-cluster-service.xml)
- Farming
Basically starting JBoss with the ’all’ configuration contains everything needed for clustering:
It has all the libraries for clustering:
12. Which Component Handles Cluster Communication In Jboss?
Ans:
The JGroups framework provides services to enable peer-to-peer communications between nodes in a cluster. It is built on top of a stack of network communication protocols that provide transport, discovery, reliability and failure detection, and cluster membership management service.
13. Is It Possible To Put A Jboss Server Instance Into Multiple Cluster At The Same Time ?
Ans:
It is technically possible to put a JBoss server instance into multiple clusters at the same time, this practice is generally not recommended, as it increases the management complexity.
14. What Is Jboss Cache In Short?
Ans:
JBossCache enables easy distribution of datasets across your computing environments. It is based on JGroups and enables clustering and high availability of that data. You may choose to distribute the data with JBoss Messaging to move it where it is needed for computation or event-based programming.
15. How Do You Monitor Jboss And Detect The Bottleneck Of An Application?
Ans:
- Different components of the application are to be measured. This step is to find where the degradation is, whether it is external or internal and where is the application spending all the time. Using Joss JMX agents and monitoring the deployed components to the application server involves in the first step.
- After finding most of the time spent by specific components or libraries or most of the resources, one can use Jprobe a specialized tool for examining the single object or the objects loaded in the memory.
16. What Is Jta?
Ans:
Java Transaction API (JTA) specifies standard Java interfaces between a transaction manager and the parties involved in a distributed transaction system: the resource manager, the application server, and the transactional applications. The Javaâ„¢ Transaction API (JTA) allows applications to perform distributed transactions, that is, transactions that access and update data on two or more networked computer resources.
The Java Transaction API consists of three elements: a high-level application transaction demarcation interface, a high-level transaction manager interface intended for an application server, and a standard Java mapping of the X/Open XA protocol intended for a transactional resource manager.

17. What Is The Difference Between Hibernate And Ejb 3? Do Not You Think Ejb 3 Is Just A Clone Of Hibernate?
Ans:
- The perception of EJB3 as being a simple clone of Hibernate is primarily based on developer familiarity with Hibernate and similarity of naming, as well as a common purpose, and that Hibernate is morphing itself into an EJB3 implementation based on the work going into the specification, not the other way around.
- EJBs are supposed to be components, in the sense that they’re not just one class, but a set of classes, descriptors and usage and management contracts. All of this in order to allow a container (JBoss, Weblogic, etc.) to provide services to those components, and to be able to reuse and distribute this component.
- These services are, among others, transactions, concurrent access control, security, instance pooling, etcetera.
- Hibernat is “just” an ORM (Object/Relational Mapping) tool. Quick and dirty, this means you can store an object tree belonging to a class hierarchy in a relational DB without writing a single SQL query. Quite cool, IMO. But no transaction control, no instance pooling, no concurrency control, and certainly no security.
18. Which Hibernate Object Wraps The Jdbc Connection?
Ans:
The Session interface wraps a JDBC Connection. This interface is a single-threaded object which represents a single unit of work with application and persistent database. It’s retrieved by the SessionFactory’s openSession() method.
19. Is The Session Factory Thread Safe?
Ans:
Yes: that is many threads can access it concurrently and request for sessions. It holds cached data that has been read in one unit of work and maybe reused in a future unit of work. A good practice is to create it when the application is initialized.
20. What is the internal working of jBPM?
Ans:
The core of jBPM is a light-weight, extensible workflow engine written in pure Java that allows you to execute business processes using the latest BPMN 2.0 specification. It can run in any Java environment, embedded in your application or as a service.
21. What If You Need To Span Your Transaction Across Multiple Servlet Invocations?
Ans:
You can’t with a Servlet. A JTA transaction must start and finish within a single invocation (of the service() method). You should consider using a Stateful SB. In an SFSB with a JTA transaction, the association between the bean instance and the transaction is retained across multiple client calls.
22. What Are The Differences Between Ejb 3.0 And Ejb 2.0?
Ans:
- EJBs are now plain old Java objects (POJO) that expose regular business interfaces (POJI), and there is no requirement for home interfaces.
- Use of metadata annotations, an extensible, metadata-driven, attribute-oriented framework that is used to generate Java code or XML deployment descriptors.
- Removal of the requirement for specific interfaces and deployment descriptors (deployment descriptor information can be replaced by annotations).
- Interceptor facility to invoke user methods at the invocation of business methods or at life cycle events.
- Default values are used whenever possible (“configuration by exception†approach).
- Reduction in the requirements for usage of checked exception.
- A complete new persistence model (based on the JPA standard), that supersedes EJB 2.x entity beans
23. What Is The Difference Between A Local-tx-Datasource And A Xa-data source? Can You Use Transactions In Both?
Ans:
A local-tx-Datasource identifies a data source that uses transactions, even distributed trans actions within the local application server, but doesn’t use distributed transactions among multiple application servers. An a-data source on the other hand identifies a data source that uses distributed transactions among multiple application servers.
24. What Optimization Could I Use If The Ejb Container Is The Only Point Of Write Access To The Database?
Ans:
You could activate the “Commit Option A” which is the container caches entity bean state between transactions. This option assumes that the container has exclusive access to the persistent store and therefore it doesn’t needs to synchronize the in-memory bean state from the persistent store at the beginning of each transaction.
25. What Do You Know About Seam?
Ans:
Built on the standards JavaServer Faces and EJB 3.0, JBoss Seam unifies component and programming models and delivers a consistent and powerful framework for rapid creation of web applications with Java EE 5.0. Seam simplifies web application development and enables new functionality that was difficult to implement by hand before, such as stateful conversations, multi-window operation, and handling concurrent fine-grained AJAX requests. Seam also unifies and integrates popular open source technologies like Facelets, Hibernate, iText, and Lucene.
26. Does Seam Run On Other Application Servers Besides Jboss?
Ans:
The seam runs beautifully on other application servers – just like everything else the Hibernate team does, this is not a JBoss-only thing.
27. Which Jdk Is Needed To Run Seam?
Ans:
Seam only works on JDK 5.0 and above. It uses annotations and other JDK 5.0 features.
28. What Is The Difference Between Jax–ws And Jax-rpc?
Ans:
- JAX-WS maps to Java 5.0 and relies on many of the features new in Java 5.0 like Web Service annotations.
- JAX-RPC has its own data mapping model, JAX-WS’s data mapping model is JAXB. JAXB promises mappings for all XML schemas.
- JAX-WS introduces message-oriented functionality, dynamic asynchronous functionality which are missing in JAX-RPC.
- JAX-WS also add support, via JAXB, for MTOM, the new attachment specification.
Java API for XML-Based RPC (JAX-RPC) is a Legacy Web Services Java API, it uses SOAP and HTTP to do RPCs over the network and enables the building of Web services and Web applications based on the SOAP 1.1 specification, Java SE 1.4 or lower.JAX-WS 2.0 is the successor to JAX-RPC 1.1. JAX-WS still supports SOAP 1.1 over HTTP 1.1, so interoperability will not be affected. However, there are lots of differences:
29. Do You Know How You Could Add Support For Web Service Transactions?
Ans:
JBossTS supports Web Services transactions, including extended transaction models designed specifically for loosely coupled, long-running business processes. J2EE transactions can integrate seamlessly with Web Services transactions using our integrated, bi-directional transaction bridge. Interoperability with many other vendors is provided out-of-the-box and JBoss is an active participant in these standards.
30. What Version Of Jboss As Do I Need To Run Seam?
Ans:
For Seam 1.3: Seam was developed against JBoss 4.2. The seam can still be run against JBoss 4.0. The seam documentation contains instructions for configuring JBoss 4.0.
For Seam 1.2: Since Seam requires the latest edition of EJB3, you need to install JBoss AS from the latest JEMS installer. Make sure that you select the “ejb3” or “ejb3+clustering” profile to include EJB3 support. Also, the jboss-seam.jar library file from the Seam distribution must be included in each Seam application you deploy. Refer to examples in Seam distribution (inside the examples directory) to see how to build and package Seam applications.
31. Can I Run Seam In A J2ee Environment?
Ans:
Yes, as of Seam 1.1, you can use Seam in any J2EE application server, with one caveat: you will not be able to use EJB 3.0 session beans. However, you can use either Hibernate or JPA for persistence, and you can use Seam JavaBean components instead of session beans.
32. Can I Run Seam With Jdk 1.4 And Earlier?
Ans:
No, Seam only works on JDK 5.0 and above. It uses annotations and other JDK 5.0 features.
33. Where Can I Find Seam Examples And Documentation?
Ans:
The source code and build script of all Seam example applications are included in the examples directory of the Seam distribution.
34. Is It True That Seam Only Works With Jsf?
Ans:
Seam only supports JSF as a view framework at this time. We plan to support other web frameworks in the future. We like JSF because it is a component-based UI framework, which fits really well with Seam’s component-based approach to business objects and persistence objects. Seam made a major improvement to JSF by eliminating almost all XML configuration for backing beans — you can now define back beans from POJOs or EJB3 components using simple annotations. We recommend you use Facelets, instead of JSP, with JSF. Facelets provide a powerful templating framework, better application performance, and allow us to write much simpler JSF pages.
35. Can I Use Ajax With Seam?
Ans:
Yes, Seam provides excellent support for AJAX. First, Seam supports the ICEfaces and Ajax4JSF Ajax component libraries for JSF. If you prefer a more “old fashioned” approach, Seam provides a complete JavaScript remoting framework that lets you call Seam components and subscribe to JMS topics directly from the client. Please refer to the Seam remoting example application on how to use AJAX remoting to implement a chat room.
36. Can I Unit Test Seam Applications Without Starting The Application Server?
Ans:
Yes, Seam provides its own integration test framework based on TestNG. You can easily mock all Seam services using those facilities without ever loading an application server or a database. Refer to the test example ANT target in the Seam booking example application for more details.
37. What Is Drools?
Ans:
Drools is a Business Rules Management System (BRMS) solution. It provides a core Business Rules Engine (BRE), a web authoring and rules management application (Drools Workbench) and an Eclipse IDE plugin for core development.

38. Is The Graphical Process Designer (god) Only Usable In Eclipse? Is There A Way To Use It Standalone?
Ans:
The jBPM GPD is an eclipse plugin that targets usage by multiple roles. Both the business analyst and developer are able to use the same tool in different ways. The main reason why we think it is important to integrate those two in one single environment is that in many teams, these two roles are done by one person. Then it becomes very important that the tool can support both roles and gradually shift from being a diagramming tool to an implementation tool.
39. Explain The Difference Between Stringbuilder And Stringbuffer Class?
Ans:
StringBuilder is unsynchronized whereas StringBuffer is synchronized. So when the application needs to be run only in a single thread then it is better to use StringBuilder. StringBuilder is more efficient than StringBuffer
40. What is the difference between traditional BPM and jBPM?
Ans:
- Traditional BPM process engines focus only on non-technical people while jBPM process engines focus on technical and non-technical people both.
- jBPM is easily embeddable into a Java project while traditional BPM systems require a separate server to be installed which makes it difficult to integrate into the Java software development cycle.
- jBPM supports for multiple process languages while the view of BPM is not yet stabilized. There are currently many different interpretations of BPM, which result in big fragmentation in the market.
- jBPM has very flexible transaction management. If the application uses a JDBC connection in the Java environment, then jBPM uses that JDBC connection to perform its task. If our application uses hibernate then, jBPM can use the same hibernate session factory. If our application runs in an enterprise environment, then jBPM can bind with the surrounding JTA transaction while BPM doesn’t support these things.
A list of differences between traditional BPM and jBPM:
41. Drools Vs. jBPM (What is the difference between Drools and jBPM?)
Ans:
jBPM is a type of workflow engine whereas Drools is a rule engine. | We can use Drools for local decisions that only require a handful of rules. |
jBPM is a business management suite which makes the interaction between humans and services into a machine that fulfills a well-defined, complex business process goal. | Drools and jBPM, both are companion projects which can be integrated when we need workflows with rules. |
42. What do you mean by KIE?
Ans:
KIE stands for Knowledge Is Everything. KIE approach is used to create a Knowledge Base and a Knowledge Session. A Knowledge Base is a repository of all the relevant process definitions. It is an interface that manages a set of rules and processes. Its primary task is to help us always to look up the processes definition whenever necessary. Rules are contained inside the package org.drools.KnowledgeBase.
43. What is JPA?
Ans:
- The Java Persistence API (JPA) is a specification of Java. It is used to persist data between Java object and relational databases.
- Java Persistence API (JPA) contains the collection of classes and methods to store a large amount of data into a database. It is provided by the Oracle Corporation.
- JPA doesn’t perform any operation by itself. It requires an implementation. So, ORM tools like Hibernate, TopLink, and iBatis implements JPA specifications for data persistence.
44. What is JTA?
Ans:
- Java Transaction API (JTA) is an API which is used to manage the transactions in Java. It provides us to start, commit and rollback transactions in a resource neutral way.
- Java Transaction API (JTA) specifies standard Java interfaces between a transaction manager and the parties involved in a distributed transaction system: the resource manager, the application server, and the transactional applications.
- The Java Transaction API (JTA) allows applications to perform distributed transactions, i.e., transactions that access and update data on two or more networked computer resources.
45. What are the three elements of Java Transaction API (JTA) ?
Ans:
- A high-level application transaction demarcation interface
- A high-level transaction manager interface designed for an application server
- A standard Java mapping of the X/Open XA protocol is intended for a transactional resource manager.
The Java Transaction API (JTA) consists of three elements:
46. What is RuntimeManager?
Ans:
Runtime Manager manages Runtime Engines. It is built with Kie Session and Task Service to deliver executable environments for processes and user’s tasks. It will always be closed whenever it is not needed anymore to free up resources it allocated. Each Runtime Managers has a unique id so there cannot be used two Runtime Managers with the same id active at the same time in the same system.
47. Explain Human Task Services in jBPM.
Ans:
Human tasks are similar to any other external service. jBPM supports different types of human task nodes inside processes for modeling this interaction with human users. Human task node allows process designers to define the task properties which the human actors need to execute.
Human task service implementation is based on the WS-HumanTask specification. It manages the life cycle of the tasks and stores the state of all the tasks, task lists, etc.
48. Explain Remote API Services?
Ans:
The jBPM platform provides many remote API services. It provides developers with an improved level of flexibility in designing solutions that require jBPM integration. This remote API opens up some possibilities with a flexible, open architecture, to satisfy and to quickly react to changing application requirements.
49. Differentiate embedded sub process and reusable sub process.
Ans:
Embedded Sub Process: Embedded SubProcess is also known as Inline Subprocess. It is a subprocess within a Process and cannot be reused outside of the process.
Embedded Subprocess can access all the process variables where it is defined & also we can add some additional variables to be accessible within that Embedded Subprocess container.
Embedded SubProcess can also access the group flow elements together to make the business process more readable. Subprocesses are contained as part of the parent subprocess.
Reusable Sub ProcessReusable Subprocess is an independent process. It cannot access the parent process variables directly. We need to map the in & out values through Subprocess properties whenever we want to use it. Reusable Subprocesses create business processes that can be called from other business processes.
50. Mention the main features of JBPM5?
Ans:
- Visual user friendly editor: Users can choose between a web based editor (Oryx) or an Eclipse based one. You can choose depending on the end user and if you are going to use the project’s BRMS (Guvnor) where you can store all your business assets such as processes, rules and documentation in a central location.
- BPMN2 standard support: This allows you to choose a different editor to generate your business processes and run them in JBPM5. There’s no 100% support for the standard yet, but progress is being made on this matter.
- Human Task features: JBPM5 has a native notion of a Human task, an activity that needs to be completed by an actual person and has a lifecycle: it can be started, suspended, completed, etc. It is also a standard spec.
- Process Console: You can interact with the engine through this console where you can start processes, complete human tasks, fill forms, etc. This console is GWT based.
- JPA persistence method: it enables you to choose any database and persistence schema to store the processes variables and history log.
- Designed for domain specific workflows: this means that you can create your own business domain specific tasks such as (Receive Claim, Approve loan , Check Blood Pressure, etc) and build a palette for end users that is very natural to their environment. This is combination with a visual modeler is a pretty explosive combination, allowing a very productive as-is process knowledge gathering and to-be process design across a whole line of business.
- Business Activity Monitoring built in: what’s a BPM’s worth if you can’t monitor your processes? JBPM5 allows you to make reports (including tables and charts) over the process instance data and history log. This is useful for higher level users that as C-level executive who need process information to make decisions. It also enables you to use BIRT to generate your reports, so your imagination is the limit when it comes to the amount of information you can present.
- Console Custom forms integration: By using a template framework, JBPM5 allows your users to interact with their processes using the same console to start the process and make actions to it within a custom form for each activity. For example you can have a client’s data gathering activity in your process and a custom form can be built to fill that information into the workflow.
- Powerful rules language: To make decisions within the process you can use Drools rule syntax to for example change a path according to a business condition, such as a credit score.
51. What are the advantages of JBPM5?
Ans:
jBPM5 provides a different computational model for business process and rule. This model is based on a knowledge-oriented approach, where the application is not process-oriented or rules-oriented, but the end users can simply select between different paradigms to represent their business logic. All tools and interfaces the user is confronted with support this idea of a unified environment throughout the entire knowledge life cycle..
52. Is the Graphical Process Designer (GPD) only useable in Eclipse? Is there a way to use it standalone?
Ans:
The jBPM GPD is an eclipse plugin that targets usage by multiple roles. Both the business analyst and developer are able to use the same tool in different ways. The main reason why we think it is important to integrate those two in one single environment is because in many teams, these two roles are done by one person. Then it becomes very important that the tool can support both roles and gradually shift from being a diagramming tool to an implementation tool..
53. What is global in DRL file?
Ans:
Global is the keyword used in drools to define a global variable. Global variable is the one which will be visible to all the rules inside a DRL file.
Globals must be used very carefully in a DRL file, since the changes in a global variable are not notified to the working memory. For example, you are using a list variable as a global and in any rule you are adding a value in a list and in one particular rule, you are checking if list size() > 0, then in this case rule may not fire. A global variables can be used for any type of object.
54. Where to use global variable?
Ans:
Consider a scenario, wherein the rules there is a requirement for a database connection object. In this case, the DB Connection object can be inserted as a global variable in the working memory and the connection object will be visible to all the rules in that DRL file.
55. Where is jBPM runtime?
Ans:
The jBPM Runtime is located inside the jBPM library. To add it to Eclipse, in the window to add a jBPM Runtime, just travel to the place where you’ve putted the library and select it (the library folder).
56. What is the difference between BPMN and BPEL?
Ans:
BPEL ia an XML process with a strong focus on automation whereas BPMN is a grafical business process notation.
57. What is Form Modeler?
Ans:
Form modeller is a form engine that helps the users in creating forms to capture and in displaying information during process without any help of coding or template markup skills.Form Modeler provides a Formula Engine that you can use to automatically calculate field values.

58. What is BPMN good in?
Ans:
BPMN is good in documenting established business processes and designing new business processes.It is also good for making modules of structured business processes despite of some variations and shares the same structure and will be possibly bt automating.
59.Enlist major components of jBPM?
Ans:
The three main components of the JBPM are execution component, runtime component, and modeling & deployment component.
60. Explain The Execution component?
Ans:

61. Explain The modelling and deployment component in IBPM?
Ans:
- Data modeler – it is used for viewing, editing, and creating data models by non-technical users.
- Form modeler – it is used to create, generate, and edit forms during task execution.
- Rules authoring – it is used to specify different business rules for the business process.
- Guvnor repository – it has all types of assets to be used in the business repository..
Process Designer – it provides the graphic editor for viewing and editing the business process.
62. Explain The runtime management in JBPM?
Ans:
Process Management – It has features to manage process instances like staring, stopping, and inspecting instances..
63. What is workbench in JBPM?
Ans:
The workbench is a web-based application that covers the entire life cycle of BPM projects from authorization to monitoring. It has a git repository service to store business artefacts and promotes version control. It provides an interface to manage the business process by providing visualization support. It has a collaboration feature for enabling multiple actors to work on the same project..
64. How to integrate LDAP in jBPM?
Ans:
To integrate LDAP with JBPM, first, install and configure the LDAP server. OpenLDAP is a good LDAP server that can be freely installed and configured. After configuring the server, it is time to configure the application server where the JBPM console is hosted to authenticate the users using LDAP.
The JBoss AS7 configuration needs to be changed and the standalone.xml file should be replaced to support the LDAP in JBPM.
65. What is meant by Knowledge is Everything or KIE?
Ans:
KIE is the new umbrella name to the systems set like drools, jBPM, optaPlanner, Guvnor, and uberFire and such other technologies..
66. What is the standard supported by Drool?
Ans:
Drool supports JSR-94 standards for the business rule engine. It also supports enterprise framework for construction, enforcement, as well as maintenance of business policies..
67. What is the productized version of Drools?
Ans:
JBoss Enterprise BRMS is the productized version of Drools and it has enterprise-level support.
Master Drools, in this Drools certification training.
68. What are the features of JBoss Enterprise Application or SOA Platform?
Ans:
It is the application software structure in the system that supports the running of BRMS components..
69.What is Business Rules Manager?
Ans:
Business Rules Manager is a centralized repository for the Drools knowledge bases and has a rich web-based Graphical User Interface as well as tools and editors to manage large numbers of rules..
70. What is meant by Drools Guvnor and Drools Expert?
Ans:
Drools Guvnor is the Business Rules Manager and Drools Expert is the Business Rules Engine.

71.What is the tool for managing complex event processing in Drools?
Ans:
It is the Drools Fusion that is used for event processing as well as temporal reasoning..
72. What is meant by Drools Planner?
Ans:
Drools Planner or automated planning optimizes the process including the NP-hard planning problems..
73. What is the purpose of dialect in Drools?
Ans:
Dialect or mve1 points to the Getter and Setters of the variables of plain old Java objects (POJO). Dialect “java” is used for writing Java code in the rules..
74. What is the restriction in using Java code?
Ans:
Users cannot use Java code inside “when” part of the rules. However, it can be use in the “then” part.
75.What is the reason for putting $ symbol before the variables?
Ans:
The objective of putting $ symbol before the variables is to ensure the difference between variables of POJO classes and Rules..
76. What are Drool Workbench, Expert, and Fusion?
Ans:
Drools Workbench is the web user interface for authoring and management. Drools Expert is the business rule engine and Drools Fusion is the complex event processing feature..
77. How to halt process in DRL file?
Ans:
The user has to resort to drools.halt() in the consequence (then) part of the application.
78. How to remove object from knowledge session?
Ans:
Using retract method to remove the object from knowledge session can help..
79. How to fetch and play around with the rules in java code?
Ans:
Rules does not exist as the Java codes. However it is possible using Guvnor REST API for downloading the DRL source code for the rules and thereafter uploads them all over again..
80. What is jBPM workflow?
Ans:
jBPM (Java Business Process Model) is an open-source workflow engine written in Java that can execute business processes described in BPMN 2.0 (or its own process definition language jPDL in earlier versions). jBPM is a toolkit for building business applications to help automate business processes and decisions.
81. Is it possible working with completely custom UI instead of using Guvnor Rule?
Ans:
Rules can be stored in the custom domain model in a database generating the DRL from that model. This can render Guvnor redundant in the custom environment..
82. If there are still rules that need to be managed in Guvnor what steps user should take?
Ans:
If the user still has rules that are required to manage in Guvnor then he or she should generate the DRL and upload it into Guvnor using REST API..
83.What is meant by Drools Recursive Rules?
Ans:
A Fibonacci series is the most common example of recursion in Drools. In the Drools the implementation is carried out using the insert and modified keywords..
84What would be the breaking condition in Fibonacci series?
Ans:
The breaking condition in Fibonacci series would be (sequence==1)..
85. How can we define rules at runtime?
Ans:
It is possible to define rules dynamically completely at runtime. at time = t_1 the ruleset is { D1, D2, D3 } at time = t_2 the ruleset is { D1, D3, D4 }.
86. What do you mean by pattern matching?
Ans:
The complete pattren maching is fone by the interance engine, as it helps in matching new/existing facts which can be done against production rules..

87.What are the Algorithm Used to perform pattern matching?
Ans:
- Linear
- Treat
- Rete
- Leaps
There are many algorithms used to perform pattern matching:
89. Name the types of interfaces in the Knowledge Session?
Ans:
- Stateless Knowledge Session – Automatically release the session when its disposed.
- Stateful Knowledge Session – Avoids memory loss and can manually release the session.
There are two types of knowledge session:
90. What is Rule engine in jBPM?
Ans:
JBoss jBPM uses expressions and delegates in its Decision nodes which control the transitions in a Workflow. At each node it evaluates ther is a rule set that dictates the transition to undertake, and so this is also a Rule Engine.
91. How to halt process in DRL file?
Ans:
User has to resort to drools.halt() in the consequence (then) part of the application.
92. Is it possible using round trips between rules modified in Guvnor, loade in the UI, modified and uploaded to Guvnor?
Ans:
There is no such way of ensuring this. Especially newcomers should not try this to avoid complications..
93. What is MVEL Dialect?
Ans:
MVEL is an expression language for Java-based applications. It supports field and method/getter access. It is based on Java syntax.
94. Why use Drools and not other programming languages?
Ans:
The rules logic can be done in a programming language like Java. Consider a Jewellery shop that needs to maintain the business logic of calculating discounts based on the type of Jewellery. But such rules may change daily and need to be updated regularly in our code which is not good. Also, we will always require a Developer for making such changes. So it’s a good practice to define this logic as rules in a Business Rule Management System. If tomorrow the discount is to be changed this can be done even by a non-technical person..
95. How to remove objects from knowledge sessions?
Ans:
Using retract method to remove the object from the knowledge session can help..
96. How do we implement backward chaining in Drools?
Ans:
In background chaining, the first user takes a decision and then checks whether the decision is true or not by tracking the sequence of events. It is also referred to as derivation queries and drools implements that through query construct..
97.Which tool is used to manage complex event processing in Drools?
Ans:
Drool fusion is used for event processing and temporal reasoning. .
98. Can we work with a custom UI instead of using the Guvnor Rule?
Ans:
It is possible to store the rules in the custom domain model in the database and generate the DRL from the same model. This helps render the Guvnor redundant in the custom environment..
99.How to fetch and play with the rules in java code?
Ans:
Rules do not exist as the Java codes. Use the Guvnor REST API to download the DRL source code for the rules and thereafter upload them all over again..
100.How Can You Start A Jta Transaction From A Servlet Deployed On Jboss?
Ans:
JBoss registers inside the JNDI tree a JTA UserTransaction Object which may be consumed to control a distributed transaction.
