Top "Ejb" questions

Enterprise JavaBeans (EJB) is a managed, server-side component architecture for modular construction of enterprise applications.

JNDI Lookup of local EJB (no @EJB)

I have a requirement where I'm asked to load both remote and local EJBs with a JNDI lookup, so without …

java jakarta-ee ejb ejb-3.0 websphere-8
Is still useful to implement EJB with RMI when you can implement Web Services (SOA/REST)?

This might sound similar to this, but it's not. I kind of understand EJB and RMI, and I have been …

java web-services jakarta-ee ejb rmi
How to resolve 'Api type [java.util.Set] is not found with the qualifiers' Error when starting TomEE 1.6.0 plus?

Following on from this question TomEE on eclipse, How to call a remote EJB from a JSF Managed bean? I …

ejb cdi openejb apache-tomee
Where can I find a complete Maven Cargo plugin example for EJB tests?

For tests of some small JBoss enterprise apps I would like to use JUnit, and the Maven Cargo plugin. (I …

maven-2 jboss junit ejb cargo
ejb Security questions regarding Roles and Authentication

I'd be very grateful is someone could assist me with the following questions: What are the differences between @RolesAllowed and @…

java security login ejb roles
@EJB annotation vs JNDI lookup

Is there any situation where it's better to use JNDI than to inject a stateless session bean using the @EJB …

jakarta-ee dependency-injection ejb ejb-3.0 jsf-1.2
How do I create a non-persistent EJB 3.1 Timer?

Using NetBeans 7.1 / GlassFish 3.1, I created a new TimerSessionBean. @Stateless public class NewTimerSessionBean implements NewTimerSessionBeanLocal { @Schedule(minute = "*", second = "0", dayOfMonth = "*", month = "*", year = "*", …

java timer ejb ejb-3.1
sessionscoped managed bean vs stateful ejb

If I have a @ManagedBean that's @SessionScoped, why would I use a @Stateful EJB? I used it before for shopping …

jsf ejb managed-bean stateful-session-bean
Can't deploy an EJB module to Glassfish

I am using NetBeans 8.0.2, jdk 1.8 and Glassfish 4. I have also used another config, with NB 7.3.1, jdk 1.7 and GF 3.1.2 and the …

java netbeans glassfish ejb ear
Inject @SessionScoped CDI Bean to @Stateless EJB

I'd like to inject a sessionscoped CDI bean into a stateless EJB. At access time of the EJB the correct …

jakarta-ee ejb cdi glassfish-4 weld