ejb
What exactly is Java EE?
I have been doing Java SE for some years now and moving on to Java EE. However, I have some trouble understanding some aspects of Java EE.[详细]
2023-04-02 11:14 分类:问答Java EJB @Asynchronous loop - How to know when all the calls are complete before moving on?
I have this code in an ejb for (PayrollEntry pe : payroll.getEntries()) { recalculateP开发者_运维技巧ayrollEntry(pe);[详细]
2023-04-02 01:06 分类:问答Stateless EJB with more injected EJBs instances
I know Stateless EJBs are stored in a pool and instantiated as needed, my question is, what happens when there are more EJB dependencies, for example with something like this:[详细]
2023-04-02 00:20 分类:问答Can env-entry values from ejb-jar.xml be modified during runtime in Glassfish?
My EJB project, packaged in an EAR, defines some env-entry configuration values in its ejb-jar.xml. I can inject these into my session bean fine.[详细]
2023-04-01 23:20 分类:问答ClassCastException when casting looked-up EJB view in AS7
I have am deploying 2 EARs onto JBoss AS 7.1.0.Alpha1-SNAPSHOT (post 7.0.1.Final version). Both deploy fine.[详细]
2023-04-01 22:32 分类:问答EJB - Can you use a bean within a bean
For example, can I do the following @Stateless @LocalBean public class MyBean extends AbstractFacade<MyBeanEntity>[详细]
2023-04-01 20:34 分类:问答Why do we have to manually flush() the EntityManager in a extended PersistenceContext?
In our J2EE application, we use a EJB-3 stateful bean to allow the front code to create, modify and save persistent entities (managed through JPA-2).[详细]
2023-04-01 16:26 分类:问答EJB dependency injection into Servelt - WAS7
I am trying to inject an EJB with the @EJB annotation : when I inject an EJB into another EJB it works fine.[详细]
2023-04-01 16:17 分类:问答Problem deploying scheduled EJB to Glassfish server
I have a weird (?) problem with an EJB I want to deploy to my Glassfish 3.1 application server. I have this bean, which should be executed continuously in Glassfish using the @Schedule annotation. T[详细]
2023-04-01 14:09 分类:问答JPA using alternative "persistence.xml"
I know that with the instruction: Persistence.createEntityManagerFactory(\"persistence-unit-name\"); The JPA persistence mechanism reads the \"persistence.xml\" file, looks for the persistence unit[详细]
2023-04-01 13:23 分类:问答