EGL Development User Group

  • 1.  Sharing fda7 in WebSphere

    Posted Sun November 06, 2016 03:58 PM

    Greetings to all.

    We are deploying a number of RUI apps to a WebSphere Application Server, and noticed that each of these apps has its own copy of fda7.jar.  The size overhead is aprox. 14MiB per application, which most of the times dominates the overall app size.   So we thought that it would be sensible to have fda7.jar installed in a shared library in the application server and have all apps use this single copy.

    After digging into the RBD/EGL and WebSphere docs (to the extent of our limited knowlegde of both) we didn't find references to this topic.  Following the WebSphere docs we managed to create a shared library with fda7.jar, using the default settings, but our apps still retain their own copy and, worst of all, they crash.

    Questions are: is it possible for EGL RUI apps to use fda7 from a shared library in WAS and not having its own copy? and if so, how can we accomplish this?

    Thanks in advance.

     

    Cheers,

    F. Alejandro Osso

    Alejandro Osso


  • 2.  Re: Sharing fda7 in WebSphere

    Posted Tue November 08, 2016 07:22 AM

    Hi Alejandro,

     

    Looks where is fda7.jar and copy it into some folder and put this folder in your classpath

    Hsieh


  • 3.  RE: Sharing fda7 in WebSphere

    Posted Mon September 07, 2020 02:47 AM
    Hi Alejandro,

    It is possible to sharing the fda7 in WebSphere as a shared library. The top level process are:

    1. In the web project, delete fda7 jar file in WEB-INF/lib folder

    2. Resolve workspace error by adding fda7 jar file in Java Build Path

    3. Run the web project in WebSphere

    4. Define shared library in Websphere (Admin Console->Environment->Shared libraries. Give the library a name and add the classpath to the fda7 jar file)

    5. Add the shared library to the web application (Admin Console->Applications->(Your application)->Shared Library References)



    ------------------------------
    Jiyong Huang
    ------------------------------