Top "Ejb" questions

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

What is the difference between EJB, hibernate, spring and JSF?

I am very confused with different java frameworks. I want to create a java server project to offer some Restful …

java hibernate spring jsf ejb
Difference between @Stateless and @Singleton

I'm following this tutorial which also uses an EJB: package exercise1; import java.util.Random; import javax.ejb.Stateless; import …

ejb ejb-3.1
Difference between Java Bean and Enterprise Java Beans?

Are they different or they are used interchangeably? If they are Different, then what made them different from each other?

java jakarta-ee ejb javabeans
@Schedule annotation run every few minutes (or seconds)

I would like to try to use the @Schedule annotation in the following way: public class MyTestServlet extends HttpServlet { private …

java ejb schedule
How do CDI and EJB compare? interact?

I'm having a tough time understanding how the two interact and where the boundary between them lies. Do they overlap? …

java ejb java-ee-6 cdi
What is local/remote and no-interface view in EJB?

I am trying to understand what the purpose and why we need the different client views in EJB. Could someone …

java jakarta-ee ejb
When does @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) commit?

An EJB method named Aby calls another EJB method named Bob Bob is marked with @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) When …

jakarta-ee ejb jta container-managed
How do I get the @RolesAllowed annotation to work for my Web application?

I am making a Web application using Backbone.js, Bootstrap, NetBeans IDE 8.0, Java EE 7, JDK 8, WildFly server 8.1.0, JBoss RESTEasy (resteasy-jaxrs-3.0.8), …

java security ejb jax-rs resteasy
Unsupported Class Version Error

While trying to call an EJB made using NETbeans (using jdk1.7) from a client made using Eclipse IDE (using jdk1.6), …

ejb java jdk1.6 java-7
Why is PostConstruct not called?

I am working on a simple Java EE application. I have class like this: import javax.annotation.PostConstruct; import javax.…

java jakarta-ee ejb