Log in to follow, share, and participate in this community.
Thread How to inject data source in AS independent way?
How to inject data source in AS independent way?Hi, Our application uses a number of data sources. In all examples we have found data source injection in an EJB is done with the @Resource annotation and the 'mappedName' attribute, e.g.:
@Resource(mappedName="jav...
ManyToOne gives EntityNotFoundExceptionMy problem is that I get a EntityNotFoundException when I load a entity if the one side of a Many-to-one unidirectional doesn't exists in the database. Can someone please explain why. Obviosly I don't have a FK in t...
EJB vs. POJO - PerformanceHi, I noticed during a profiling process of my application, that the method invocation on an injected POJO is much faster, than the same method invoked on an EJB. A comparison of both call trees shows...
Brms persistance.xml loading in MDBHi, I am trying to trigger jbpm events from a jms queue. I use EAP 6.1.0 with BRMS 5.3.1. deployable. I created an "org.drools" modu...
JBoss library conflit issueI try to integrate jasper report into my current web application. The current web application config is as below: JBoss 4.0.3, EJB 1.1, struts 1.1 As I can't upgrade the current web app's library, I can't i...
Thread @Schedules and @Schedule incorrect next timout value
@Schedules and @Schedule incorrect next timout valueHello to everyone I have noticed what may be a feature or may be a bug, but in the scenario of and ejb timer with a similar annotation @Schedules({ @Schedule(hour&...
EJB Timer deploymentHello I'm using ejb timer for the first time and this is my code below. import javax.ejb.Schedule; import javax.ejb.Stateless; import javax.ejb.Timer; @Stateless public class Schedule...
No EJB Receiver Available to HandleHi All, I am very new to EJB3 and jboss. Below is the environment I am using. eclipse juno. jboss 7.1 EJB 3.0 Description : I have made an EJB project in which I have a simple stateless bea...
Thread Deploy ejb project to JBOSS AS7.1.0 final issue.
Deploy ejb project to JBOSS AS7.1.0 final issue.Hi eveyone. I am new in JBOSS AS 7.1.0. recently, i try to create a EJB project named Myejb and do deployment on JBOSS AS7.1.0 final. The .jar file can be deployed successful as following logs: 8:06:48,580 IN...
problem with jndi lookup with ejb3<pre> Hi friends i am facing issues with lookup of ejb3 stateless session bean ,i attached the source for the same . my statelesssession bean is deployed successfully in jboss 7.1 an...
entityManager.find() returns nullI am using JBoss 4.0.4-GA with Oracle XE. I have two tables which have strings for their PK and the PK column is named the same as the table:
CREATE TABLE CURRENCY
(
CURRENCY CHAR(8 CHAR) NOT NULL,
...
)
CREATE ...
Thread Passivated SFSB is not getting removed from memory in Jboss 4.2.3GA.
Passivated SFSB is not getting removed from memory in Jboss 4.2.3GA.Hi, Recently, we had a customer issue where our application was running OOM. Our application uses Jboss 4.2.3GA and JRE1.6 and is a 32-bit application. On debugging with the help of VisualVM, we noticed that several ...
Thread @PersistenceContext not injecting EntityManager in SLSB
@PersistenceContext not injecting EntityManager in SLSBI have an EAR file in which I have an EJB jar and a WAR file. The EJB jar defines a SLSB and contains persistence.xml. The SLSB is also a Seam component. The web app is Seam (2.3.1.Final) based application. In the web...
Persistence Unit NOTYETINSTALLEDI am trying to learn EJB3 on 4.0.4GA-Patch1, and am having trouble with my persistence unit. The whole application is packaged in an EAR, with the entity beans in one jar, the session beans in another jar, and the we...
Cycle in relation one-to-manyHi all! I've a problem with relations one to many. In my EJB I used annotations @OneToMany and @ManyToOne for relation. I used @XmlTransient but someone knows an alternative at this?
JBoss 6.1.0.Final SFSB concurrency issueHi, I am trying to run a test to investigate a performace issue after upgrading from JBoss 4.0.5 to 6.1. For this I use a simple test application with a service which starts threads, each thread looks-up a SFS...