I am experimenting with Jakarta EE and Jakarta Faces (JSF). I just made a CDI named session scoped bean (as JSF managedBean's are deprecated now), and ...
I am experimenting with Jakarta EE and Jakarta Faces (JSF). I just made a CDI named session scoped bean (as JSF managedBean's are deprecated now), and ...
I am new to JAVA EE. I am trying to implement stateful session Bean via IntelliJ IDEA and glassfish server 4.0 while running the code getting below ex ...
I have external library that requires very long initialization time (approx. 2 minutes) and I need to call it in almost every HTTP request that is han ...
I am a beginner in the Jakarta EE world. I am going through a Jakarta EE module at university and I am struggling to find information that properly an ...
I Have a rest app created with Jersey framework I'm trying to inject Stateful bean into my rest controller, but this bean always is created again. I'v ...
I have this simple Stateful session bean (a single op stack calculator): That works fine with this servlet: That works well except that the same ...
I have running two EAP 7.0 instances, both with standalone-full-ha.xml One is started with: The other one with: Both start with success and I ...
Earlier days when I used to do coding, I used mostly Stateless Session Beans and all the info needed to traverse across pages was put in HTTP Session ...
I have UserBean in my Spring-MVC project to store user. Can I autowire it into service layer? Should I autowire it only into controllers? First w ...
I was checking EJB stateful beans, the typical example for using this bean is in a shopping cart. So in the example what is done is check in HttpSess ...
I am a little confused as to the usage of stateful session beans (SFSB) versus stateless session beans (SLSB). I understand that SFSB's maintain stat ...
This question is an offshoot of another that I posted a couple of weeks ago: log4j2 logging of code in EJB jar on JBoss EAP 7. In that post I posed a ...
I am having trouble figuring out why an EJB session bean is not working. The actual error message is an EJBException: NameNotFoundException, but that ...
I am kind of new to EJB. I have understanding how HTTPSession is maintained (all cookies funda). All the resource in the internet says " Stateful Sess ...
Using NetBeans, I have successfully run the shopping-cart example presented in the Java EE 6 tutorial on the Oracle website. It's an EAR with two modu ...
I know this has been asked million times, but so far it didn't answer the question in my head, I think it's best to understand in code, could someone ...
I just started learning ejb and now have problems. My ejb code is It's only for testing. Ok, so, after 80 sec I get problem from WildFly 1) I th ...
Currently I am using EJB3.0 session beans in my application. Normally i lookup the bean using jndi name and call the concerned method. But recently wh ...
I have read that @Stateful bean (SFSB) should be never injected into @Stateless bean (SLSB). But what is the correct way to achieve the following? ...
I want to do clustering with ear project. I found one solution to run standalone in clustering using standalone-ha.xml configuration. I followed below ...