Developing Reverse Engineering Program -- JAVA to UML what needed

Hi there,
I am wondering why people want to develop reverse engineering?? it is useful? but developing the reverse Engineering sound interesting for me.
Anyway I just intend to figure out how to develop a reverse Engineering program FROM java to UML diagram. Which create Use cases, class and sequence diagram. Is that possible??
what kinds of Knowledge I need to know in order to develop reverse Engineering. Is there any tutorial that can teach me on how the Reverse Enginneering works?
Does Reverse Enginneering check words by words in order to develop the program?
That all...

Hi,
You need a parser, like ANTLR, plus a java grammar for that parser (antlr has one). You need a uml model implementation like MDR, EMF or the obsolete NSUML. You need a diagramming library like GEF or JGraph. With those 3 components you could build your own r.e. tool. search google for urls.
you're interested in the subject so try to read http://citeseer.nj.nec.com/545406.html and related papers.
you'll need to understand the java language specification (java.sun.com), JSR26 (jcp.org) [a std mapping from java to uml], and the uml metamodel (download the specification from www.omg.org).
many reverse engineering scenarios are possible, although not all tools have found time to implement them.
eg. java class -> class diagram
java method -> sequence diagram
I don't know of any tutorials. But you could look at the implementation of ArgoUml (argouml.tigris.org) and ask questions on the developer mailing list.
That should keep you busy for the rest of the year...

Similar Messages

  • UML modeling by reverse-engineering a JAVA project

    I can't seem to get over a basic hurdle to get started with UML modeling. I open an existing JAVA project. I then start a new project and choose "UML" and "-Platform model by reverse-engineering a JAVA project". Next I give the UML project a name and try to open my existing JAVA project. But the wizard does not show any project!
    Appreciate your help.
    Phil

    UML in JSE8 can reverse engineer all 4 built-in types of Java project defined in IDE. To prove that, I just downloaded apache ant source 1.6.5 from http://ant.apache.org/srcdownload.cgi and successfully reverse engineered it with JSE8.
    If you have a project with existing ant script , it's extremely easy, you absolutely don't need to hand-create a java project from scratch to specify source, library dependency etc. Just follow the wizard "create a Java project with existing ant script" to specify your Java project location, the ant script location, and * don't forget * to specify the source location. Any project without source folder specified is not considered a valid candidate for Reverse Engineer, and you won't see it listed under the project chooser in UML wizard when trying to associate the current UML project with a Java project. Please right click to bring up your source project properties to verify if you have source package folder correctly spelled out.
    It IS a supported feature, do let us know if you still have troubles to RE your project.

  • Reverse engineering in Java Studio Enterprise 8.1

    I tried to do the reverse engineering in Java Studio Enterprise 8.1.
    The Reverse Engineering process launches which I can tell from the output log,
    but I didn't see any diagram generated. What could be the problem?
    Thanks!

    to see if the relationships are in the model, try to expand the class and interface nodes and they should have something like the following. If these are absent, there might be something in the reverse engineering process that lost the relationships.
    - package1
    - class1
    - Relationships
    - Implementation
    + interface1
    - package2
    - interface1
    - Relationships
    - Implementation
    + class1
    As for sequence diagram, not sure how you created it. If you just cdfs the classes, you should not see any message except for the lifelines that represent the classes. If you select an operation of a class to do cdfs or reverse engineer operation, the sequence diagram will be generated.

  • Reverse engineering tool from the uml modeling tutorial

    My problem arises at the point where the tutorial wants you to generate code. I generate the code for the bankAccount.java and the accountTest.java and that works fine. I add setBalance(getBalance()+amount); to bankAccount.java. I then add the main class to the AccountTest.java and reformat the code. That all works fine. Then when I do the reverse engineering going through steps 8-10, the Model Element Overwrite Authorization dialog box, never appears, and the main() method never gets written back into the AccountTest class. Does anyone have any suggestions as to why this is happening?

    What version (or build) of UML are you using? You can find out by going Tools->Module Manager, find a uml module under UML category, right click on the module and bring up Properties, build number is listed under "Expert" section. What's your system platform? JDK?
    In step 9, is the target uml project selected? Do you have other uml projects open at the same time?

  • Izzit possible to do reverse engineering in java code

    the program will able to read the source code and draw a class diagram from the specified source code

    usually you would start off with a class diagram (during the design phase) and then write the code (during the implementation phase). But if you start off with the code and then create a class diagram, then I would call it reverse engineering.
    Rational Rose and Together do just that.

  • Java to UML tool - need some advice

    Hi there,
    I'm developing a UML case tool as part of my final year project for my BSc degree in Computer Science, the aim of this tool is to covert Java source code into a UML Class diagram.
    When given a directory containing the current project files (*.java files), the system is then intended to analyse the source files in that directory and draw a UML Class diagram which shows the Inheritance and Associations.
    Just to mention, I have so far managed to get the source code analysis done using a Doclet (via JavaDoc) and I can get the methods, variables etc for each class. These have been stored in relevant data structures.
    Hoever, the most difficult part is the actual layout and construction of the class diagram and I would apprecaite any advice or assistance anyone is willing to provide..
    Thanks in advance,
    Regards
    Tony

    Well automatic layouting will be a tough task to cover - as even experienced modelers do have problems in arranging the classes correctly.
    I think having a closer look at graph-theory and public implementations of layout algorithms for electronic boards may be a good idea.
    Maybe I should get more a little more specific here ;-)
    When doing a manual layout, I usually tend to put the root class of an inheritance tree to the top of the diagram and classes that have the most dependencies to the center of it.
    Have you thought of patitioning the diagram automatically?
    Sometimes you find classes that act as a Facade (cf. Design Patterns, Gamma et al.) to a group of related classes which can be easily put into a sub-diagram. You may open this sub-diagram by double clicking on the Facade class.
    Hope this helps a little bit :)))

  • SAP NetWeaver - Business Programming Java

    Hi.
    I am new to SAP and see that NetWeaver has three branches. Can anyone please tell me if I were to follow the <a href="https://websmp204.sap-ag.de/~sapidp/011000358700003123382006">SAP NetWeaver - Business Programming Java</a> branch, what type of work in the SAP environment will I be doing?

    it depends which netweaver module you work into...
    1. if you are in UI development you can work on WebDynpro development + Enterprise portal , should also know NetWeaver development infrastructure..
    you would typically be working in web enabling of your SAP backend and putting all your work under the secure environment of Enterprise portal..
    2. If you are in XI, the there is a combination of XI work  + Java development (Mappings / Adapter module development + Adapter Development) you can go for..
    3. CAF is one area where you can in addition to pt 1. can work on the development of composites...
    in almost all cases, you should be well versed with NWDI as a tool to have a source control system + transport mechanism...
    Also...fair knowlegde on SAP WebAS as the application server (like WAS / WLS) would always be an added advantage..

  • CASE tools for reverse engineering

    Hi there, I need a CASE tool for do reverse engineering to java code. Can somebody recommend me someone?
    Regards.

    Do you mean a decompiler? There's jode, which I think is at sourceforge.
    Do reverse engineering tools really come under the CASE rubric?

  • Reverse-engineering excel files in ODI

    Hi,
    I am currently creating an ODBC Data Source to connect to MS Excel and then reverse-engineering the excel file.Do I need to create separate ODBC Data Source for each excel file or is there any other way to achieve this?
    Please suggest.
    Thanks in advance.

    hi Dev
    1. Have you defined the correct link between DSN and your Excel File the answer is yes
    2. Have you test the Connection in Topology ?yes and it's OK
    3. Also is your Excel file has an Extension of XLS ? yes
    4. When reversing have you check the required Technology - Microsoft Excel with required Logical Schema and context Yes i have Microsoft Excel with required Logical Schema and context
    and also try checking the Tables and System Tables for reversing .I' can't

  • UML Modeling / Reverse Engineering Tool: Rational Rose orSELECT?

    Can anyone comment on the relative strengths and weaknesses of the Forte
    modeling / reverse engineering tools from Rational and SELECT? A brief
    discussion of tools for reverse engineering Forte applications appeared in
    June '98, but it was not clear how these products compared.
    Regards,
    Rob
    Robert Black
    Descartes Systems Group Inc.
    Waterloo, Ontario
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    What version (or build) of UML are you using? You can find out by going Tools->Module Manager, find a uml module under UML category, right click on the module and bring up Properties, build number is listed under "Expert" section. What's your system platform? JDK?
    In step 9, is the target uml project selected? Do you have other uml projects open at the same time?

  • UML reverse engineering tool

    Hi,
    I am searching for an advisable GNU UML reverse engineering tool. (e.g. a plugin for eclipse.)
    On internet I could only find try versions which I have to purchase.
    Any recommendation?
    -Aykut

    http://onesearch.sun.com/search/onesearch/index.jsp?qt=uml+reverse+engineering&subCat=siteforumid%3Ajava31&site=dev&dftab=siteforumid%3Ajava31&chooseCat=javaall&col=developer-forums

  • I am looking to start developing apps for the iTunes Store, but I have no previous experience. What is the best way for me to start on this? As in which programs and materials must I need and what I need to know. Thanks!

    I am looking to start developing apps for the iTunes Store, but I have no previous experience. What is the best way for me to start on this? As in which programs and materials must I need and what I need to know. Thanks!

    You will need a Mac, with OS X 10.6+ on it, to be able to develop iOS apps.
    There is some info on these pages :
    developer site : https://developer.apple.com
    developing for iOS 7 : https://developer.apple.com/ios7/
    developer support : https://developer.apple.com/support/
    developer forums : https://devforums.apple.com/index.jspa (you will need to be a registered developer to access them)

  • Is there any anti reverse engineering or software protection products for JAVA ?

    Hi
    Does anyone knows is there any anti reverse engineering or software protection products for JAVA ?

    By the time this post is written, there is no such tool that comes with the jdk.
    I have used proguard with success applying obfuscation and other features.  

  • Profiling and UML reverse engineering

    Hi,
    I just downloaded the latest jdev905preview and so far the compiling and running works fine for my Java application. Unfortunately the (event/execution/memory)profiling options are disabled, is there any way to turn it on or it's a "feature" in the preview?
    Also I am wondering is there reverse engineering like in Togethersoft's ControlCenter where you can reconstruct back the class and sequence diagrams from existing source code?
    Thanks
    Aaron

    Aaron,
    Not sure on the first point. Are you using the JDK inside JDeveloper? If not I think you need to Install OJVM in the JDK you are using, see the release notes for more information.
    As for the second point, any Java code that you have in JDeveloper can be dragged and dropped onto a Class Diagram and it will then model your code. Sequence diagramming is still not yet available in JDeveloper.
    Thanks,
    Lisa Sherriff
    JDev QA

  • WLS JMS supports the clients developed by using non-java program languages,such as,c++,VB...

              WLS JMS supports the clients developed by using non-java program languages,such
              as,c++,VB?
              

    The short answer is yes. This is a frequently asked question. I
              suggest searching this newsgroup in google using terms like "C++",
              "IIOP", ".NET", "JCOM".
              Note also that WL 8.1 (now out in beta) contains a thin java client
              (something like 0 or 300K without JMS, 700k with. The 0K client comes
              from leveraging WL's IIOP support.)
              Tom, BEA
              jerry8006 wrote:
              > WLS JMS supports the clients developed by using non-java program languages,such
              > as,c++,VB?
              

Maybe you are looking for

  • Passing a Date value from a BI Dashboard prompt to a BI Publisher param

    Hello everyone, I have a dashboard page with a Date (type: Date). This date is linked with a presentation variable vpres_datedanssemaine. In my time dimension (name: Date) I have 3 columns: -"Date" which is the date -"Lundi de semaine" ("Monday of th

  • HT4528 iPhone 5 screen changes colors

    So my iPhone 5 has recently been doing weird things.  The screen will automatically change to green and purple while I'm in the middle of something then shut off.  I have to restart it a couple of times before my regular screen will appear.  I've nev

  • Need help!! HDV question

    Hey guys.. I shot a project in HDV 108060i 16:9 project brought the footage into FCPro natively.. when its time to export my project can i give them a downconverted dv 4:3 copy with sides cropped?? and a hdv 16:9 copy? the only reason i want to do th

  • How to save data in html format while user click a save button in jsp page

    Hi All, I have the following requirement If user click on the Save Button it should display a window which allows the user to select the directory and the data is stored in the Internet Explorer Format. Could please anybody suggest me how to impletme

  • [SOLVED] openoffice toolbar disappears

    i installed openoffice, but every time i highlight any of the buttons or menus, the rest of the buttons on the toolbars disappear and the only one left showing is the one that my mouse was hovered over last.  im running kdemod 4.2 and have the gtk-qt