I\'ve recently deployed my application on a glassfish installation running on Unix and I\'m having serious performance issues with a section of the code.
I have such managed bean in my Java EE 6 app: @Named @RequestScoped @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
In big projects, with lots of dependencies, the WEB-INF/lib folder is often crowded with jars. I really feel that there is a lot more than we use.
I\'m in a situation where I need to determine the EntityManager\'s unit name at run time. For example, I\'d like to do something like this:
I have a Many-to-Many relationship between a persistent object (retrieved by a query) and a newly created transient object (created with new, not yet persisted).
Are Java EE 6 CDI events transactional? If I fire an event in a transaction开发者_StackOverflow, and subsequently roll back the transaction, are the effects of the Event listener rolled back as well?
I have written a JCA resource adapter before. However, now I find myself in a position of having to write one solely to get access to the BootstrapContext and its associated WorkManager, and effectiv
I need to display/edit polymorphic entities. My abstract class is Person. 开发者_如何学运维My concrete classes are PhysicalPerson and MoralPerson
I\'m using Glassfish 3.0.1. I sometimes get this error when attempting to call a local EJB: [#|2010-11-10T19:17:25.014+0000|INFO|glassfish3.0.1|javax.enterprise.system.core.security|
I\'m using JAX-RS Jersey as my controller and the JSP\'s for my view. Here is an example: @Path(\"/\")