Top "Ejb-3.0" questions

This tag is used for question related to the session bean and message-driven bean component types of the EJB 3.0 programming model.

Unsatisfied dependencies for type [...] with qualifiers [@Default] at injection point (using @Stateful EJB with CDI)

I have the following code to manage two kinds of repositories. Both repository classes inherit an interface to allow reinitialization …

java ejb-3.0 java-ee-6 cdi seam3
How can I avoid the Warning "firstResult/maxResults specified with collection fetch; applying in memory!" when using Hibernate?

I'm getting a warning in the Server log "firstResult/maxResults specified with collection fetch; applying in memory!". However everything working …

java hibernate jpa jpql ejb-3.0
NameNotFoundException when calling a EJB in Weblogic 10.3

I have a EJB defined as this: package com.foo; @Stateless (mappedName="HelloWorld") public class HelloWorldBean implements HelloWorld, HelloWorldLocal .... When …

java ejb-3.0 weblogic weblogic-10.x stateless-session-bean
Glassfish v3 / JNDI entry cannot be found problems!

I've been having problems trying to call an EJB's method from a Java Application Client. Here is the code. EJB …

java glassfish ejb-3.0 jndi glassfish-3
A JDBC Driver or DataSource class name must be specified in the ConnectionDriverName property "How to solve it?"

overview : This my first tutorial by Websphere 7 Server & JPA 1.0 & EJB & Derby Database. First : My data source name …

jpa jakarta-ee ejb-3.0 websphere-7
Better Exception Handling in JPA

I used EJB3/JPA when persisting my entities and I am happy on how it is able to manage my …

java ejb-3.0 jpa-2.0
EJB Invocation failed on component by java.security.AccessControlException

I have a method in EJB Bean @Override public void checkReqPermission(List<String> req, MyContext context) throws AccessControlException, …

java security jboss7.x ejb-3.0 invocation
Named Query Or Native Query or Query Which one is better in performance point of view?

Which one is better among following(EJB 3 JPA) //Query a). getEntityManager().createQuery("select o from User o"); //Named Query where …

java ejb-3.0
Best current framework for unit testing EJB3 / JPA

Starting a new project using EJB 3 / JPA, mainly stateless session beans and batch jobs. I've used JUnit in the past …

java unit-testing jpa jakarta-ee ejb-3.0
Embedding images into html email with java mail

I am sending html and images with javamail but for some reason I don't see the images as part of …

java html jakarta-ee ejb-3.0 jakarta-mail