I've been getting a load of rollbackexception when calling some SELECT JPQL or namedqueries from a Singleton.
The Singleton as one method with the @Schedule annotation calling the some others db query ...
I have many EJBs with my business methods. These methods use @RolesAllowed annotation to check if user can execute this method.
So I have an EJB Scheduler that calls these EJB methods. ...
I've got a method in a Java EE6 Singleton Session Bean which is called by a @Schedule(...) timer every 30 seconds. This works as expected until an exception is thrown and ...
I am trying to figure out the possibilities I have to solve the following problem.
a) I want to have a database table that uses "crontab syntax" to schedule tasks, the structure ...
I'm new to EJB and I'm facing my first problem. I'm trying to use an @Schedule method contained in a Stateless EJB. I'd like this method to use a private member ...
@Singleton
@Startup
public class EBlastScheduler {
@Resource
TimerService timerService;
EBlastScheduler what = new EBlastScheduler();
@PostConstruct
public void initialize(){
if (timerService.getTimers() != null) {
...
In Java EE 5, when using timers and the timer service, who handles the timeout invocation?
Can I be sure that the stateless session bean which created the timer wil be the ...