- Jul 18, 2002
- 1,655
- 1
- 81
Good morning,
I recently inherited a relatively complex code-base. When I say complex, I mean more than your typical line of business CRUD app, though those elements certainly exist within it.
I will say the code is fairly well structured, though not really commented (shocker!). There exist a handful of .jsf pages. These pages are fairly straight forward. Inside these .jsf pages, though, is quite a bit of JavaScript. The JS within the pages create GET / POST requests with the entered or selected data and fling them to URL endpoints. At these URL endpoints are .java files which parse the requests and do their complex calculations. These calculations include taking the parsed info and sending them to other servers, dumping info into a database, error checking, etc.
I have been going through manually and essentially just taking notes on what is going on in a .doc file. This works, but is slow going. Worst still, I have other job responsibilities which prevent me from diving straight into the code for 8 hours straight. I get 2-3 hours here or there for this task.
Can anyone recommend any Java and JavaScript code-mapping tools? I am most interested in sequence diagram and tracing tools. I love the idea of running through a use-case, recording what happens, and then getting a map of the functions called, any POST / GETs, etc.
I have of course googled, but there are a bunch of programs that claim to do this, but I really don't want to install 15 different java code mapping tools of questionable origin. Same thing with the JavaScript housed inside the .jsf pages. I would like some pictures / sequence diagrams to get a visual representation of what is going on (JS functions called on what pages, POST / GETs sent to what URLs). I haven't done web development in awhile (I am comfortable with jQuery and AngularJS...to give you an idea of my skill level) so not only do I need Java tools, but also JavaScript.
Glassfish server with NetBeans IDE. Free is good, but I am open to pay tools which are first-class (Definately need a trial period though).
Thoughts ?
I recently inherited a relatively complex code-base. When I say complex, I mean more than your typical line of business CRUD app, though those elements certainly exist within it.
I will say the code is fairly well structured, though not really commented (shocker!). There exist a handful of .jsf pages. These pages are fairly straight forward. Inside these .jsf pages, though, is quite a bit of JavaScript. The JS within the pages create GET / POST requests with the entered or selected data and fling them to URL endpoints. At these URL endpoints are .java files which parse the requests and do their complex calculations. These calculations include taking the parsed info and sending them to other servers, dumping info into a database, error checking, etc.
I have been going through manually and essentially just taking notes on what is going on in a .doc file. This works, but is slow going. Worst still, I have other job responsibilities which prevent me from diving straight into the code for 8 hours straight. I get 2-3 hours here or there for this task.
Can anyone recommend any Java and JavaScript code-mapping tools? I am most interested in sequence diagram and tracing tools. I love the idea of running through a use-case, recording what happens, and then getting a map of the functions called, any POST / GETs, etc.
I have of course googled, but there are a bunch of programs that claim to do this, but I really don't want to install 15 different java code mapping tools of questionable origin. Same thing with the JavaScript housed inside the .jsf pages. I would like some pictures / sequence diagrams to get a visual representation of what is going on (JS functions called on what pages, POST / GETs sent to what URLs). I haven't done web development in awhile (I am comfortable with jQuery and AngularJS...to give you an idea of my skill level) so not only do I need Java tools, but also JavaScript.
Glassfish server with NetBeans IDE. Free is good, but I am open to pay tools which are first-class (Definately need a trial period though).
Thoughts ?
Last edited:
