java - Are "Application Client Container" and "Embedded Enterprise Bean Container" the same? -


is "application client container" (see here) same "embedded enterprise bean container" (see here)?

the 2 descriptions sound same thing me, wondering whether missing something. or why 2 different terms used? how these 2 terms related?

though it's not apparent, they're quite different.

  1. application client container (acc)

    ...the acc manages execution of java ee application client components (application clients), used access variety of java ee services...outside oracle glassfish server. acc communicates glassfish server using rmi-iiop

  2. embedded enterprise bean container

    ... container , client code executed within same virtual machine

the difference

acc enables connectivity between client application (a consumer of java ee components) in remote jvm. is, you'll have client running in jvm a1, connecting glassfish server, running in jvm b1. itself, acc doesn't have ability support goodies of javaee (ejbs, security, interceptors transactions etc).

the eec on other hand api provide functionality within single jvm. can develop small java class main method , provide goodies within single main method.

have @ the code sample oracle

    //adding line main method puts java ee container within jvm, without having install     ejbcontainer ec = ejbcontainer.createejbcontainer(); 

in summary, acc - connect javaee container in remote jvm, eec, provide javaee container functionality within local jvm


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -