Is is possible to work work with Java Threads ind WDJ 04s ?

Hi experts,
it is possible to work with treads in wdj 04s? I want to reder the ui in one therad and another one should read the data from serveral webservices! After all webservice cals are finished the data should be shown on the ui.
Example:
1. User start process -> User see the UI and a progressbar
2. In background the wervice get the data
3. User see the improvement
How it is possible?
It ist not possible withe the progress bar ui element because I always lost one second between the calls....

Basically, you shouldn't use threads in any Application Server, since the environment is not thread-safe.
I think there's a scheduler API in NW that would fit you best. Create your "task" as a scheduled task, happening once, and query this task using some sort of TimerTrigger.
Would be a way easier if WDP was a bit more advanced, at least I don't see an easy way for you to do that.
One way running J2EE 1.4 would be the use of ejbTimeout.
Hope it helps,
Daniel
Edited by: Daniel Ruiz on Dec 3, 2009 2:24 PM

Similar Messages

  • Is it possible to working in Java Stored Procedures with OCI driver?

    Hello ALL.
    Could you help me...
    Is it possible to working in Java Stored Procedures with OCI driver?
    I want to try to do some workaround...
    I need to work with following parametrs from Java Stored Procedures:
    DriverManager.registerDriver (new oracle.jdbc.OracleDriver());
    String url = null;
    url = "jdbc:oracle:oci:@TEST";
    conn = DriverManager.getConnection (url,"scott","tiger");
    Is it possible?
    I tried but I have errors...
    Please, help me!
    Thanks

    You cannot call OCI functions directly from PL/SQL. You could, of course, write an external procedure that made OCI calls, though you could also write an external procedure in Java. I'm guessing the documentation is trying to convey this same information-- you would need an external procedure that used OCI if you wanted to use the old-school interfaces for LONG and LOB data types. If you converted to using LOBs rather than LONGs, you could do everything in PL/SQL.
    Justin

  • Can "scrollmouses" work with java scrollbars

    Hi,
    These days many mouses have a third "button" (between the two usual buttons) for scrolling. So my question: Is it possible to get this scroll-button to work with java scrollbars?
    -Ohto

    I haven't done anything with it myself, but mouse wheel support was added in 1.4. Check out the java.awt.event.MouseWheelEvent class.

  • Applets not working with Java 1.7.0_51 in MII 14.0 SP4 Patch 5

    Hi,
    I'm currently evaluating the migration of our MII 12.0 developments to MII 14.
    But I'm running in several issues just trying to use simple things like a SQL query template with an iGrid Display template in test mode.
    Used versions are: MII 14.0 SP4 Patch 5 and on client side the latest Mozilla Firefox with Java 1.7.0_51
    At first I always get a java security warning when the applet is being loaded about unsigned applications.
    At second the applet itself is not running. It always shows "No data available" and the java console shows the following errors (iResult is the id of the applet):
    iResult [ERROR] - Couldn't set query template: No Query Defined
    iResult [ERROR] - Couldn't set display template: null
    iResult [ERROR] - Couldn't set display template: null
    Is this perhaps a general problem, that the MII applets are not working with Java 1.7.x versions?
    If I call the same MII page from a client with Java 1.6.x it is working without errors.
    Do you have some suggestions for me?
    Regards Timo

    please clear your JAVA Cache. that should solve the JRE issue. thanks

  • Mapping editor not working with Java 5 classes

    I have a small protoype web service which I wrote using Tomcat/Axis/Spring/Hibernate and using EJB3 annotations for the mappings. I want to port the persistence layer to Toplink.
    I installed Toplink 9.0.4.1 and added the toplink libraries to my project and implemented the DAO and the spring bean defs.
    I opened the mapping editor and created a project. When I try to add classes to it for mapping I get an error that it can't find the classes (even though I selected them from the chooser). I figured it might be that they were compiled with Java 5, so I switched the JRE_HOME in setenv.cmd to my Java 5 JRE. Now I can import the classes and see the attributes but when I click on any of them in the Navigator panel, the editor panel remains blank. If I now try to save, I get:
    java.lang.NullPointerException
         at oracle.toplink.workbench.ui.tools.CheckListModel.getRowCount(CheckListModel.java:119)
         at javax.swing.JTable.checkLeadAnchor(JTable.java:2949)
         at javax.swing.JTable.tableChanged(JTable.java:2993)
         at javax.swing.JTable.setModel(JTable.java:2827)
         at oracle.toplink.workbench.ui.tools.CheckList.initialize(CheckList.java:47)
         at oracle.toplink.workbench.ui.tools.CheckList.<init>(CheckList.java:26)
    It seems that the mapping workbench doesnt work with Java 5. What should I do?

    Ah, I see. I saw another post here stating that must use 10.1.3.

  • Premiere Pro cc 2014 do not import After Effects composition. Inside Premiere Pro CC 2014 is not possible call back After Effects, is not possible to work with After Effects. Thank you

    Premiere Pro cc 2014 do not import After Effects composition. Inside Premiere Pro CC 2014 is not possible call back After Effects, is not possible to work with After Effects. Thank you

    You haven't given us much to go on here.  What exactly are you doing and what exactly happens when you try?  Which specific version of each program are you using?  (Go to Help>About...)
    On a side note, a simple, brief thread title is all that's needed.  Something like "After Effects Issue" would be fine.  You don't need the full question there.

  • Is it possible to work with different languages in different applications?

    Hi,
    is it possible to work with different languages in different applications?
    To have f.e. Photoshop in English and Indesign in Dutch??
    Thanks!

    I am not sure about it that you can use different apps in different language in the same computer, however you can check the following links:
    http://helpx.adobe.com/creative-cloud/kb/change-installed-language.html
    Adjust the install language | CCM
    http://tv.adobe.com/watch/learn-creative-cloud/installing-multiple-languages-of-a-desktop- application/
    Regards
    Rajshree

  • SGD4.6 can't work with Java update7.51

    SGD4.6 can't work with Java latest version update 7.51. The webtop keeps showing "loading", is there any patch for this issue?
    When Java released update 7.21, it also can't work with SGD4.6, then Oracle fixed it by updating a patch, so how about this problem?

    Have a look at this Thread:
    https://community.oracle.com/thread/2614978

  • Is it possible to work with PHP pages in Oracle ERP R12 and how to set up ?

    Hi,
    Is it possible to work with PHP pages in Oracle ERP R12 and how to set up ?
    Regards
    Nandhakumar P

    Hi Nandhakumar,
    To be able to access any Oracle database using PHP you require the following:
    A server with Apache 2+  (Unix, windows etc)
    PHP enabled using OCI8
    tnsnames.ora
    Oracle instant client and associated libraries
    This gives you direct access into oracle database. As for E-Business, you will compromise the security and safty of of R12 by going in through php. Oracle is not likely to support it either.
    I have got a apache/php/Oracle XE working on a test environment and Ithe performance is not a big issue. If you must I would hughly recommend Oracle Linux for quality and security.

  • How i can start working with Java?

    Right now i am having only 8 months of exp in ABAP. can any one help me out to start working with Java specially for Netweaver Purpose

    It is great if you can get yourself familiar with java syntax, as is the case with any new langauage. However, the worst thing you can do is just code java in a top down approach. If you are not familiarizing yourself with OO concepts and best practices, then you are going to miss two important benefits that you will get from using OO programming - Reusability and flexibility in the frameworks that you develop (leveraging design patterns).
    These benefits will also be directly obtainable when you use ABAP objects.
    I am working in the opposite direction at the moment. I have some java experience, and I am starting to learn ABAP. I have used ABAP objects in my first project, and it was actually much better than I thought it would to be.
    Java and OO programming will be an ongoing learning experience. You will not be an expert for quite some time. I do not consider myself to be an expert by any means, and I've be studying OO and java for a few years.
    There is a fantastic book that explains OO concepts clearly, in much easier terms than the Gof "Design Patterns" book:
    Java Design: Objects, UML, and Process by Kirk Knoernschild
    You can read a few chapters at www.kirkk.com. (Use the JOUP link).
    Hope this helps you.
    - Brendan

  • Is possible to work with both Connection Pool?

    Hello,
    I would like to know if is it possible to work with both Connection Pools: Active Directory and DWH User? If it's yes, how can I specify to work with both simultaneously?
    Thank you and regards,
    Mónica.

    Hello Gayathri,
    The version is OBISE1 10.1.3.2.1
    The scenario is the following:
    I have two connection pools
    - One is mapping the DWH and it is using the System's variables :USER and :PASSWORD. Then I have an Initialization Block that get these values and I have created the logins as users in the database.
    - The other is mapping the DWH tables.
    I want to create directly users into the repository. The problem is the users of the repository cann't do the login because the first connection pool is trying to validate then against the database.
    Would be possible to validate the users against the connection pool and the repository simultaneously?
    Thank you and regards,
    Mónica.

  • SDM still not working with Java v6u15

    I keep waiting for Java to work some day with their updates on Cisco SDM. Update 14 at least allowed SDM to open. But the new update 15 still hasn't passed the test of clicking on the Configure button and then the Additional Task button. It just doesn't do anything. If it is something that Cisco can fix, please be aware.
    Thanks,
    .. Jim ..

    Hi Jim, you need to downgrade the JAVA version on the computer you want to use SDM.
    SDM does not support java after: 6u3.
    Cisco SDM requires Sun Java Runtime Environment (JRE). The following versions are supported:
    •JRE 1.5_09
    •JRE1.4.2_08
    •JRE 1.5.0_06
    •JRE 1.5.0_07
    •JRE 1.6.0_02
    •JRE 1.6.0_03
    As per the release notes.
    http://www.cisco.com/en/US/docs/routers/access/cisco_router_and_security_device_manager/software/release/notes/SDMr25.html
    This will resolve your issue.
    Cisco does not plan to fix this as SDM is end of life.
    The product that replaces SDM is CCP: Cisco Configuration Professional, that one works with JAva 6 update 14, but it's a different product. It's also a freeware you can download from our website.

  • Who works with java?

    A friend of mine was telling me how just about every app the isp he works for is designing lately, they've been doing in java. Now this got me curious because I havent' seen much on java for the past year. I'm just curious, if you work with java, what kind of apps do you tend to create with it?

    Java is pretty much the top language for server side applications, I think because of its high quality threading (it can serve many clients easily). It also seems to be the language of choice for all business applications lately. But that's just because some idiots in a suit heard the name 'java' and decided it was cool, IMNSHO.
    You probably haven't heard much about it because a) Its not overly popular for desktop programs yet b) the apps that use it just use it without bragging about it and c) its not overly popular in open source. But it seems to be getting bigger.
    To answer your question about what kind of apps I personally create, check the signature.
    Dusty

  • Is oracle ebs work with java version 7.51 ?

    Hi,
    is oracle ebs work with java version 7.51 ?
    Thanks

    Findy Nurtantio wrote:
    Hi,
    is oracle ebs work with java version 7.51 ?
    Thanks
    Yes, Java JRE 1.7.0_51 is certified with Oracle E-Business Suite -- https://blogs.oracle.com/stevenChan/entry/java_jre_1_7_08
    Thanks,
    Hussein

  • Is it possible to Integrate dos with Java to create a sample compiler?

    Is it possible to Integrate dos with Java to create a sample compiler, or do I have to write the compiler from scratch? In theory, I would like to have users enter sample code in a java text field, hit a java button that would compile/run the code, by calling a dos command prompt that would run it, and display any error messages back to the java text field. Does anyone know if this is possible? Any help would be greatly appreciated.
    Tflav23

    There is a Compiler class you might be able to use also:
    C:\jdk1.3.1_01\docs\api\java\lang\Compiler.html
    So perhaps there is no need to create a process to compile code. But I don't know if you can get information about compiler errors.

Maybe you are looking for