Thread EJB3.0 : Dependency injection in Servlet problem
EJB3.0 : Dependency injection in Servlet problemHi, I am trying few things in EJB3.0 DI, using Jboss EAP 6. I created an EAR, with a web module+ EJB (a SLSB). I am trying to inject EJB in a servlet. The deployment is successful, but when i try to access the servl...
Thread java.lang.IllegalArgumentException to invoke an EJB from a servlet
java.lang.IllegalArgumentException to invoke an EJB from a servletHello, im getting a exception when i try to invoke a ejb from a servlet. I deployed a Jar File on JBoss AS 7.1 and an war which contains the servlet. When I deploy war and jar on Server i get no ex...
Thread Disable Instance Pooling for a Stateless bean
Disable Instance Pooling for a Stateless beanFrom this link http://planet.jboss.org/post/jboss_as_7_0_1_configuring_ejb3_pools, I can undestand how can you configure customized pools for your beans. Last few lines in the same post suggests that disabling...
Thread Does jboss-as-7.1.1.Final supports entity beans?
Does jboss-as-7.1.1.Final supports entity beans?I am using EJB2.x. So I just want to confirm whether jboss-as-7.1.1.Final supports entity beans or not? If yes then can you please help me how to lookup for local EJB ? I tried but getting Naming...
Article Error while lookup through client,unable to access the EntityBean
Error while lookup through client,unable to access the EntityBeanI am trying to create a Entity bean to connect with a MySql databse using remote client but its giving error,using Jboss eap 7.1,Eclipse Juno to connect with Mysql databse 5.6,below are the source codes: Entit...
EJB2.x invocation in jboss-as-7.1.1.FinalHi, I had a problem while invocating ejbs in jboss as 7. Here i have a statefull session bean named EJBController.The jndi lookup works fine but when i say HomeInterface.create() i am getti...
Remote ejb jboss restartHi, I have distinct client + server jboss instances for remote ejb invocation running similar to https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+server+instance They are running on di...
EJB Deployment issue with Local JNDI NameHi, I am deploying and EJB application (EJB 2.1) in Jboss EAP 5.1. The problem that I am facing now is my local JNDI names are not getting created in the java name sapce, insted they are getting created ...
jax-rs 2.0 client apii 'm studing resteasy 3.0 user guider, for jax-rs 2.0 client api Knowledge Lack of examples although i search all from eaxmple ,Can you provide a detailed eaxmple jax-rs 2.0 client thanks very much
org.hibernate.LazyInitializationExceptioni I spend a lot of timeWorking on this problem but fail please help me The environment is jboss 7.1 ,use the jboss7.1 jar I am in accordance with the resteasy-jaxrs-3.0.1 user guid ...
Thread how to bind EJB 2.1 bean with JNDI name specified in jboss.xml
how to bind EJB 2.1 bean with JNDI name specified in jboss.xmlI have deployed a simple ear with a ejb 2.1 session bean and a war that utilizes this bean, The problems after deploying the ear, the session bean is bound to a module specific JNDI name (appname/modulename/beanname...
Thread how do I get the stateful session bean instance once again?
how do I get the stateful session bean instance once again?my client public static RemoteCounter lookupRemoteCounter() throws NamingException { final Context context = new InitialContext(jndiProperties); final String beanName = CounterBean.class....
SLSB method not working as per expectaionsHi all. We had developed an application using Struts2.1.8,EJB3.0,MS SQL Server 2005. Application runs on JBoss4.2.2GA in all Dev,QA,Prod env. As we are using EJB, we expect either the whole operations in method...
Thread getEjbObject on SFSB throws JBAS014354: Bean has no EJBObject
getEjbObject on SFSB throws JBAS014354: Bean has no EJBObjectI am working on jboss-as-7.1.3.Final and want to access the Handle of a StatefulSessionBean: <code> @Stateful @Remote(Session.class) public class SessionBean implements Session { &...
About EJB 2.1 Transaction RollbackHi I can't understand the following server log from executing the code 1)method removeTradeBySqlAndLockByAgreementId() call method removeTradesBySqlWithNewTransation() both are 'require-new' transaction meth...