This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am running EJB3.0 along with hibernate in jboss 4.2.3. I am having an EJB with method Parent() which calls another EJB with a method
A() which in turn calls a DAO layer method B() which makes a select statment. I have given @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
for method A(). I printed the execution time of the method A() in method Parent() and printing the execution time of the query within the DAO
Why is there a sudden increase in excecution time (1.563) of method A() even when my corrresponding DAO method B() takes only little time (0.032) to complete. The corresponding calls are all increased.. The calls to method A() will be approximately 40 per second so my application is fast running. Is there something wrong in configurations of my JBOSS or is there a way to avoid it ???
I tried many ways to get this fixed... but it didnot help me. I meddled with the
jboss-service.xml file under \all\deploy\ejb3.deployer\META-INF folder by setting
I am new to EJB3. I am using Eclipse Europa(Java 5 compiler). I am trying to create HelloWorld program using EJB3. Can you please tell me that how can I resolve annotations ?
I am trying to use annotation like @Stateless..@Remote..
Also I downloaded JBOSS 5.0 unzipped it. Set JAVA_HOME ..JBOSS_HOME but server is till not started after clicking on run.bat