2 Replies Latest reply: May 5, 2013 12:49 PM by 1007166 RSS

    ACC

    1007166
      I know JDBC and Swing. I want to have centralized control (logged-in users, data sanity checks, etc.) so I am doing a proof of concept with Glassfish.

      I am thinking that I might use Application Client Containers but this is my first look at them. I have been able to the JNDI look-up EJB Session Beans and pass strings and numbers. But this doesn't seem very object oriented. If I have a document facade on the server containing an ArrayList of document lines, what is the best way to pass these to, and from, the ACC?

      So far I have been unsuccessful in looking up EJB stateless session bean to pass other objects to the ACC. I suppose this is because the standard objects do not have RMI/IIOP functionality to pass other objects.


      I did a Google search and XMLEncoder came up. Would this be the best approach? I would just like to confirm that I am not over-engineering something that should be simple.

      Secondly, The Dukes Bank Application looks instructive. I have found it at http://docs.oracle.com/javaee/5/tutorial/doc/bnclz.html but that is for Java EE 5. Is there a similar tutorial for Java EE 6?

      Lastly, I may be complicating things for myself since I am using JNDI so I may not actually be using a Glassfishfish ACC despite including many Glassfish jars!
        • 1. Re: ACC
          gimbal2
          1004163 wrote:
          Secondly, The Dukes Bank Application looks instructive. I have found it at http://docs.oracle.com/javaee/5/tutorial/doc/bnclz.html but that is for Java EE 5. Is there a similar tutorial for Java EE 6?
          Google: "javaee tutorial". First result: http://docs.oracle.com/javaee/6/tutorial/doc/.

          I would research single sign-on solutions, especially how they work. You want to do something very similar.
          • 2. Re: ACC
            1007166
            Thank you for your reply Gimbal. I am impressed by how many people you help.

            The Java EE 6 tutorial does not mention the Application Client Container.

            Single sign-on is interesting. Thanks for the tip.