Results 1 to 14 of 14
  1. #1
    Join Date
    Dec 2011
    Posts
    9
    Rep Power
    0

    Default Reverse Engineering in Netbeans

    I reversed-engineering a Java code to the UML case, class, and sequence diagrams. All three files had generated successfuly, but they were empty; i.e. no diagrams were there. Why?
    The Java code that I have, does not contain src or test files. Does this affect the reengineering process. If so, how I can generate these two files?

    Many Thanks
    Silvia

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default Re: Reverse Engineering in Netbeans

    The Java code that I have, does not contain src or test files.
    What kind of files are the Java code that you have?

  3. #3
    Join Date
    Dec 2011
    Posts
    9
    Rep Power
    0

    Default Re: Reverse Engineering in Netbeans

    I tried it again and got all Class components in the "project panel", but they do not appear, connected together, in the right. Please see attachments.

    Many thanks
    Silvia
    Attached Thumbnails Attached Thumbnails Reverse Engineering in Netbeans-uml-question.png  
    Attached Files Attached Files

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default Re: Reverse Engineering in Netbeans

    Sorry, I was asking what kind of disk files you have that are the Java Code. The types of files would be .java or .class.

    If this is something you can only do in NetBeans, then I can't help you. I do not know anything about the IDE.

  5. #5
    Join Date
    Dec 2011
    Posts
    9
    Rep Power
    0

    Default Re: Reverse Engineering in Netbeans

    .class

    Thank you anyway

  6. #6
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default Re: Reverse Engineering in Netbeans

    If the files you are working with are .class files, you need a decompiler to get .java files from them.

  7. #7
    Join Date
    Dec 2011
    Posts
    9
    Rep Power
    0

    Default Re: Reverse Engineering in Netbeans

    Can you please point me to a free decompiler, that can do this job for me, in the net?

  8. #8
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default Re: Reverse Engineering in Netbeans

    Try google.


    What is in the zip file you posted the link to?

  9. #9
    Join Date
    Dec 2011
    Posts
    9
    Rep Power
    0

    Default Re: Reverse Engineering in Netbeans

    the java source code that I'm working and asking about.

  10. #10
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default Re: Reverse Engineering in Netbeans

    If you have the source (.java) files, why do you want/need a decompiler?

  11. #11
    Join Date
    Dec 2011
    Posts
    9
    Rep Power
    0

    Default Re: Reverse Engineering in Netbeans

    No, I haven't. The files there are .class, not .java. I've got that code from the net under Java code category, and it is working properly under Netbeans. The problem is just converting that code into UML diagrams using Netbeans.

  12. #12
    Join Date
    Dec 2011
    Posts
    9
    Rep Power
    0

    Default Re: Reverse Engineering in Netbeans

    Oh, I'm sorry. I confused. When you asked me about .class or .java, i checked the wrong folder that was with .class files. No, it is with .java files. So, we return to point zero. What to do in my case?

  13. #13
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default Re: Reverse Engineering in Netbeans

    the java source code that I'm working
    I was confused when you said the above. java source code means .java files. .class files are the output of the compiler.

    If you are working with .class files, you could need to decompile it to .java source files.

    Good luck with your NetBeans project.

    I don't see how this relates to java programming. Would this topic be better placed in the sub forum area for NetBeans?

  14. #14
    jammas615 is offline Senior Member
    Join Date
    Jul 2011
    Location
    Melbourne, Victoria, Australia
    Posts
    155
    Rep Power
    4

    Default Re: Reverse Engineering in Netbeans

    I know you don't want to know anymore, but JAD is free and decompiles easily and like a charm.
    JAD Java Decompiler Download Mirror | Tomas Varaneckas

Similar Threads

  1. reverse engineering
    By kulangotski in forum Advanced Java
    Replies: 9
    Last Post: 12-11-2011, 01:41 PM
  2. Java for Software Engineering
    By dawgpwnd in forum New To Java
    Replies: 9
    Last Post: 01-31-2011, 09:58 AM
  3. Reverse Engineering in Eclipse
    By novice in forum New To Java
    Replies: 2
    Last Post: 05-31-2010, 05:17 PM
  4. Replies: 1
    Last Post: 03-26-2008, 11:41 AM
  5. inverse engineering
    By Ed in forum JDBC
    Replies: 2
    Last Post: 07-02-2007, 07:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •