Sunday, 1 February 2015

jboss-application server-administration interview questions and answers(Part4)

31. What is JBOSS?
JBoss is a popular open source application server based on JEE technology. Being JEE based, the JBoss supports cross-platform java applications. It was embedded with Apache Tomcat web server. It runs under any JVM of 1.3 or later versions. JBoss supports JNDI, Servlet/JSP (Tomcat or Jetty), EJB, JTS/JTA, JCA, JMS, Clustering (JavaGroups), Web Services (Axis), and IIOP integration (JacORB).

32. How can you start a JTA transaction from a Servlet deployed on JBoss ?
JBoss registers in the JNDI tree a JTA UserTransaction Object which can be user to manage a distributed transaction

33. Is it possible to put a JBoss server instance into multiple cluster at the same time ?
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.

34. What do you know about Seam ?
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.

35. Does Seam run on other application servers besides JBoss ?
Seam runs beautifully on other application servers - just like everything else the Hibernate team does, this is not a JBoss-only thing

36. Can I run Seam in a J2EE environment?
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.

37. Can I run Seam with JDK 1.4 and earlier?
No, Seam only works on JDK 5.0 and above. It uses annotations and other JDK 5.0 features.

38. Where can I find Seam examples and documentation?
The source code and build script of all Seam example applications are included in the examples directory of theSeam distribution. Seam documentation is available here.

39. Where can I ask questions and make suggestions about Seam?
Please use the Seam User's discussion forum for user questions.

40. Are there books about Seam?
Yes, Prentice Hall's "JBoss Seam: Simplicity and Power Beyond Java EE 5.0" is a comprehensive guide for Seam written by JBoss insiders.
More Questions & Answers :-

No comments:

Post a Comment