3 Replies Latest reply on Apr 24, 2015 1:16 AM by pmm

    RMI Classloading ?

    malikoski

      How to enable RMI Classloading?

       

      Thanks.

        • 1. Re: RMI Classloading ?
          pmm

          What do you need RMI class loading for?

          • 2. Re: RMI Classloading ?
            malikoski

            Hello Philippe.

             

            I have a remote EJB.

            I call on the client a method that makes querying the database by hibernate and returns me an object. This object has collections PersistentSet (Hibernate).

             

            In the client application I would not want to pack hibernate-core.jar for me to read that object.

            I believe that enabling RMI classloading, my problem is solved.

            • 3. Re: RMI Classloading ?
              pmm

              malikoski wrote:

              I believe that enabling RMI classloading, my problem is solved.

              It would but EJB remoting in WildFly does not use RMI. Also you'll have to pay attention to lazy loading.