Log in to follow, share, and participate in this community.
Thread How to reference ejb jar file inside web.xml
How to reference ejb jar file inside web.xmlhow to reference ejb jar file in WAR file's web.xml our application use cocoon framework, application deploy as Ear. EAR has WAR and EJB jar module, how to reference this EJB jar module in web.xml ...
Migrating ejb 2.1 entity beans to 3.1Hello, I need some pointers for migrating ejb 2.1 entity beans with Bean Managed Persistence to ejb 3.1. I know that in 3.1 the table must be mapped on the entity bean, and that annotations are being use...
Thread Is it possible to make an EJB 2.x call from AS 7.1.1 to 4.2.2?
Is it possible to make an EJB 2.x call from AS 7.1.1 to 4.2.2?Is it possible to make EJB calls from an EJB client on AS 7.1.1 into a EJB provider running on AS 4.2.2? If so how? I looked at some examples but they seem to be goign the other direction.
Thread Does JBoss 7 support local EJB clients from different applications?
Does JBoss 7 support local EJB clients from different applications?Hello. The EJB 3.1 spec states: Access to an enterprise bean through the local client view is only required to be supported for local clients packaged within the same application as the enterprise bean that p...
Thread Scoped EJB Client Contexts Question: lookup "ejb:" or "java:"
Scoped EJB Client Contexts Question: lookup "ejb:" or "java:"I can't understand why this doesn't work for me: Context ejbRootNamingContext = (Context) new InitialContext(props).lookup("ejb:"); But this works: Context ejbRootNamingContext = (Context) new InitialContext...
Article Does anyone know whether Jboss 7.1.1 Final support EJB2.1 codes?
Does anyone know whether Jboss 7.1.1 Final support EJB2.1 codes?Dear all experts, I am going to migrate my application from JBOSS 6 to JBOSS 7. The application was written in legacy J2ee 1.4 codes and so it contains a large number of EJB2.1 codes. I have heard that J...
WatcherService hangs server at shutdownSo im running JBoss AS 7.1.1.Final "brontes" in a maven3 project running eclipse kepler and java7. I am trying to build a watcherService that is monitoring a folder for updates. I have a Singleton that at star...
Thread Can't close a scoped RMI connection withouth an exception
Can't close a scoped RMI connection withouth an exceptionHello, I'm having trouble with a remote connection to another jboss server, actually with closing it. So I have 2 JBoss AS 7, an stateless EJB A deployed on server 1 and an stateless EJB B deployed on ...
Error with HornetQ and EJBI am Getting the following Exception when trying to deliver Message to my EJB. 2012-06-07 12:34:28,704 ERROR [org.hornetq.ra.inflow.HornetQMessageHandler] (Thread-3 (group:HornetQ-client-global-threads-3095893...
Thread transaction propagation and jdbc dao in ejb 2.1
transaction propagation and jdbc dao in ejb 2.1Hello All, I have a stateless session bean, in one of the methods I am using jdbc dao to get some data from db. This dao does select query. Session bean starts transaction and updates data, within same transaction I ...
Thread Pass data between Interceptors and Asynchronous methods
Pass data between Interceptors and Asynchronous methodsHi, I recently asked this question in stackoverflow with not so great responses, but finally arrived to a solution. http://stackoverflow.com/questions/24809196/how-to-pass-data-from-ejb-to-async-ejb/24940141#24940141...
Thread NameNotFoundException in JBoss 6.1 but not in 4.0.4
NameNotFoundException in JBoss 6.1 but not in 4.0.4Hello, I am migrating an application from JBoss 4.0.4 to JBoss 6.1. I have a jar that has some version 2.1 EJBs. One of the session beans has a static initializer that looks up an entity bean. That works ok in...
Thread Problems with using a stateful session bean from a singleton bean
Problems with using a stateful session bean from a singleton beanI'm having some problems with the order application (http://docs.oracle.com/javaee/6/tutorial/doc/giqst.html) from the Java EE 6 tutorial. I don't want to include all the source code because it's too big, but you can ...
Thread Invoke Remote Session Bean 2.1 in WAS 6.1 from JBoss 7.1
Invoke Remote Session Bean 2.1 in WAS 6.1 from JBoss 7.1Hi all, I need help. I'm trying to invoke a EJB 2.1 deployed in WAS 6.1 from JSF Application deployed in JBoss 7.1 and i get the ClassCastException but i dont know why. Trace: 21:42:10,673 ERRO...
Thread Load-balancing EJB calls from an EJB client
Load-balancing EJB calls from an EJB clientI'm using a JBoss cluster with a number of EJB components deployed on it. I've noticed the following: If I perform a JNDI lookup from an external client, the load-balancing process works as expected (i.e. a random cl...
Are Stateless Session EJB Thread-safeIf I have multiple clients making requests on a single stateless session EJB at the same time what happens ? It is my understanding that EJB's are thread-safe. So does the container place the requests in a queue or wh...