ejb-3.1
@Asynchronous private method in EJB
I have an asynchronous method in my EJB singlet开发者_JAVA技巧on that\'s called from another method in the same class. I already know that I can\'t call the asynchronous method directly, I have to obt[详细]
2023-01-18 11:44 分类:问答Why session bean method throw EjbTransactionRolledbackException when RuntimeException was thrown
I am trying to per开发者_开发百科sist the entity with constraint validation, when invoke persist - there is constraint that thrown and the caller get EjbTransactionRolledbackException...[详细]
2023-01-18 01:47 分类:问答How to handle JPA Many-to-One Relation?
I am designing an application for collecting weather data. I have 2 POJO objects \"Location\" and \"Record\". Location contains information about latitude and longitude and the current weather conditi[详细]
2023-01-17 23:10 分类:问答EE 6 (GlassFish): how many containers? How many singletons?
Ok, still trying to understand the basic EE 6 concepts here. I\'m hoping someone here can help me out.[详细]
2023-01-16 17:06 分类:问答How can i use serializable transactions on Java EE 6?
I am learning the new annota开发者_运维问答tions for transaction management, like @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW), but i could not find out how to create a transaction wit[详细]
2023-01-16 05:42 分类:问答How JEE6 makes the link between Observer and Observee (Observer Pattern)
I\'ve read some blog articles about Observer pattern implementation on JEE6 and something bother me... I can\'t find any information atm so i ask there...[详细]
2023-01-14 00:40 分类:问答how can i test an EJB using netbeans?
I have been struggling trying to test a super simple EJB project in netbeans.i have tried several examples form my java book, and an even simpler example i found online (http://javadude.wordpress.com/[详细]
2023-01-12 03:00 分类:问答DEADLOCK, EJB 3.1 with asynchronous Method and TimerService in Singleton
In my Singleton-EJB i start a TimerService every 2 minutes. When a client access the test method sometimes the application runs into a deadlock. The problem is, the test method calls a asynchronous me[详细]
2023-01-11 22:47 分类:问答unit testing EJBs with Maven 2 and Glassfish 3
I\'ve been trying to set my application up so that I can unit test it\'s EJBs all day but I can\'t seem to get past what seems like a really simple problem.[详细]
2023-01-10 04:04 分类:问答Is there any way to know the progress of a EJB Asynchronous process?
I\'m trying to get the percentage of the progress from a EJB Asynchronous process. Is thi开发者_如何学Cs possible?[详细]
2023-01-09 22:28 分类:问答