Java Integration

To me one of the most appealing aspects of JavaFX is it's integration with Java and being built on the Java Platform.
There is lots of Swing engineers out there and lots of legacy code that can be given a new/modern "skin" using JavaFX - forget this bouncing ball mini-app crap....
But thats were all the focus seems to be as if a "Sun app store" will be the future of JavaFX ...
Its frurstrating as all us in the enterprise seem to be left behind somewhat (no first order FX Table yet - and not even in 1.3 (still listed as post 1.3) so we continue to wait ... while work on bouncing balls continue ;-)
Anyway FX rant over... I am wondering if any work will be done to make working with Java backends a bit simpler ? Specificallly I have a large java backend that needs a new face - it was designed in such a way that the swing layer can be removed and FX added in..
However my API has lots of the following:
List<String> getListBlah()...
i.e. lots of Generics... but FX script does not have any generic support and from what i hear its not planned...
What is the best way to work with say Java6 latest features (Generics etc) in JavaFX (a java5 based scripting platform)
-A-

First, java 5 and java 6 have generics …
JavaFX doesn’t have generics but have sequences.
So, to use a list with generics in Javafx, you must translate it to a javaFX sequence
For example:
Java class
public class MyTestService {
            public List<String> getListString(){
            ArrayList<String> list = new ArrayList<String>();
            list.add("String 1");
            list.add("String 2");
            list.add("String 3");
            return list;
JavaFx class
var myListString:String[];
var myTestService:MyTestService = MyTestService{};
myListString = (myTestService.getListString()).toArray(myListString);
Stage {
    title: "Application title"
    scene: Scene {
        width: 250
        height: 150
        content: [
                ListView {
                    width:100
                    height:125
                    items: bind myListString
}Patrick Champion
[http://paddyweblog.blogspot.com/]

Similar Messages

  • Flex 3 and Java - Integrated Development on Eclipse

    I am new to flex as well as to eclipse. I have downloaded
    Adobe Flex Builder 3.0 and installed it. I want to use java at the
    back-end, but I don't have Java perspective option in eclipse.
    Therefore, I am currently using 2 IDE(s), one is
    flex-builder, and other is Eclipse for Web tool platform
    (eclipse-jee-europa-winter-win32.zip).
    Is there anyway that I can benefit integrated development of
    Flex and java using same IDE?

    I wouldn't try it really... it's not worth the issues you'd
    probably run into and the work of getting it setup, if it's even
    possible. I just run Eclipse and FB separate. If you have a gig of
    ram you should be fine doing this I think.
    If you *really* want to get rid of one, you can use the Flex
    plugin for Eclipse, but I've heard people complain about it not
    playing nice with Java.

  • Crystal Reports server XI release 2 java Integration - Urgent

    Post Author: premnathk.chn
    CA Forum: JAVA
    Hi,
      I am trying to evaluvate Crystal Reports server XI release 2 and i face problems in integrating it with java. can sombody help me out?
    Also when i try to open a report using INFOVIEW i get a cannot open connection error.
    thank & regards,
    Prem

    What problems exactly are you running into?  Are you getting errors?  Also - the infoview error is most likely that the report can't connect to the database - or that the account that the Page or RAS server is running under can't see the database server.  Try running the page server and RAS server under a user account that has domain privileges
    a programmer learning programming from perl is like a chemisty student learning the definition of "exothermic" with dynamite

  • In ColdFusion 10 Java integration, app-context.xml cannot be found in the classpath

    I have jars and dependencies from a vendor Java library that I wanted to use in my new CF10 environment, however the Hibernate/Spring dependencies of the library conflict with those within CF10 itself.  To work around that, I had hoped to use javasettings in an Application.cfc to prioritize the library with the classloader, but the Spring classpath resolver seems to be unable to find a META-INF/spring/app-context.xml in the classpath even though it is within the jar.
    Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [META-INF/spring/app-context.xml]; nested exception is java.io.FileNotFoundException: class path resource [META-INF/spring/app-context.xml] cannot be opened because it does not exist
            at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBean DefinitionReader.java:341)
            at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBean DefinitionReader.java:302)
            at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinition s(AbstractBeanDefinitionReader.java:143)
            at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinition s(AbstractBeanDefinitionReader.java:178)
            at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinition s(AbstractBeanDefinitionReader.java:149)
            at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinition s(AbstractBeanDefinitionReader.java:212)
            at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(Abs tractXmlApplicationContext.java:126)
            at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(Abs tractXmlApplicationContext.java:92)
            at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFact ory(AbstractRefreshableApplicationContext.java:130)
            at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(Abs tractApplicationContext.java:467)
            at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicatio nContext.java:397)
            at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApp licationContext.java:139)
            at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApp licationContext.java:83)
    Can anyone shed some light on why CF can't find this resource?
    Thanks,
    Dave

    ReadPDF rPDF = new ReadPDF();
    Class myClass = rPDF.getClass();
    ClassLoader loader = myClass.getClassLoader();
    URL myURL = loader.getResource("PreviewForm1210.pdf");
    String path = myURL.getPath();
    path = path.replaceAll("%20", " ");
    // Create a PdfReader instance
    PdfReader r = PdfReader.fileReader(path);
    // Create a PdfDocument instance with the reader
    PdfDocument d = new PdfDocument(r);
    // Get page count and display on console
    System.out.println("Number of pages in PreviewForm1210.pdf is " + d.getPageCount());

  • How to deal with java integrity??

    Hi everyone,
    it's just few months that I have started to use Java and since, I've been really confused how to use it. As I've been using C++ before, it's really easy for me to handle a few libraries and keywords and write every thing all by my own. But in Java, TOOOO many libraries and keywords all with different procedures and different cases that really bothers me and I can't understand how to deal with all these. As an example, When I just want to start and write a program, I start searching the net and wow. too many different classes and different Keywords that I get too confused and I prefer not to continue. Would someone please help me and tell me how to find a solution for this essential problem???

    asker wrote:
    I've been using C++ before
    But in Java, TOOOO many keywords Really? C++ has 63 keywords:
    asm    
    auto   
    bool   
    break  
    case   
    catch  
    char   
    class  
    const  
    const_cast 
    continue   
    default    
    delete 
    do 
    double 
    dynamic_cast   
    else   
    enum   
    explicit   
    export 
    extern 
    false 
    float  
    for    
    friend 
    goto   
    if 
    inline 
    int    
    long   
    mutable    
    namespace  
    new    
    operator   
    private    
    protected  
    public 
    register   
    reinterpret_cast   
    return 
    short  
    signed 
    sizeof 
    static
    static_cast    
    struct 
    switch 
    template   
    this   
    throw  
    true   
    try    
    typedef    
    typeid 
    typename   
    union  
    unsigned   
    using  
    virtual    
    void   
    volatile   
    wchar_t    
    while   while Java has 52, 2 of which (goto and const) are not used:
    abstract  
    assert
    boolean    
    break  
    byte   
    case  
    catch  
    char   
    class  
    const
    continue   
    continue  
    default   
    do 
    double 
    else  
    enum
    extends    
    final  
    finally    
    float  
    for   
    for    
    goto 
    if
    implements 
    import 
    instanceof 
    int   
    interface 
    long  
    native 
    new   
    package  
    private  
    protected 
    public 
    return 
    short 
    static 
    strictfp
    super 
    switch
    synchronized
    this
    throw
    throws
    transient
    try
    void
    volatile
    while

  • Seeking JSR 223 Feedback -PHP/Java Integration-& giving feedback wrt JSC

    This is also posted at
    http://forum.java.sun.com/thread.jspa?threadID=691351
    But I wanted to make sure this was given to the JSC folks.
    I'm looking for feedback from anyone who has used jsr223. The last post on the jsr223 site was back in may 2005 from what I can tell and there is hardly any mention of it in the forums here.
    While this may not be the correct forum, I didnt think this fell under JSF or JSTL directly.
    I'm working at a small company with a number of php developers with a large code base in php, who I have been trying to convince to pick up another markup language like JSTL or JSF and were having a heck of a time getting Java Studio Creator to perform at anything near accceptable levels.
    I'm very familiar with Struts, J2EE, and swing. While I have been trying to push JSF, thinking this would alleviate some of the complexity for php developers (at least this is what the Java Studio Creator hype claims, I'm having a hard time convincing them to do so when Java Studio Creator the supposed RAD JSF IDE is so slow. (running 1gb ram windoze xp professional)
    I understand that the power in JSF is abstracting out request/response and having essentially interogated request objects with web apps for so long and then realizing the power of an event model to free me from the ever present controller switch statement to allow swing like callback
    methods in webapps was well initially very refreshing and I was really hopeful.
    However after trying to use studio creator....and Anyone who is using it and doesnt have this experience please let me know what we may be doing wrong (we are using JSC Early Access 2) and are experiencing compile and redeploy times that take 5-10 minutes or design time redraws in the ide that take 30 seconds to 2-3 minutes or longer.
    This is simply not acceptable developer productivity for people who are application developers used to working with interpreted scripting langauges like php ( or for ms developers either for that matter).
    So why dont We just use php then you say, well it doesnt scale well and there are so many apis that are available via java only. We also have a heck of a time with sockets in php and the java sockets api works really well/dependable/fast for us. And we realize how hard it is to enforce any sort of mvc pattern in a scripted language as well (although I know its possible with some php frameworks e.g. mojavi).
    So We have turned to JSR 223 for my golden ticket - Java Scalability and Dependability with PHP like developer productivity.
    I've got jsr223 samples working in tomcat 5.5 with php5. I can call a php page from inside of tomcat via the php servlet which allows you to access java objects and apis in that same php page that are on the tomcat web app classpath. ( Which I think is amazing quite frankly and the fact that this works at all I take my hat off to those who put it together, this maybe a great solution for us - and many others - considering our investments and need for developer productivity).
    Our initial concept was to write the view tier in php, however I feel that this will quickly deteriorate to writing the controller in php as well, since they dont have to write servlet /struts mappings or faces config files.
    And I think we may end up using only hibernate for persistence (the model) and axis for web services and Java for other heavy lifting tasks such as socket calls.
    In any case I have not been able to find any real world feedback on this or any actual examples of anyone setting up a nontrivial JSR 223 architecture and the only thing I have is a few examples from the jsr site which are more like Proof Of Concept examples.
    Anyone with any information please let me know. I have googled the heck out of jsr223 and jsr223 examples and am coming up emtpy handed and am worried that the last time the jsr223 site was updated was may 2005. I think this jsr may have been been put by the way side in the big push for JSF.
    In any case if anyone at Sun sees this, if Java Studio Creator had anywhere near acceptable performance I probably wouldnt even be looking at JSR223
    (I have even modified ant scripts to deploy directly to tomcat instead of the bundled Sun One App Server).
    I dont want to get into a debate either with anyone about php over jsp or anything like that i just want to know is anyone actually using php with java via jsr223 and if so what does their architecture look like.
    Trust me I would much rather not have to use php with java, but its pretty hard to convince a gang of time strapped php developers to use the tortoise like JSC and JSF when it takes a developer 4-5 times as long to develop a simple page with JSF in JSC as it would in php with a text editor.
    Thanks in advance for any feedback,

    Winston, Thanks for the feedback
    From http://blogs.sun.com/roller/page/tor?anchor=performance_tip_make_more_memory
    To change the memory limit, do this: locate your IDE installation, and edit with a text editor.
    In creator ea2 the file is at
    C:\Program Files\Sun\Creator2ea2\etc\creator.conf     
    By default it is
    -J-Xms96m -J-Xmx384m
    I actually was using these settings
    -J-Xms256m -J-Xmx512m
    I changed this today to
    -J-Xms256m -J-Xmx768m
    I did see a noticeable improvement, still with some serious lags (note Im not running sunone on same machine, I'm deploying to tomcat on different box)
    I monitored the ide's ram usage and it seemed to stabilized around just under 500mgs
    I think that previous default settings will cause alot of garbage collection to go on since the ide seems to need more than the maximum amount of memory for the jvm and as a result this has got to be whats slowing the app down.
    Have you altered the default memory settings, or are you using the default settings in C:\Program Files\Sun\Creator2ea2\etc\creator.conf.
    I only have a gig of memory at my disposal at this time, I guess I will need to get some more, I imagine if you have 2gb of ram that you shoudlnt see any garbage collection if you arent using the default settings.
    Thanks for your information about your setup.
    Suggestion to the folks at JSC is to change these settings out of the box and up the minimum system requirements.
    By the way Im still looking for anyone with feedback on jsr 223 (if there is a more appropriate forum please someone let me know).
    R
    S

  • JavaFX: looks great, but why not integrated in Java?

    I browsed some JavaFX tutorials, read some articles and played with JavaFXPad. JavaFx looks great!
    I did this because I heard about this new scripting language with tight Java integration. JavaFXPad and some others tools using JavaFx are written in Java. So why do we need a separate JavaFX interpreter/tool? I hoped to write some nice JavaFXScripts and just call them on all our computers that already have the Java 1.6 JRE installed.
    Or is JavaFX just bleeding edge and is planned to be integrated in future JREs?

    > 3rd party external "virtual machine".
    Didn't bother read the link, did you? Don't bother answering that. I know you didn't because the very first sentence on the very first page tells you that Groovy is built for the JVM.
    Oh, and regards to "third party external"...
    http://www.jcp.org/en/jsr/results?id=2490
    > Perhaps some day JavaFX Script will find its way into the JRE ...
    Groovy's already there. Groovy scripts are compiled to bytecode and run on the JVM. I recommend actually reading the link. You might accidentally learn something. ;o)
    ~

  • RE: Legacy Integration with PI/Open

    Greg -
    We are currently working on wrappering the APIs for UniVerse (aka Pick on
    UNIX).
    We received some help from the guys at RTD in Denver.
    We tested out a C program that uses the Universe APIs and it works fine.
    We will be building the Forte piece and compiling it this week.
    Our first application is to inquire the UniVerse data, after that is
    successful, we will move to inserting & updating.
    Let us know how we can help.
    Larry McCartney
    [email protected]
    (203)459-7959 - Trumbull
    From:
    [email protected][SMTP:[email protected]
    om]
    Sent: Monday, October 12, 1998 11:00 AM
    To: [email protected]
    Subject: forte-users-digest V1 #1111
    forte-users-digest Monday, 12 October 1998 Volume 01 : Number
    1111
    In this issue:
    Legacy Integration with PI/Open
    is OBB32.dll available
    Java Integration
    Java Integration
    Re: Legacy Integration with PI/Open
    RE: Forms That Will Not Close
    RE: Forms That Will Not Close
    RE: Forms That Will Not Close
    Re: AfterValueChange event trigged when it shouldn't be...
    math library
    From: [email protected]
    Date: Mon, 12 Oct 1998 09:49:56 +1000
    Subject: Legacy Integration with PI/Open
    This is a bit of a long shot, but has anyone experience with integrating
    Forte with PI/Open. PI/Open is a variant of PICK. We have a requirement
    to read and update a PI/Open database from within our Forte application,
    and we would be most interested to hear from anyone who has experience in
    doing this.
    We are aware of a set of APIs provided with PI/Open that are written in
    "C". We could wrapper these from within Forte, however the issue is that
    the APIs provided are non-shared, and Forte requires shared libraries.
    Thanks in advance for any help.
    Greg Barber.
    The information transmitted is intended only for the person or entity to
    which it is addressed and may contain confidential and/or privileged
    material. Any review, retransmission, dissemination or other use of, or
    taking of any action in reliance upon, this information by persons or
    entities other than the intended recipient is prohibited. If you
    received
    this in error, please contact the sender and delete the material from any
    computer.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    From: "sridhar t" <[email protected]>
    Date: Sun, 11 Oct 1998 22:01:36 PDT
    Subject: is OBB32.dll available
    hi,
    am working on forte3.0.G.2. when i tried to use objectbroker library i
    am unable to find the runtime objectbroker library (OBB32.dll). is this
    dll available with this version. if not is there any alternative.
    thanks,
    sridhar,
    Goldstone Softech USA
    Get Your Private, Free Email at http://www.hotmail.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    From: srinivasa gopi <[email protected]>
    Date: Sun, 11 Oct 1998 23:12:22 -0700 (PDT)
    Subject: Java Integration
    Hello,
    I'm trying to integrate Forti with Java in Java mode using IIOP.I
    followed the steps as explained in the Forti Web enterprise manual.I
    compiled the Java files that are generated by Forti along with the
    client Java file.The Java applet is getting downloaded on the client
    browser(IE 4.0), but the problem is browser is giving an exception
    ** Java.lang.RuntimeException can't connect to service object with
    the ior file name **.
    My question is on every client is it necessary for ORB(Visigenic for
    Java 3.2) and also the Forti Java interoperability package that is
    provided by the Forti for compatability with Java or it is not
    required on the clients ?
    Is there any other alternative to achieve the goal as this will give
    wide access to the Forti service objects through Web Browser clients.
    Please mail me the solution to this problem as early as possible it is
    very urgent.
    Thanks in advance,
    Srinivasa Gopi,
    Goldstone Softech USA
    DO YOU YAHOO!?
    Get your free @yahoo.com address at http://mail.yahoo.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    From: srinivasa gopi <[email protected]>
    Date: Sun, 11 Oct 1998 23:26:26 -0700 (PDT)
    Subject: Java Integration
    Hello,
    I'm trying to integrate Forti with Java in Java mode using IIOP.I
    followed the steps as explained in the Forti Web enterprise manual.I
    compiled the Java files that are generated by Forti along with the
    client Java file.The Java applet is getting downloaded on the client
    browser(IE 4.0), but the problem is browser is giving an exception
    ** Java.lang.RuntimeException can't connect to service object with
    the ior file name **.
    My question is on every client is it necessary for ORB(Visigenic for
    Java 3.2) and also the Forti Java interoperability package that is
    provided by the Forti for compatability with Java or it is not
    required on the clients ?
    Is there any other alternative to achieve the goal as this will give
    wide access to the Forti service objects through Web Browser clients.
    Please mail me the solution to this problem as early as possible it is
    very urgent.
    Thanks in advance,
    Srinivasa Gopi,
    Goldstone Softech USA
    DO YOU YAHOO!?
    Get your free @yahoo.com address at http://mail.yahoo.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    From: Tim Hagemann <[email protected]>
    Date: Mon, 12 Oct 1998 09:21:06 +0200
    Subject: Re: Legacy Integration with PI/Open
    Greg,
    This is a bit of a long shot, but has anyone experience with integrating
    Forte with PI/Open. PI/Open is a variant of PICK. We have arequirement
    to read and update a PI/Open database from within our Forte application,
    and we would be most interested to hear from anyone who has experiencein
    doing this.
    We are aware of a set of APIs provided with PI/Open that are written in
    "C". We could wrapper these from within Forte, however the issue isthat
    the APIs provided are non-shared, and Forte requires shared libraries.Would be interersting, which operating system you're using.
    You could write a dll (on windows) or shared library (on unix) wrappering
    the
    original,statically linked "C"-Libs. This lib could be used by Forte.
    Tim Hagemann
    Tim Hagemann
    Ascom GmbH Email: [email protected]
    Charlottenburger Allee 61 Phone: +49 241 96806 273
    D-52068 Aachen Fax: +49 241 96806 225
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    From: "Rottier, Pascal" <[email protected]>
    Date: Mon, 12 Oct 1998 09:38:25 +0200
    Subject: RE: Forms That Will Not Close
    Exiting the event loop will not close the window! Invoking
    'Close' method on the window will. Check if this method
    is executed. It appears, the AfterFinalize event exits the
    event loop and nothing more. Then, your applications
    waits for some event from your main window, like 'Mouse-
    Enter', before invoking Window.Close().
    Pascal
    Hi,
    We seem to be having some type of deadlock problem when trying to
    close
    forms and am wondering if anyone else has experienced this problem.
    The
    phenomenon does not always occur and is not specific to any one client
    machine.
    I will explain the phenomenon:
    1. We have an object that contains our main application startup
    method.
    This method then instantiates our main application window (Control)
    and
    invokes the Display() method using start task.
    2. All other forms created by the application are created using a form
    manager service object which exists on the client partition. The form
    manager has a CreateForm() method which instantiates a form class of
    the
    specified type and invoked the form's Display() method using start
    task.
    3. Each form has a Close push button which when clicked invokes
    Window.RequestFinalize().
    Now, the problem we have is this:
    The user starts the application and the main application window is
    displayed. The user then selects an option from the main window and a
    child form is created using the form manager service object and is
    displayed. The user can continue to create more child forms by
    selecting
    options from the main window and all child forms are instantiated and
    displayed correctly.
    However, when the user attempts to close one of the forms the form
    does
    not close. The finalize event is triggered and the event loop is
    exited,
    but the form continues to be displayed and does not close. If the user
    then moves the mouse pointer over the main application window, the
    child
    form immediately closes. Moving the mouse cursor over other child
    windows (or even the desktop) does NOT do this - only when the mouse
    cursor is moved over the main window does the child form close.
    Does anyone have any ideas on this?
    Regards,
    Jace.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>- -
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    From: Jason de Cean <[email protected]>
    Date: Mon, 12 Oct 1998 17:47:20 +1000
    Subject: RE: Forms That Will Not Close
    Hi Pascal,
    The Display() method is as follows:
    self.Open();
    event loop
    when Window.AfterFinalize do
    exit;
    when task.Shutdown do
    exit;
    end event;
    self.Close();
    <end>
    Are you saying we should do a Window.Close() in there somewhere as well
    Regards,
    Jace.
    On Monday, 12 October 1998 17:36, Rottier, Pascal
    [SMTP:[email protected]] wrote:
    Exiting the event loop will not close the window!
    Invoking
    'Close' method on the window will. Check if this method
    is executed. It appears, the AfterFinalize event exits
    the
    event loop and nothing more. Then, your applications
    waits for some event from your main window, like 'Mouse-
    Enter', before invoking Window.Close().
    Pascal
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    From: "Rottier, Pascal" <[email protected]>
    Date: Mon, 12 Oct 1998 11:04:24 +0200
    Subject: RE: Forms That Will Not Close
    Jason,
    No, self.Close() should close the window. This is the
    method I referred to. You could place a traceline
    behind self.Close() to see if it is executed. It is not
    inconcievable some exception may exit the Display()
    method before self.Close() is executed.
    After that, maybe, some events from your main
    window trigger something that causes a call like 'My-
    Window.Close()', where 'MyWindow' is a subclass of
    'UserWindow', so 'MyWindow' gets closed after all.
    Maybe you've overridden 'Close()', so now it doesn't
    work properly anymore.
    Are you sure you exit the event loop after you press
    the close button?? The display method is not regis-
    terred for any <PushButton>.Click event, though maybe
    you just didn't include the full Display method in your
    mail.
    Remember that an event loop will only respond to an
    event if it is not currently handling an event. So, the
    method behind <PushButton>.Click may call a self.
    Window.RequestFinalize(), which will cause an After-
    Finalize event to be posted, which will be placed in
    the event queue. If this method however keeps waiting
    for something, the event loop will not respond to the
    AfterFinalize event, until this method is done waiting.
    Pascal.
    Hi Pascal,
    The Display() method is as follows:
    self.Open();
    event loop
    when Window.AfterFinalize do
    exit;
    when task.Shutdown do
    exit;
    end event;
    self.Close();
    <end>
    Are you saying we should do a Window.Close() in there somewhere as
    well
    Regards,
    Jace.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    From: Thomas Kunst <[email protected]>
    Date: Mon, 12 Oct 1998 14:28:55 +0200
    Subject: Re: AfterValueChange event trigged when it shouldn't be...
    Which version of Fort=E9 are you using? We had some strage problems with
    GUI events in Fort=E9 3.0.F.2, which disappeared now that we use 3.0.J.1!=
    Fouche, Jaco wrote:
    =
    Hi there,
    =
    I'm hoping that someone out there has experienced the following (and
    knows why it is happening. ) :-)
    =
    I have a couple of windows on which the AfterValueChange event is
    triggered on a field upon hitting the delete key.
    We all know that this should only happen upon leaving the field, ie. th=e
    field loosing focus. The problem is that I'm trying to recreate this in=
    a simple test class, but now it won't happen. I still have the original=
    windows on which it is happening, but I would like to construct
    something small and simple to send to Forte.
    =
    Any ideas as to why this could be happening?
    =- -- =
    Dr. Thomas Kunst mailto:[email protected]
    sd&m GmbH & Co. KG http://www.sdm.de
    software design & management
    Thomas-Dehler-Str. 27, 81737 Muenchen, Germany
    Tel +49 89 63812-221 Fax -444
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    From: Greg Gorham <[email protected]>
    Date: Mon, 12 Oct 1998 09:51:07 -0400
    Subject: math library
    I need direction to the source of Forte libs that handle more scientific
    math. Also included is the need for more scientific print formating. I
    understand, second hand, that such material is available from third
    party vendors/sources.
    Thanks
    Greg Gorham
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    End of forte-users-digest V1 #1111
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Greg,
    This is a bit of a long shot, but has anyone experience with integrating
    Forte with PI/Open. PI/Open is a variant of PICK. We have a requirement
    to read and update a PI/Open database from within our Forte application,
    and we would be most interested to hear from anyone who has experience in
    doing this.
    We are aware of a set of APIs provided with PI/Open that are written in
    "C". We could wrapper these from within Forte, however the issue is that
    the APIs provided are non-shared, and Forte requires shared libraries.Would be interersting, which operating system you're using.
    You could write a dll (on windows) or shared library (on unix) wrappering the
    original,statically linked "C"-Libs. This lib could be used by Forte.
    Tim Hagemann
    Tim Hagemann
    Ascom GmbH Email: [email protected]
    Charlottenburger Allee 61 Phone: +49 241 96806 273
    D-52068 Aachen Fax: +49 241 96806 225
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Is there a tutorial on - how to call static java methods

    I have defined external JAVA resource using a .jar file and have successfully catalogged the same. Now I need to pass variables to a static method in a class and also get the return variable mapped into a BPM variable.
    Can someone share sample Java Invokation code, how to call methods in a class, how to instantiate a singleton or reference an existing instance of singleton class.
    Any sample code or sample projects will be useful.
    Also can I se ethe java system.out.println output in BPM Logviewer
    Arvind

    Hi Arvind,
    Sure you've done this, but the first step is to catalog the Jar file. Before an Oracle BPM project can use the Java component, the appropriate Java JAR files must be added to the project.
    Add the Jar File(s) to the External Resources:
    1. Right-click the External Resources item in the Project Navigator tab
    2. From the pop-up menu, select New External Resource.
    3. Name this new Java resource "MyNewJavaComponents" and ensure its type is Java Class Library.
    4. Add the Java jar file(s)
    Catalog and Expose the Java Components:
    5. Add a new module in the Catalog called "IntegrationComponents".
    6. Generate a Java integration component by right-clicking the IntegrationComponents module and select "Catalogue Component" -> "Java".
    7. Using the Java configuration you just created called MyNewJavaComponents, click the Next button to automatically introspect the Java libraries.
    8. Select the class where your method(s) are located and click the Next -> Finish buttons to have Oracle BPM generate the integration component for you.
    9. If you expand the newly exposed Java component, you can see a method has been created for each public method (attributes would also be automatically created if this class had any public attributes). If you've included the appropriate BeanInfo class in the JAR, you'll note that the method parameters are appropriately named.
    How to Invoke Public Java methods Exposed in the Catalog:
    10. Open the method editor for an automatic activity in the process (or any BPM Object method with its "Server Side" property set to "Yes").
    11. Drag one of the Java methods you just exposed inside your IntegrationComponents module into the automatic activity's method. Once you drag it in, here's what you might see if you're using the Java syntax in Oracle BPM's method editor:
    (PdfGenerator).generate(outputFilename : "", contents : {  }, logoImageURL : null, signatureImageURL : null);
    Assuming you have "outputFilename", "sampleContent", "logoURL" and "signatureURL" variables already created in your process, change the method you just dragged in to:
    IntegrationComponents.Pdfservice.PdfGenerator.generate(outputFilename : outputFilename, contents : sampleContent,
    logoImageURL : logoURL, signatureImageURL : signatureURL);
    Hope this helps,
    Dan

  • Difference java stack and abap stack

    hello experts,
                          Difference between java stack and abap stack

    Hi
    ABAP Stack
    The application data in the SAP system is accessed in
    the ABAP stack via platform-independent ABAP programs.
    ABAP stack is used to run ERP applications mainly MM,SD,FICO etc
    Currently in most of the installation you can found mixed stack(ABAP+JAVA)
    JAVA Stack
    The Java side of the SAP Web AS is often referred to as SAPWeb AS Java or
    as the Java stack.
    This central SAP Web AS Java instance consists of two separate
    instances plus one special application, the Software Deployment Manager (SDM).
    These two separate instances that build the central SAP Web AS Java instance are
    a standard SAP Web As Java instance, offering a Java dispatcher process and one
    or more Java server processes and the so-called SAP Central Services instance
    (SCS). The SCS instance offers two processes, exclusively used by the Java side
    of the SAP Web AS: the enqueue services and the message service. These two
    services only work for the Java side of the SAP system.
    Java Stack is mainly used for SAP Portals and you can host Internet/Web based application written in JSP/EJB ,Java Stack uses Java Threads to run application,
    Also, Xi requires Double stack
    ABAP + JAVA Stacks
    Bcoz some components are developed on JAVA
    Some components are developed on ABAP Based.
    JAVA:
    Integration Builder
    SLD
    Adapter Engine
    Runtime Workbench
    ABAP:
    BPE
    Integration Engine
    Integration Engine and the Integration server reside on the ABAP Stack. All the Execution of the IS part will be done on ABAP Stack. we can monitor the processed XML messages also in SXMB_MONI( ABAP Stack)
    Adapter Engine will reside on the JAVA Stack. All the IR, ID, SLD, RWB Application are developed on JAVA Stack, so thats why we need JAVA Webstart to run these Applications
    All the Adapter related Errors we can see in RWB, Communication channel monitoring( Developed and sits on JAVA stack)
    Hope this clears your doubts
    Thanks
    Saiyog

  • ABAP and Java Stack: Which to choose/supported standards and components?

    Hello,
    I am trying to understand the role of the two stacks in NW. Maybe anyone has a few
    hints where I can find answers to the following questions:
    - An overview of supported Standards (Java 5 since when?)
    - An overview of which component runs on which stack? Portal->Java, Integration Server->ABAP and so on.
    - Guidelines when to install both stacks and when to use just one stack? When do I use which one?
    - Has SAP an stategy towards an one Stack solution (possibly Java?)
    Best regards and thanks for any pointers!
    Stefan

    An overview of supported Standards (Java 5 since when?)
    Go to service.sap.com/pam
    Product Availability Matrix will tell you about supported version and platforms.
    An overview of which component runs on which stack? Portal->Java, Integration Server->ABAP and so on.
    Usually the question goes the other direction: what stacks we need for implementation of a particular function?
    More and more products require ABAP backend and Java frontend.
    For example Employee Self Service has been transerred from ABAP only ITS based to ABAP backend and Java frontend.
    Same with SRM.
    Guidelines when to install both stacks and when to use just one stack? When do I use which one?
    Same as above, driven by business requirements, not technology.
    Has SAP an stategy towards an one Stack solution (possibly Java?)
    No. Core business functions are still being developed on ABAP and interface, GUI etc utilize JAVA.
    Regards,
    Slava

  • ABAP/JAVA standalone

    We are re-implementing SOLMan (4.0 latest build) in our landscape and
    would like to install the JAVA component as a stand alone instead of an
    ABAP/JAVA integrated install this time.
    We are not finding implementation instructions for this option in the
    kit that we have.
    Is this a valid JAVA implementation option (JAVA Stand alone / ABAP
    Stand alone) for Solution Manager 4.0?

    >
    Mateus Pedroso wrote:
    > We are re-implementing SOLMan (4.0 latest build) in our landscape and
    > would like to install the JAVA component as a stand alone instead of an
    > ABAP/JAVA integrated install this time.
    >
    > We are not finding implementation instructions for this option in the
    > kit that we have.
    >
    > Is this a valid JAVA implementation option (JAVA Stand alone / ABAP
    > Stand alone) for Solution Manager 4.0?
    This is not a valid implementation option.
    Please run the double stack as described in the Installation Guides.
    Regards,
    Ruediger

  • Calling web service scenario through java console application

    hi all,
    I was able to invoke webservice through XML spy by following this link
    "/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    But in real time environment client may not accept XML spy to run webservice application..So can any assist me how can i send and receive soap requests through Java application.
    If it is not possible by using java , please give reason as well....
    If it possible, please provide a blog or relevent information to the above request.
    Thanks..

    HI,
    This is possible to use from JAVA code , either through Java proxy , or you can directly send to IE.
    See the below links
    Communication between SAP System & Webservice Using Proxies - /people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/java/integrating%20web%20dynpro%20and%20sap%20xi%20using%20jaxb%20part%20ii.article
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10d1bde2-699f-2910-8e86-f46bfe045fdc
    Regards
    Chilla

  • Subclassing a Java Class in JRuby

    Hello, everyone. I'm studying JRuby by writing a minimal Swing app in Ruby. It seems to be an effective way of finding Ruby <-> Java integration issues. ;)
    I am trying to create a subclass of AbstractAction for a button whose name will be "Quit" and will exit the program. The natural Java way to do this is to have the subclass call its superclass' (AbstractAction's) constructor, as in super("Quit").
    This is what I tried:
    class QuitAction < javax.swing.AbstractAction
        def initialize
            super.initialize "Quit"
        end
        def actionPerformed(e)
            System::exit 0
        end
    endWhen the interpreter read the file, it complained:
    frame-sample.rb:78:in `initialize': private method `initialize' called for org.jruby.javasupport.proxy.gen.AbstractAction$Proxy0@911a2d:Java::JavaObject (NoMethodError)How can I call AbstractAction's constructor?
    Thanks,
    Keith

    All -
    I found the answer. The syntax to use is:
    super 'Quit'So the corrected class is:
    class QuitAction < javax.swing.AbstractAction
        def initialize
            super "Quit"
        end
        def actionPerformed(e)
            System::exit 0
        end
    end- Keith

  • Gava SE 1.0, a Java IDE for international code,  released,

    Please go to check http://www.gavasoft.com for more information
    Gava is a Java Integrated Development Environment (IDE), built in pure Java, to develop Java applications and applets. Most part of Gava is developed in Gava itself. As a pure Java application, Gava can run on both Windows and Unix/Linux platforms. It requires JRE 1.4 to execute, but it can debug JDK1.2, 1.3, and 1.4.
    Intuitive, fast, and powerful. Gava is a fast IDE built with many unique and well-thought-out optimizations. Gava users will enjoy a smooth coding feeling throughout the development phases - fast start-up, fast code completion, fast compiling, etc. With a relatively simple but intuitive GUI, Gava provides users powerful functionalities. It suits the needs of all developers, from entry-level to advanced.
    Internationalization. Gava is an IDE designed for developing international Java applications. First, Gava itself is a multilingual Java application. Developers can set Gava to any language, no matter what OS (localized or English version) it is running on. Second, Gava provides many functionalities and tools to easily develop multilingual applications, with either localization or internationalization technologies.
    Write once, develop anywhere. With Gava, you can not only run your projects on multi-platforms, you can also develop your projects on multi-platforms. Gava implements an OS-independent project management architecture. Based on this architecture and other special features in Gava, developers can easily port Gava's projects to different platforms, file systems, or file directories.
    Multiple debugging sessions. Gava can debug multiple debuggees within the same running instance of Gava. This feature makes Client Server debugging much easier, Gava users don't have to switch between running applications.
    Customizable. Gava is configurable. Gava users can customize the GUI look and feel with their favorable fonts and colors to create a work environment suitable for different occasions, either for demonstration or development.
    Now Gava SE 1.0 is available for download. We would appreciate any and all feedback regarding the product. You may download a fully funtional 30 days trial version from our download page, and try it to see how you like it. Thank you.

    As if we don't have enough IDE's already??? And what's this?
    ...Most part of Gava is developed in Gava itself...Huh? is Gava a language too? Like we need yet another language?

Maybe you are looking for

  • Single Vertical Line When Using ADF for Scan or Copy on HP Officejet Pro 8600

    HP Officejet Pro 8600 Premium Printer (CN577A) OS: MS 7 64 bit When using the ADF for my CN577A HP Officejet Pro 8600 Premium printer, I get a single vertical line on the document that is produced. This occurs when copying or scanning, both in black

  • Forgot computer password how do I reset without losing all of my content

    Hello everyone . Grandmother here and horse and buggy is my speed on these computers. I have set up a password on my computer and cannot remember what it is. I want to update all of my software but it will not allow it. Anyone know how to help me? Th

  • Application Folder to Select

    I would like to download Photoshop Elements 11. I am using the Adobe Download Assistant. When I am given the prompt to set a folder for the download to occupy, I am given a message saying, Download may fail to folder '/Applications/Adobe' due to rest

  • Java 8 not working with Mavericks help

    Updated to Mavericks and went to my dashboard, error screen opens says I need the Java Runtime Environment I installed it (JAVA 8) and it still does not work. Ideas help?

  • How can I use MESSAGE function in forms 6i

    Hello I have an err_msg table that store collections of application message on utf8 database in one language not in english I have selected data from the err_msg table and put on variable .I want to display the message on the variable using MESSAGE f