Options for @Asynchronous
-like feature in Weblogic 11g (apart from JMS of course)? Use Executor
service and spawn unmanaged threads?
Asked
Active
Viewed 252 times
-1

Alexander Rühl
- 6,769
- 9
- 53
- 96

Abhishek
- 1,175
- 1
- 11
- 21
-
I flagged this as a duplicate of [Custom Thread on Weblogic Server 11g](http://stackoverflow.com/questions/21516540/custom-thread-on-weblogic-server-11g) but it looks like it didn't pass review for some reason. In any event you will find your answer there. I've used the CommonJ WorkManager approach in the past. – Steve C Mar 10 '15 at 12:49
-
You are right. Work Manager API is a weblogic specific way of managing threads which are under container control – Abhishek Mar 10 '15 at 17:50
1 Answers
0
Doing this is discouraged.
If you have to stick with Java EE 5, you might want to look for external scheduling APIs, e.g. Quartz.

Community
- 1
- 1

Alexander Rühl
- 6,769
- 9
- 53
- 96
-
Weblogic offers CommonJ work manager and timer API. Not sure why i would use quartz? Am i missing something? – Abhishek Mar 10 '15 at 17:51
-
@Abhishek: Of course you can use other frameworks than Quartz, it's just something we used successfully in our applications for a similar purpose. So if this is available in WebLogic, then use that. (Or better try to convince upgrading to a newer version and be able to use a newer Java EE if possible.) In either case, don't do thread handling yourself in the container. – Alexander Rühl Mar 11 '15 at 08:38
-
Yes. Java EE 6 would be great.. Weblogic 12.1.3 supports some Java EE 7 apis as well. Lets see if I can shoot for it – Abhishek Mar 11 '15 at 17:19