Book a Demo

Author Topic: Importing html, xml, js, jsp based files into EA  (Read 15395 times)

gibbswes

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Importing html, xml, js, jsp based files into EA
« on: October 09, 2014, 02:03:59 am »
I'm working with Enterprise Architect (EA) Version 4.01.  I've was already able to import .java based code into this version of EA without a problem.  Does EA give the option of importing existing HTML, XML, JS and\or JSP files?  

One update to my question above, I created a "Web Modeling View" inside of EA and I see how you can drag-and-drop web-modeling components from the toolbox onto the diagram.  This would be long and time-consuming for me since I already have about 30 JSP files, 30 JS files, etc...  I'm looking for solution to upload my existing JSPs and JS files onto this "Web Modeling View".

Wes
« Last Edit: October 09, 2014, 02:46:43 am by gibbswes »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Importing html, xml, js, jsp based files into
« Reply #1 on: October 09, 2014, 04:08:04 am »
Are you sure about the version???

q.

gibbswes

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Importing html, xml, js, jsp based files into
« Reply #2 on: October 09, 2014, 04:17:49 am »
Sorry, your correct, was looking at wrong text in the "About EA" box, I'm using 11.0.1107

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Importing html, xml, js, jsp based files into
« Reply #3 on: October 09, 2014, 05:27:19 am »
So RE your OP: EA can import code, but neither HTML nor XML. What would you expect to be the outcome of such an import? JS/JSP I actually don't know  but you might give it a kick with a Java import (don't kill me if I'm absolutely wrong here since Jxxx is nothing I use on a daily basis - not even yearly ;)).

q.

gibbswes

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Importing html, xml, js, jsp based files into
« Reply #4 on: October 09, 2014, 08:03:29 am »
The purpose of importing the HTML, JavaScript, CSS would be to represent these pages of our application in Sequence Diagrams for given business processes.  I did try the route of importing JSP, etc with the source code import option in EA, but it did not work, it filters on the extension of the file "*.java" so it doesn't import .jsp, .css or .js files.  We did use this import option on our Java files, worked great.  

For you and others seeing this post, only solution we found was creating a "Web Modeling View" within EA, then opening the diagram, then copying each JSP page "via copy\paste" onto the EA diagram.  You have to copy one at a time in this process.  After pasting, when prompted with the EA modal, select the option to put file in as "Artifact (Internal)".
« Last Edit: October 09, 2014, 08:05:18 am by gibbswes »