0 Replies Latest reply on Jun 4, 2003 2:56 PM by dabramov

    best way to represent XML Object graph

    dabramov

      Hi,

      I have an XML file, which I'm generating an Java objects for using Castor. I'm struggling for the best way to integrate this into our application, where I need to access the populated objects from within a session bean.

      The best option I can think of is to write an MBean which would call the Castor unmarshal method and then have the Session Bean call our to the MBean to get at the data. Is this a viable approach? Is there a better way?

      FYI, we're going to be running in a clustered environment and are using JBoss 3.2.1.

      Thanks,
      -Dan