glassfish
  1. glassfish
  2. GLASSFISH-6371

Be able to use EJB3 using a http tunnel

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: V3
    • Fix Version/s: future release
    • Component/s: grizzly-kernel
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      6,371

      Description

      Hi,

      After having considered migration to EJB3, we realize that GF doesn't have an
      "http-invoker" feature.

      In fact, we'd like to be able to tunnel all our call to the server through an
      http one.

      The better would be being able that the client doesn't need anything else than
      http to (1) resolve the remote ejb reference, (2) call it. To sum up, would be
      great if GF has the corresponding feature of JBoss (e.g. see
      http://wiki.jboss.org/wiki/Accessing_EJB3s_over_HTTP_HTTPS or
      http://wiki.jboss.org/wiki/EJBOverHTTPWithUnifiedInvoker).

      At least, we'd be interested into knowing how we could inject say our transport
      classes (integrating spring http-invoker), and we'd also be glad to know if
      there's any chance that it gets into GF if we provide a patch for it.

      Cheers.
      Thanks for your work, GF is already a masterpiece.

        Activity

        Hide
        marina vatkina added a comment -

        You can use EJBs as JAX-RS endpoints. Assigning to the JAX-RS for further evaluation.

        Show
        marina vatkina added a comment - You can use EJBs as JAX-RS endpoints. Assigning to the JAX-RS for further evaluation.
        Hide
        kumara added a comment -

        Well, programming in JAX-RS was already suggested as a solution and in that case there is nothing that the server has to do, the application needs to change.

        The most concrete comments about a solution was use of port unification to ensure that IIOP traffic is on the same port as http. While this is not exactly a http tunnel, it might be enough for some scenarios.

        I am going to request grizzly-kernel team to add a pointer to port unification documentation so that anyone referring to this issue has a handy reference on how to configure IIOP traffic on same port as http.

        If port unification is not sufficient, given the availability of JAX-RS programming model and better integration between EJB and JAX-RS, the most prudent option is to change the application.

        After adding the document pointer, please assign this back to orb sub-component.

        Show
        kumara added a comment - Well, programming in JAX-RS was already suggested as a solution and in that case there is nothing that the server has to do, the application needs to change. The most concrete comments about a solution was use of port unification to ensure that IIOP traffic is on the same port as http. While this is not exactly a http tunnel, it might be enough for some scenarios. I am going to request grizzly-kernel team to add a pointer to port unification documentation so that anyone referring to this issue has a handy reference on how to configure IIOP traffic on same port as http. If port unification is not sufficient, given the availability of JAX-RS programming model and better integration between EJB and JAX-RS, the most prudent option is to change the application. After adding the document pointer, please assign this back to orb sub-component.
        Hide
        oleksiys added a comment -

        Is Corba (IIOP) working on top of Grizzly?
        If not then port unification will not work.

        Show
        oleksiys added a comment - Is Corba (IIOP) working on top of Grizzly? If not then port unification will not work.
        Hide
        jthoennes added a comment -

        A related issue is also whether OpenMQ would work using port unification. I think the new OpenMQ 5.0 is based on Grizzly, isn't it?

        Show
        jthoennes added a comment - A related issue is also whether OpenMQ would work using port unification. I think the new OpenMQ 5.0 is based on Grizzly, isn't it?
        Hide
        oleksiys added a comment -

        yes, MQ should work.

        Show
        oleksiys added a comment - yes, MQ should work.

          People

          • Assignee:
            oleksiys
            Reporter:
            batmat
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: