JSP MoDisco discoverer with JSP files from Struts Project [message #857259] |
Thu, 26 April 2012 07:52  |
Eclipse User |
|
|
|
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 #859324 is a reply to message #858702] |
Fri, 27 April 2012 11:21  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03069 seconds