JBoss Fuse Interview Questions.
Q: What is an ESB? Have you deployed camel on any ESB?
A: ESB stands for Enterprise Service Bus. It can be defined as a tool designed to help implement an application using SOA principles Not for all projects projects is the use of ESB an optimum solution ESB should be used when projects involve integrating a number of Endpoints like Webservices, JMS, FTP etc. Have deployed JBoss Fuse ESB for Apache Camel Deployement.
Code example for Apache Camel Deployment on JBoss Fuse are available here
Q: What is Apache Camel ?
A: In an enterprise, a number of systems of different types exist. Some of these may be legacy systems while some may be new. These systems often interact with each other,and need to be integrated. This interaction or integration is not easy as the implementations of the systems, their message formats may differ. One way to achieve this is to implement code which bridges these differences. However this will be point to point integration. If tomorrow again if there is change in a system the other might also have to be changed which is not good. Instead of this point to point integration which causes tight coupling we can implement an additional layer to mediate the differences between the systems. This results in loose coupling and not affect much our existing systems. Apache Camel is a rule-based routing and mediation engine that provides a Java object- based implementation of the Enterprise Integration Patterns using an API (or declarative Java Domain Specific Language) to configure routing and mediation rules.
Apache Camel Interview Questions
Q: What is OSGi?
A: OSGi stands for Open Source Gateway initiative. It provides the benefits-
A portable and secure execution environment based on Java
A service management system, which can be used to register and share services across bundles and decouple service providers from service consumers
A dynamic module system, which can be used to dynamically install and uninstall Java modules, which OSGi calls bundles
A lightweight and scalable solution