5 Replies Latest reply on Mar 10, 2009 7:39 AM by fred_madiot

    Welcome to the JBoss MASS dev. forum

    richsharples

      This forum is for discussion of the the JBoss MASS (Migration Assistance) project and development of tools and knowledge related to that. It's not the right place for getting help with migrations.

      The JBoss MASS Project page is here : http://www.jboss.org/projects/mass/

      Rich Sharples
      JBoss, a Division of Red Hat

        • 1. Re: Welcome to the JBoss MASS dev. forum
          thomasra

          Hi Rich.

          We've been migrating loarge systems for customers in Norway and have assembled knowledge and basic methodologies for doing these kind of projects. We would be very interested in participating and contributing to this project.

          http://www.conduct.no/confluence/display/WEB/JBoss (Norwegian)

          • 2. Re: Welcome to the JBoss MASS dev. forum
            sviluppatorefico

            hi....it's a very interesting project. I ask to me how mass could implement runtime creation of objects. For example, with websphere you can to create datasources through your java code (here an example: http://publib.boulder.ibm.com/infocenter/wasinfo/v4r0/index.jsp?topic=/com.ibm.websphere.v35.doc/wass_content/040204020101.html). I'm not very interested to this feature but it is interesting how Mass faces the problem. Could it rewrite java code? If yes could it to configure jmx beans so it can to create the feature?

            • 3. Re: Welcome to the JBoss MASS dev. forum
              ncdc

               

              "sviluppatorefico" wrote:
              hi....it's a very interesting project. I ask to me how mass could implement runtime creation of objects. For example, with websphere you can to create datasources through your java code (here an example: http://publib.boulder.ibm.com/infocenter/wasinfo/v4r0/index.jsp?topic=/com.ibm.websphere.v35.doc/wass_content/040204020101.html). I'm not very interested to this feature but it is interesting how Mass faces the problem. Could it rewrite java code? If yes could it to configure jmx beans so it can to create the feature?


              That's a very interesting thing you point out, and something I hadn't even thought of... I knew we'd have to look out for appserver-specific code, but I hadn't thought about application code using appserver APIs to create things like data sources on the fly. We'll at least want to make sure that we're aware of these types of things, so the analysis report we generate can inform the user of their existence. Thanks for bringing this up!

              • 4. Re: Welcome to the JBoss MASS dev. forum

                Hi Rich,

                we have just created MoDisco (http://www.eclipse.org/gmt/modisco/), a new Eclipse/Modeling project to handle this kind of subject with model-driven technologies.

                At Mia-Software we have already developed migration tools from EJB2 to EJB3 partially based on components which have been placed on MoDisco. The main component is a complete Java metamodel and the corresponding discoverer which creates models out of Java code source. It is available at http://wiki.eclipse.org/MoDisco/J2SE5.

                With this component, completed by other metamodels for representing File System ressources and XML files, the idea is to get a model of an existing J2EE application and perform rule-based transformations with any EMF-compliant tool. Once the transformation is done at a model-level, we regenerate the code.

                If you are interested, I can provide you with detailed information about what we have done with EJBs.

                Regards,

                Fred

                • 5. Re: Welcome to the JBoss MASS dev. forum

                   

                  "fred_madiot" wrote:
                  we have already developed migration tools from EJB2 to EJB3Fred

                  Here is a short description of this tool.
                  http://www.mia-software.com/en/products/suite-mia-studio/boosters/transformateurs/ejb-2-to-ejb-3/
                  This version is composed of very simple refactoring rules, but it can be extended to support more complex cases. It is based on the open-source Java discoverer committed on MoDisco (http://wiki.eclipse.org/MoDisco/JavaDiscoverer).

                  Fred