Creating UML sequence diagrams using UML Modeler
Has anyone tried to generate UML sequence diagrams using JDev's Modeler utility. Is there a workaround for creating sequence diagrams. Does Oracle have an very near-term plans for supporting sequence diagrams.
Thank you.
Antonio
While I've done a bit of work with UML, I'm by no means an expert, so this may be a dumb question...
Isn't the point of UML (and other modeling languages) to abstract the design of a system away from the implementation? I'm hard pressed to think of a situation where a UML diagram would change based on the language chosen for implementation.
Justin
Similar Messages
-
Is there a way to create a sequence by using multiple playlists?
Is there a way to create a sequence so that music from several playlists is played in a specific order.
For example:
1 song from playlist 1
3 songs from playlist 2
5 songs from playlist 3
1 song from playlist 4
After which it restarts.No. Create a new PL with the sequence that you want. You can tell the PL to repeat itself.
MJ -
I am creating sequences in sequence file dynamically using c#.it is creating a null sequence in the sequence file everytime of execution.I have red marked in the attachments showing the difference between the original sequence and the null sequence.How can I prevent thos.Can you please help me solve this?
duplicate
Regards
Ray Farmer -
Sequence Diagram (UML)
If I wish to represent the use case of "viewing an online document" in a UML sequence diagram. How is the document represented? As an object ? It is not an instance of a class ? This has been boggling my mind for a day !!! Please, help !
Of course you can demonstrate this use case with a sequence diagram. You do not need to have a symbol representing "the document", and in UML 2 there is no such notation.
To create the sequence diagram, you show the object interactions of this behavior. So you might have notation for Object 1 and Object2. And show (using arrows) how Object1 makes a method call such as viewDocument() and how Object2 (an arrow pointing at Object1's swimlane) provides the document for viewing. This is the representation of the behavior of viewing a document.
If you want to extend UML, which you can certainly do, you can put a little document icon above the arrows to convey that this is what is being returned to Object1. This is not necessary though.
Collaboration diagrams show relationships of object interactions with emphasis on structure.
Sequence diagrams show same information but with emphasis on time and sequential processing. -
How to create Sequence Diagrams in Jdev 10.1.3?
Hi there,
I´m migrating (trying) from Eclipse to JDeveloper and I´m having several dificulties....
I´m creating a new project in JDeveloper:
0) create an application workspace [ok]
1) create a web application project [ok]
2) create some packages and Java classes [ok]
3) create a class diagram related to the
above classes [ok]
4) create a sequence diagram [ok]
5) use the classes into the sequence
diagram [more and less]
6) use the methods of the classes into
the message lines of the sequence
diagram [no]
Some observations that are messing me:
1) Do I need to create an "Object Lifetime" for
every class and after that select "Attach Classifier" ?? Why I can´t just drag the classes into the diagram (like Jude) ?
2) Can I use the methods already defined in the classes to create messages in the sequence diagram?
3) The sequence diagram od JDeveloper is disconnected from the project classes? i.e., is it just a draw ?
best regards,
Felipe GaúchoHi,
I am glad to find that you are working on the sequence diagram. I take your point about selecting the methods and assigning them to the messages. Unfortunately this feature is gated by some architecture changes and it something I will be actively pursuing as soon as it is possible.
In reply to your other points:
1) Do I need to create an "Object Lifetime" for
every class and after that select "Attach Classifier" ?? > Why I can´t just drag the classes into the diagram (like > Jude) ?The reason for this is that the sequence modeler is simply a view onto a single diagram type that can contain any object. This allows the mingling of different UML type on the same diagram. It can be usefull to mix usecase and seqeunce for example.
For that reason the default action for java class is to model a java class, and you do indeed need to create a lifeline first. Did you know you could drag and drop the classifier, in your case a java class, from the navigator onto the lifeline. This might be quicker in your case.
2) Can I use the methods already defined in the classes > to create messages in the sequence diagram?As noted before in the preview you can't select existing messages. This is something we would like to add as soon as it is possible.
3) The sequence diagram od JDeveloper is disconnected
from the project classes? i.e., is it just a draw ?The sequence modeler isn't totally disconnected from the project classes; but it wont update as you edit the code if this is what you mean.
Could you perhaps expand on this point a little bit?
Thanks,
Gerard Davison
UML Modelers -
Mapping Code to Design with UML Modelling
Hello
I want to know if I could map code to design automatically with using UML modelling function using JDeveloper 10.1.3? What I mean is... I know I could transform Java classes from Class Diagram, but, how about mapping code automatically with Sequence Diagram? By the way, what is the main function provides to us for other diagrams besides Java Class Diagram? Thank you.
CharoiteYou can create a sequence diagram from a debugger session in JDeveloper by adding a breakpoint to your existing code and then picking Debug -> Debug with diagram. Every time you step into a class the sequence diagram will update, you can then save the diagram after ending your debug session and edit it from publication.
JDeveloper does not support creating java code from the sequence diagram.
Thanks,
Geoff -
Procedural Programming with UML Modelling
Hello,
I want to design my program with the UML Modeling but my programming language paradigms is procedural not Object Oriented Program. I can hear many programmer says: "UML not only for oriented programming". Its True?
So, from where should i start, What are
diagrams to be used for procedural
programming Please help mention that the UML diagrams.
Thank You
Hope Your answerYou can create a sequence diagram from a debugger session in JDeveloper by adding a breakpoint to your existing code and then picking Debug -> Debug with diagram. Every time you step into a class the sequence diagram will update, you can then save the diagram after ending your debug session and edit it from publication.
JDeveloper does not support creating java code from the sequence diagram.
Thanks,
Geoff -
Unable to open sequence diagram created by earlier version of JDeveloper
About 2 years back, we were using the JDeveloper to create sequence diagrams using the latest version of JDeveloper at that time. The diagrams were created and saved by Jdeveloper in ".oxd_seq" files.
We are now trying to open these diagrams using the JDeveloper version of Studio Edition Version 11.1.1.3.0. It is not working for ".oxd_seq" file. Is there any way we can recover those diagrams in JDeveloper 11.1.1.3.0?Hi Drew
Normally it's pretty simple.
1. Copy the .CP file(s) from source computer to intermediate media. (Network server, USB drive, CD, Etc.)
2. Copy .CP file(s) from intermediate media to destination PC.
3. Open Captivate and open file(s) in new location on destination PC.
At no point should you ever consider leaving the .CP file on a network drive and opening Captivate and browsing to the file to make edits while it is in the network location. You always want to work locally.
Another thing to consider is that Captivate seems touchy with CP files. You will want to ensure that all PCs are using the same version of Captivate. This includes patches. I wouldn't want to save a .CP file from a patched version 4 and expect to open it without issues on an unpatched version 4.
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
How to generate Sequence Diagrams for existing code
Hi,
I have a web application written in Java/Jsp's. I am looking to generate sequence diagrams automatically for the existing source code using this tool. I am not sure if this is possible using this tool. Can some one please explain me if that is possible using this IDE tool? If so can you please let me know how this can be done?
Any response is greatly appreciated.
Thanks in advance.
VijayHi,
Yes, you can reverse engineer operations and create sequence diagrams using Java Studio Enterprise.
Just right-click on the operation in the UML model that has the source file associated with it, and select "Create Diagram from Selected elements" or "Reverse Engineer Operation".
Thanks! -
Creatimg Data Flow Diagrams using applets
i am using java applets to make an application for Data Flow Diagrams. how to provide for validations for rules for the same and to have multiple level of windowa for it.
nsh11 wrote:
Sorry, i am new to forums.sun.com. Please tell form where to search for creating data flow diagrams using applets.That is too specific a question. If you want help on DFDs, [search on DFDs|http://www.google.com/search?q=Data+Flow+Diagrams]. If you want help with custom rendering, search on [custom rendering Java Tutorial|http://www.google.com/search?q=custom+rendering+Java+tutorial] . If you want help with applets, search on [applets Java Tutorial|http://www.google.com/search?q=applets+Java+tutorial] . If you have any specific questions how to make your DFD work and render in an applet, ask a (much more) specific question.
But to be honest, if you cannot frame a more specific question after researching those links, I would recommend you look to a career in some field other than programming.
Edit 1:
Hit 'enter' too early.
Edited by: AndrewThompson64 on Feb 11, 2010 11:23 PM -
How to pass a sequence by 'using' for execute immediate
how i can pass a sequence.nxlval as a parameter through using , here is my code looks like
sql_string is -> insert into some_tab (col1,col2, ....) (select col1,:passed_seq,......) where .... (i want to insert sequence values for col2)
and i am calling this as
passed_seq := 'seq_'||some_dynamic_num||'.nextval' ( in my db there will be sequences with the formed string like seq_10.nextval)
EXECUTE IMMEDIATE sql_string using passes_seq;
if i am doing like this i am getting
Error : -1722:ORA-01722: invalid number seq_10.nextval
Edited by: DIVI on Jan 8, 2013 7:40 AMHi,
I hope you have created sequence as below
SQL>
SQL> CREATE SEQUENCE seq
2 MINVALUE 1
3 START WITH 1
4 INCREMENT BY 1
5 NOCACHE
6 NOCYCLE;
Sequence created.
SQL>
SQL> SELECT * FROM TEST1;
EMPNO EMPTYPE EMP_ADDRESS SALARY DEPTNO
1 HR MUMBAI 10000 10
2 ADMIN THANE 6000 20
SQL>
SQL> INSERT INTO TEST1 (EMPNO)
2 VALUES(SEQ.NEXTVAL);
1 row created.
SQL> COMMIT;
Commit complete.
SQL> SELECT * fROM TEST1;
EMPNO EMPTYPE EMP_ADDRESS SALARY DEPTNO
1 HR MUMBAI 10000 10
2 ADMIN THANE 6000 20
1
SQL>Now if you need to add different numbe in differenct condition then create multiple sequence and use them accounding. -
Creating class diagrams with the Endevo UML Modeller
I need to create a UML class diagram from existing LabVIEW 2009 projects and classes. Has anyone had any experience using the Endevo UML Modeller 1.2 to do this? The web site does not have an evaluation version of the UML Modeller.
Try cross-posting (mention the cros post) on the LAVA OOP forum here.
The develpers from Endvo watch that fourm and reply regularly to GOOP questions.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
UML Modeling for Class calling another class in Class Diagram and Sequence
In my application, business delegate is calling Session Facade through business interface. Session Facade is implementing business interface which includes my application business processes.
In my class diagram, I am showing business delegate, business interface and Session Facade.
What kind of relationship should be shown between
1. business delegate and business interface
2. business delegate and Sesion Facade
I am not very sure wthether relationship mentioned above are really need to show.
What should be calling sequence in sequence diagram. Do I really need to show business interface in callling sequence of sequence diagram or I can show business delegate is calling directly to Session Facade.
Thanks
SanIn my application, business delegate is calling
Session Facade through business interface. The delegate is interacting with what exactly when you say "through"?
If the delegate uses an interface then there is an association.
If it is getting an interface implementation from some other object then there is an association there.
Given the above then there is no relationship between the implementation of a interface and the delegate however.
Session Facade is implementing business interface which
includes my application business processes.The implementation would have associations to the objects that it is providing a facade for. -
Hi everybody!
Does anybody know where I can find some example or tutorial on how to write an XML file (following the XMI specification) representing an UML sequence diagram?
I mean...I want to be able to write that XMI file in order to give it to a UML tool that can read it and transform it into a UML sequence diagram.
Thanx
LexisThere's very little hand-authored XMI around, so the only tutorial you're likely to find is:
- create sequence diagram in UML tool
- press export to XMI button
If you're trying to use a specific tool or library, indicate which; if you're trying to work from the XMI specs, indicate which version and which tool you're targetting.
You may well be best off exporting a few simple sequence diagrams from your tool of choice, then reverse engineering them, as tracing through the XMI -> MOF -> UML specs is both time consuming, and libiable to throw up inconsistancies, semantic variation points and implementation options.
Pete -
UML diagrams using Jdeveloper 9.0.3
I would like to get some help from people who have used Jdeveloper 9.0.3 for creating UML diagrams.
scenario
I have 2 packages namely com.pack.bo and com.pack.ejb created using Jdev.
I have business objects represented in UML inside bo package and have SB's inside ejb package.
Now how would i show the relationships from ejb's to bo's diagramatically ?
Is there any way to show the above mentioned ?
ThanksHi,
You could use the Dependency relationship to show the connection on a diagram. Also you could use Notes and Note Attachements to further annotate any relationship.
Regards,
Gerard Davison
Maybe you are looking for
-
I Use a registered copy of LR5.5. my hard drive has been replaced & I need to know the correct procedure to reinstall it on my new HD. I should get my PC back within a week. Can you please provide direction for this?
-
Type in "Advanced Search" and I don't get one result with advanced in it.
I want to find results with all my criteria in it, not just one or two of the criteria. What is going on here?
-
Startup key combinations with bluetooth keyboard?
In Lion, accessing the recovery partition entails holding down the command-R key combination at startup. Selecting a startup disk and starting up in Safe Boot mode also require holding key combinations at startup. But under Lion and a bluetooth keybo
-
Query on redirecting to a page when login button is clicked
Hi, I want to redirect to/pop up an existing page with page name 9 when the login button in the log in page is clicked.Is that possible?.Now it is redirecting to page 1. Edited by: tj2010 on Sep 8, 2009 2:10 AM
-
Trying to do a piece with plain flat san-serif text on a spiral extruding into the distance with the center of the spiral as the vanishing point. When I do this, some extruded faces are created and others do not. Usually teh curved parts of the lette