In my current project I see workmanager uses to process the thread in asynchronous. We are getting getting rid off IBM products and start using Tomcat. I need some input to replace the workmanager with what. I see commonj api but need some thoughts.
Websphere workmanager alternative
704 Views Asked by Java hunger At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in SPRING
- Redirect inside java interceptor
- Spring RestTemplate passing the type of the response
- spring-integration-dsl-groovy-http return null when i use httpGet method
- Custom Spring annotation for request parameters
- Spring - configure Jboss Intros for xml with java config?
- HTTP Status 404 - Not Found in Spring 3.2.7
- AndroidAnnotations how to use setBearerAuth
- android I/O error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found
- Show login dialog when not authenticated yet
- Spring Data Rest supporting json and xml
- @Value annotation not resolved in a class that belongs to dependency jar
- Remove nested _embedded fields while using projections
- How to send Rest GET request that contains "#" value in url parameters?
- How to inject spring bean into Validator(hibernate)
- How to keep a variable in the URL when using Spring LocaleChangeInterceptor
Related Questions in TOMCAT
- Best way to pass an environment variable to several config files
- Openshift context path
- KeyStore file is not found in jar, although present in jar
- phpseclib of how to get PID and kill
- Unable to connect database of lamp instance from servlet running on tomcat instance of google cloud
- Spring and Tomcat: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
- How can I get a custom header from the client in Tomcat?
- why lost Mysql connection pool after a period?
- Eclipse Java EE + Bitnami Tomcat Stack
- Service not starting using Spring-boot during integration tests
- Image not loading in web page and says 404 error
- Maven Tomcat plugin - 404 WebServlet not found
- How to deploy a spring boot MVC application in traditional tomcat webapps folder?
- Tomcat Manager is not accessible in multi-domain configuration
- JSP return Jasper Exceptions on my friend's pc's when it works on mine
Related Questions in COMMONJ
- OC4J (10.1.2) orion-web.xml
- How do I ignore stuck threads in a Weblogic Server
- "AsynchBeans Service not initialized" error trying to lookup WebSphere 7 WorkManager
- How to implement CommonJ Work Manager with WebSphere?
- How to use commonJ Timer Manager in MDB at Weblogic 10.3 environment
- Is there a way to integrate CommonJ WorkManager with Glassfish
- How to map commonj.work.WorkManager with weblogic 10.3 Work Manager
- Using a Commonj Work Manager to send Asynchronous HTTP calls
- Why is Weblogic work manager is rejecting work
- Custom Thread on Weblogic Server 11g
- Programmatically create WorkManager on WAS 6.1
- Thread keeps running even after application has been stopped in Websphere
- commonj workmanager in jboss threads not waiting to complete
- Common timeout across ExecutorChannel threads
- Websphere workmanager alternative
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
For simplest solution you can use WorkManager in Tomcat. See here for example.
However since java 1.5 and JSR-236 it is better to use Executors instead of WorkManager. My practice is to wrap CommonJ WorkManager with Executor facade when application is deployed to WebSphere. And on other platforms use Executors directly.
This is mostly because of legacy code support. New applictions should use Executors directly and forget on WorkManagers, as WorkManager in latest WAS is Executor implementation.
Spring is offering WorkManager Executor wrapper since like forever. It is called WorkManagerTaskExecutor, and with it you can wrap your workmanagers in executors api.
Or to work with Executors and JSR-236 directly use DefaultManagedTaskExecutor. On WAS JSR-236 executor is still implemented using WorkManager instance but that is now implementation detail instead.