Skip to main content



      Home
Home » Modeling » MoDisco » JSP MoDisco discoverer with JSP files from Struts Project
JSP MoDisco discoverer with JSP files from Struts Project [message #857259] Thu, 26 April 2012 07:52 Go to next message
Eclipse UserFriend
Hello,

I'm working with JSP Modisco Discover, with JSP files that use Struts taglib. In the output model the use of tag is represented as element of type JSPAction, but I'd like that this tag was represented as element of JSPAction subclass like JSP tag is represented like JSPStdAction. I think in two different alternatives. The first one modifies the JSP discoverer and the second one use ATL transformations from JSP MoDiscoMetamodel to a new JSPStruts Metamodel.

I'd like to know which solution you think is better.

Thank you.

[Updated on: Thu, 26 April 2012 07:52] by Moderator

Re: JSP MoDisco discoverer with JSP files from Struts Project [message #858702 is a reply to message #857259] Fri, 27 April 2012 04:55 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

i agree with the second alternative : define some JSPStruts metamodel, which would extend the JSP metamodel, and then define some transformation from JSP metamodel to JSPStruts metamodel, eg with ATL.

This alternative is modular and your new tooling will be opened to take in account some new JSP discoverer release.

best regards,
Fabien.
Re: JSP MoDisco discoverer with JSP files from Struts Project [message #859324 is a reply to message #858702] Fri, 27 April 2012 11:21 Go to previous message
Eclipse UserFriend
Hi,

Thank Fabien for your answer. I propose the first solution, because in the project where I'm working before analyze JSP files of struts project we worked with the struts-config file. First we represent this file using the MoDisco XML Metamodel and then we transform this using ATL rules to our Struts metamodel, but sometimes the transformation was complex and difficult to understand. To solve this problem we decided to develop a new discoverer like MoDisco WebApp discover. Now we had more less the same problem and we have to decide between what I said in the previous post: create a new discover or use model transformation. I think that you are right and is better uses transformations than create a new discoverer, because the maintenance of the transformation look less difficult than the discoverer maintenance.

Best regards,
Víctor.
Previous Topic:EMF api - constructing XMI from XMI
Next Topic:Prohibited package name: java
Goto Forum:
  


Current Time: Tue May 20 23:22:37 EDT 2025

Powered by FUDForum. Page generated in 0.03069 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top