Labels

.NET Job Questions About Java Absract class Abstract class Abstract Class and Interface Aggregation ajax aop apache ofbiz Apache ofbiz tutrial Association authentication autocad basics batch Binary Tree bootstrap loader in java build Builder design pattern C++ Job Questions caching CallableStatement in java certifications Chain of responsibility Design pattern charts check parentheses in a string Classes classloader in java classloading concept code quality collage level java program Composition concurrency Concurrency Tutorial Converting InputStream to String Core Java core java concept core java interview questions Core Java Interview Questions Core Java Questions core java tutorial CyclicBarrier in Java data structures database Database Job Questions datetime in c# DB Db2 SQL Replication deserialization in java Design Patterns designpatterns Downloads dtd Eclipse ejb example/sample code exception handling in core java file handling injava File I/O vs Memory-Mapped Filter first program in spring flex Garbage Collection Generics concept in java grails groovy and grails Guice Heap hibernate Hibernate Interview Questions how-to IBM DB2 IBM DB2 Tutorial ide immutable Interceptor Interface interview Interview Questions for Advanced JAVA investment bank j2ee java JAVA Code Examples Java 7 java changes java class loading JAVA Classes and Objects Java Classloader concept Java classloading concept java cloning concept java collection Java collection interview questions Java Collections java concurrency Java CountDownLatch java definiton Java design pattern Java EE 5 Java EE 6 Java Exceptions Java file Java Garbage Collection Java generics Java Glossary java hot concept java immutable concept Java Interface Java interview Question java interview question 2012 java interview question answer Java Interview Questions Java Interview Questions and Answers java interview topic java investment bank Java Job Questions java multithreading java multithreading concept java new features Java Packages java proxy object java questions Java Serialization Java serialization concept java serialization interview question java session concept java string Java Swings Questions java synchronization java threading Java Threads Questions java tutorial java util; java collections; java questions java volatile java volatile interview question Java Wrapper Classes java.java1.5 java.lang.ClassCastException JavaNotes javascript JAX-WS jdbc JDBC JDBC Database connection jdk 1.5 features JDK 1.5 new features Concurrent HashMap JMS interview question JMS tutorial job JSESSIONID concept JSESSIONID interview Question JSF jsp JSP Interview Question JSP taglib JSTL with JSP Junit Junit Concept Junit interview question.Best Practices to write JUnit test cases in Java JVM Linux - Unix tutorial Marker Interfaces MD5 encryption and decryption messaging MNC software java interview question musix NCR java interview question Networking Job Questions news Object Serialization Objects ojdbc14.jar OOP Oracle Oracle SQL Query for two timestamp difference orm own JavaScript function call in Apache ofbiz Packages Palm Apps patterns pdf persistence Portal Portlet Spring Integration Prime number test in java programs Rails Reboot remote computers REST Ruby Sample application schema SCJP security Senior java developer interviews servlet3 servlets session tracking singleton design pattern Spring Spring 2.5 Framework spring ebook Spring framework concept spring MVC spring pdf Spring Security Spring Security interview questions SQL SQL performance SQL Query to create xml file Sql Query tuning ssis and ssrs StAX and XML string concept string immutable string in java strings struts Struts2 Struts2 integration synchronization works in java Technical Interview testing tips Tomcat top Tutorial Volatile in deep Volatile working concept web Web Developer Job Questions web services weblogic Weblogic Application Server websphere what is JSESSIONID xml XML parsing in java XML with Java xslt


Monday, 22 July 2013

JBoss Interview Questions and Answers


How do you monitor JBoss and detect the bottleneck of an application?
Answer :: The first step is to measure the different components of your app to see where the degradation is. Is
it an external resource (database, message server, etc.)? Is it internal? Where is the app spending all its time?
So the first step could be to to use JBoss JMX agents and monitor the components deployed to the application
server. Once it's clear which component or library takes most of the time or most of resource you can use a
more specialized tool like JProbe and examine the single method or the single objects loaded in memory. ....
Http://capptitudebank.blogspot.in

Whatis JBoss JBPM ?
Answer :: JBoss jBPM is a platform for process languages. At the base there is a java library to define and
execute graphs. The actual process constructs like e.g. send email, user task and update database are defined
on top of this. Every process language is made up of a set of such process constructs. And that is what is
pluggable in this base library. On top of the JBoss jBPM base library, there are implemented several process
languages as a set of process constructs: jPDL, BPEL and SEAM pageflow:
jPDL is a process language with a clean interface to Java and very sophisticated task management
capabilities. There is no standard for Java process languages, so it is proprietary.
BPEL is a service orchestration language. As said before, in BPEL, you can write new services as a function
of other services. This is typically a component of an Enterprise Service Bus (ESB).
SEAM pageflow is a language that allows for the graphically define the navigation between pages in a SEAM
web application.
.... Http://capptitudebank.blogspot.in

Which component handles cluster communication in JBoss?
Answer :: The JGroups framework provides services to enable peer-to-peer communications between nodes in
a cluster. It is built on top a stack of network communication protocols that provide transport, discovery,
reliability and failure detection, and cluster membership management services. .... Http://capptitudebank.blogspot.in

What do you need to set-up a cluster with JBoss?
Answer :: Basically starting JBoss with the “all” configuration contains everything needed for
clustering:
It has all the libraries for clustering:
JGroups.jar, jboss-cache.jar
Clustered beans (cluster-service.xml)
HA-JNDI
HTTP session replications (tc5-cluster-service.xml)
Farming
HA-JMS
.... Http://capptitudebank.blogspot.in

What if you need to span your transaction across multiple Servlet invocations ?
Answer :: 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 a SFSB with a JTA transaction, the association
between the bean instance and the transaction is retained across multiple client calls. .... Http://capptitudebank.blogspot.in

What's the difference between Hibernate and EJB 3 ? Don't you think EJB 3 is just a clone of Hibernate ?
Answer :: The perception of EJB3 as being a simple clone of Hibernate is primarily based on developer
familiarity with Hibernate and a similarity of naming, as well as 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
components. This 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 an 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. .... Http://capptitudebank.blogspot.in


I have loaded adempiere in eclipse IDE and while running the adempiere,login window appeared and it asked for lot of
details for server and database?I have given all the details but I had problem with adempiere application server test
connection.I want to know why this problem occurred?
No Accepted answer found .... View Answer
i have made a small tool to support a very large scale system which runs on jboss. the jboss server is behind apache, so
all the requests go through apache. since i am using struts all my urls have a .do and i don't know if a rule exists, but all
my requests are being redirected to https. now i wrote my own rule to make it http and it doesn't seem to work. the main
thing is i don't know what other rules re there and for what purpose. so i can't make my own rule the last rule to process.
can anyone help with a simple apache url rewrite rule to make https to http and removing the do in the url.
my context is /SearchTool/search.do
Answer :: You can not do this. https is the prefix for a secure site using site certificates to encrypt the
connection. If this was allowed, it would make people believe they were on a secure site, when they are not.
Since this is what any scam site wants it is prohibited. You either run the connection through securely, or not.
you can not re-direct from secure to non-secure. .... Http://capptitudebank.blogspot.in

Can anyone please tell me a best and also a cheap web hosting site. I created a J2E web project which is a .ear file. I am
currently using JBOSS server for deploying the ear and database is MYSQL. Please tell me complete procedure for
making my web application up and online round the clock. Suggest some good data center services available.
Answer :: ,you'd better buy a dedicated server with about $89/month. Read dedicated server review here: <a
href="http://www.dedicated-server-review.org" rel="nofollow">http://www.dedicated-server-review.org</a> ....
Http://capptitudebank.blogspot.in
I'm having trouble with Simple Oracle (11g) database connectivity, I have been working with a J2EE for a couple of days
as we develop large financial application in JBoss 5.0.0.GA. I have tried following through few tutorials but have not able
to configure correctly. I know that with correct configuration all should be OK, thank you so much for your help in
advance.
Answer :: It would be better if u can tell wat u had tried.. then we can tel u wats wrong in that..
No need to do much
I hope u are aware of JDBC-ODBC Driver and they are supported by sdk1.4
First create a DSN using ODBC in control pannel
later for JSP to connect to Database
use the following code
&lt;%
Class.forName("sun.jdbc.odbc.JdbcOdbcD...
Connection conn = DriverManager.getConnection("jdbc:odbc:&lt;... name&gt;","username","password")
%
here username pass is the username pass of oracle..
provide DSN name after the second colon.
In this way you are connected to your data base and you can futher query your database using statement
object . .... Http://capptitudebank.blogspot.in
For two weeks I haven't managed to host my web site on win 2008 stantdard edi using Jboss.


Is anybody hosting a web site on Jboss and windows 2008?
Cheers
Answer :: Im not .... Http://capptitudebank.blogspot.in
I have loaded adempiere in eclipse IDE and while running the adempiere,login window appeared and it asked for lot of
details for server and database?I have given all the details but I had problem with adempiere application server test
connection.I want to know why this problem occurred?
No Accepted answer found .... View Answer
can u give some example of web server as well as application server ? where i can use application server? where i can
use web server ? what about weblogic and Jboss server . Is it application Server .
Answer :: An application server is a software engine that delivers applications to client computers or devices.
Moreover, an application server handles most, if not all, of the business logic and data access of the application
(A.K.A. centralization). The main benefit of application servers is the ease of application development, since
applications need not be programmed; instead, they are assembled from building blocks provided by the
application server.
<a href="http://en.wikipedia.org/wiki/Application_server"
rel="nofollow">http://en.wikipedia.org/wiki/Application...</a>
A computer that is responsible for accepting HTTP requests from clients, which are known as Web browsers,
and serving them HTTP responses along with optional data contents, which usually are Web pages such as
HTML documents and linked objects (images, etc.).
what about weblogic and Jboss server . Is it application Server . ( yes they are application servers)
and appache is a web server, same as IIS PWS and many more .... Http://capptitudebank.blogspot.in

I want to create a website using Java technology, so I need to manage a server or virtual private server myself, and be
able to install software such as JBoss, Apache Webserver, etc.
What is the best option for "starting out" that will also allow me to expand in future? I have heard that a virtual private
server is good for this but I can't find any good references or how to evaluate suppliers.
Answer :: As an experienced webmaster I recommend BlueHost service which I’m sure it would work for you
and fulfill all your requirements. They offer JBoss Apache for free !!
You can go there through the address below:
<a href="http://bluehost2008.atspace.com" rel="nofollow">http://bluehost2008.atspace.com</a>
******IMPORTANT*******
* This service is awarded as the best Web Host 2008.
* If you sign up for this service you will have $100 credits to advertise your created website with google yahoo
search engines for free!
*************************
Good Luck! .... Http://capptitudebank.blogspot.in



when the jbpm-server is started in that im getting something like this:
Object name:jboss:service:Naming state=FAILED
Reason:java.rmi.server.ExportException... already in use:1098: nested exception is:
java.net.BindException:Address already in use:JUM_Bind.
what should be done to overcome this....
Answer :: what is ur question? .... Http://capptitudebank.blogspot.in

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...