Java 2 UML Use Case Diagrams
I am stuck at Use Case Diagrams generator, which takes Problem Statement or Requirement in english and generated Use Case Diagrams from it.
I am successful at finding and seperating Parts of Speech from English sentances using PoS Taggers.
how can i model them?
are there any tips/open source programs available.
learn English so the software understands you.
Similar Messages
-
Jdeveloper cannot load Use Case Diagram
Hi all,
I have a set of use-case diagrams that I worked on and everything has been coming fine until now. Suddenly, the diagrams cannot load, and I get this error message anytime I try to start jDeveloper:
java.lang.IllegalStateException: Models cannot be loaded until registration is completed
at oracle.bm.meta.MetaModelManager.loadModels(MetaModelManager.java:271)
at oracle.bm.meta.MetaModelManager.access$1000171(MetaModelManager.java:60)
at oracle.bm.meta.MetaModelManager$ModelLoader.getModel(MetaModelManager.java:576)
at oracle.bm.persist.APersistedTypesHelper._registerMetaTypes(APersistedTypesHelper.java:191)
at oracle.bm.persist.APersistedTypesHelper.registerMetaTypes(APersistedTypesHelper.java:89)
at oracle.bm.persist.PersistedTypesRegistry.metaTypesInit(PersistedTypesRegistry.java:251)
at oracle.bm.persist.PersistedTypesRegistry.getType(PersistedTypesRegistry.java:141)
at oracle.bm.commonIde.node.NodeUtil.getArtifactsImpl(NodeUtil.java:663)
at oracle.bm.commonIde.node.NodeUtil.getArtifacts(NodeUtil.java:301)
at oracle.bm.commonIde.AddModelFileVetoListener.rebuildModelProject(AddModelFileVetoListener.java:747)
at oracle.bm.commonIde.AddModelFileVetoListener.update(AddModelFileVetoListener.java:227)
at oracle.ide.IdeSubject.notifyObservers(IdeSubject.java:215)
at oracle.ide.model.DefaultDocument.notifyObservers(DefaultDocument.java:273)
at oracle.ide.addin.UpdateMessage.fireObjectOpened(UpdateMessage.java:543)
at oracle.ide.model.DataNode.fireObjectOpened(DataNode.java:191)
at oracle.ide.model.DataNode$1.run(DataNode.java:168)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Any help please ?Hi,
This turns out to have been an interaction between the AspectJ addin and the UML modelers. If you turn of the AspectJ addin the problem goes away. The issue has been logged against the AspectJ addin as:
https://jdeveloperaop.dev.java.net/issues/show_bug.cgi?id=1
There should be a fix avaliable soon,
Gerard -
10.1.3.0.3EA - use case diagrams
hello,
Is it possible to publish the diagrams and the use cases to a webserver?
Thanks.
Dany.Hi,
If you select the Project node in the Navigator and then select 'Run | Javadoc <Project Name>' this will generate a JavaDoc style of your Use Cases and Use Case Diagrams and the Use Case Diagrams should allow you to click on a particular use case to jump to the definition.
Hope that helps,
Lisa
JDev QA -
10.1.3 Use Case Diagram BME-02054 Circular package dependecy detected
Hello,
I am receiving the error
BME-02054 Circular package dependecy detected
when I try to change the package name of a system boundary. All I am doing is appending an additional package name to the end of the existing package name (thus wanting it to appear in a seperate package).
As an example, my system boundary I have named security. The system boundary is currently located in package net::at::modeling::care. I then add security onto the end so I am wanting package name to be net::at::modeling::care::security. The error appears. I then go and change the package name to net::at::modeling::care::whatever and it works. I go back and change the package name to net::at::modeling::care::security and that now works. Thus by first going to whatever and then back to security I can change it to the pacakge I am wanting.Hi Lisa,
I have been using version 10.1.3.34.12. Unfortunately I have somehow "lost" my diagram as now when I open it all elements have been removed. I am going to contine to play with this and see if I can get the error to occur again. I do know, that I was going out to the file system and ensure that directories were not created on the file system as I was getting this error. Thus, there couldn't have been anything in the packages already.
Thanks for getting back to me. -
10.1.3EA - Use Case Diagrams & System Boundaries
Hello,
When UCs are dropped into a system boundary, I think it would be nice if the UCs would be placed into the same package as the system boundary (system boundary package was changed BEFORE UCs are added). The UCs are always placed within the same package as the diagram is located.
Maybe I am missing something here.
Thanks.Steve,
I have spoken to the developer and he agrees that it should really do this, so I have filed bug 4932509 for this.
Regards,
Lisa
JDev QA -
I need help making a use case diagram for a piece of text, is there any1 willing to help.
its 5 lines of text, but tryed it but i think i have done it wrongSun Studio is a suite of tools for developing, debugging, and analyzing programs written in C, C++, or Fortran (and to a limited extent, Java). You seem to be asking how to draw a diagram that represents some natural-language text. Such a task does not seem to be related to anything to anything you can do with Sun Studio.
Where ever you wind up asking your question, I suggest you be more specific about what you are trying to do. For example, are you trying to draw a program flow chart, a PERT or Gantt chart (showing project flow), a UML chart (program organization), or something else? -
This is an excerpt from "UML Distilled" by Martin Fowler & Kendall scott(pageno.47)
"How many use cases should you have?During a recent OOPSLA panel discussion, several use case experts said that for a 10-person-year project, they would expect around a dozen use cases. These are base use cases; each use case would have many scenarios and many variant use cases. I've also seen projects of similar size with more than a hundred seperate use cases.(If you count the variant use cases for a dozen use cases , the number end up about the same.)As ever, use what works for you."
EXCERpT END
So far my understanding of variant use case is that a variant use case represents a functionality that is reapeating across many use cases. The above excerpt does not seem to fit with this understanding.
During the initial phases of project, if high level use case representation has to be conveyed to a domain expert , making use cases which include a great deal of similar requirements is a good idea as the whole system can be represented in a very simple manner.
For example , a use case like "manage accounts" can be further subdivided in to open , deposit, withdraw, close account in later stages of development. But the issue is could these be called as use case variants. And how these are to correlated to the original use case "manage accounts"?.
thanking you,
sprasadBe careful with RUP - it's very documentation centric, and I have yet to see a case where all of the required documentation is useful to the successful development of the project.
The hierarchial decomposition of a problem domain is best illustrated through dual mechanisms - both the Use Case diagrams, and actual Use Case documentation. The diagrams can be developed in a hierarchial fashion (i.e. a single use case on a high level diagram decomposes into several more detailed use cases on a separate diagram).
Where you stop the decomposition is really part of the art of use case analysis, and will be impacted by the methodology that your team practices. The teams that I work with practice various "Agile" methodologies (XP, Scrum, Crystal, DSDM, etc.), so what I look for in a "detailed" use case is 1) can a developer build the needed functionality within a single development iteration? and 2) What other functional areas (if any) are similar enough to encourage the development of more generic functionality to address multiple requirements. My guess is that this is equivalent to the "variant" use cases mentioned above (bear in mind I haven't read the book).
So it really depends on how your project team works. If you are practicing a "heavy" methodology like RUP or Waterfall, where all of the analysis is done up front, it is important to define all of the use cases in advance. This doesn't change the issue of how to establish the functional requirements hierarchy, but it does change when you will put in the effort to identify this hierarchy.
If, on the other hand, you are practicing an Agile methodology you will still need to identify the hierarchy, but you do it in stages. For instance, at the beginning of a project I will identify the major functional needs (i.e. an accounting system needs AR, AP, journals, GL, etc), but then I will concentrate on the detailed analysis of only one aspect of the application. From there the team will design and build it. Then we move on to the next aspect of the application. At the end you still have a detailed analysis of the application (hierarchial use case information), but you can much more readily adapt to changing business requirements, and you tend to produce a lot less meaningless documentation. -
Is UML Used In Industry?
Developers,
I have read several books on UML and software engineering priniples including OReilly and Fowler books.
Now what i would like to know is has anyone designed a program where they did all these fancy picyures BEFORE starting writing code. You see i propose that all this UML stuff is just academia trying to be rigorous. It is my experience that people dont bother with UML because it is a waste of time. Those companies that require these diagrams normally get them after the project is implemented and thus do not contribute whatsoever to the software design of the project. At least that is my experience.
But hang on a minute. I agree that use cases are important but i dont agree that class diagrams, colloboration diagrams etc are useful.
You see when you write code you begin coding and then realsie that method you have just written needs an extra parameter and so have to make that modification-does that mean each modification has to be mirrrored in your class diagram.
I propose that you cannot draw an accurate class diagram with all the methods and parameters in such a way so as to help you with your software design. And i havent even complained about how you get this information on a one sized A4 sheet of paper without using point 4 font.
This approach might lead to spagheti code but on the whole for people working on their own, it seems to work. I cannot talk about group work but maybe someone else can.
If anyone can prove me worong i'd be interested but also try and post a class diagram which actually does a major task-Developers,
I have read several books on UML and software
engineering priniples including OReilly and Fowler
books.
Now what i would like to know is has anyone designed a
program where they did all these fancy picyures BEFORE
starting writing code.Yes people do use UML and from my experience in many, although not in every, case they do profit from this aproach
Those companies that
require these diagrams normally get them after the
project is implemented and thus do not contribute
whatsoever to the software design of the project. At
least that is my experience.If they do help to document the system it is still a good thing.
>
But hang on a minute. I agree that use cases are
important but i dont agree that class diagrams,
colloboration diagrams etc are useful. Interesting, I found use case diagrams the least interesting, cause most of the information found in these diagrams, I can just as well put in a piece of prosa or a excel table
You see when you write code you begin coding and then
realsie that method you have just written needs an
extra parameter and so have to make that
modification-does that mean each modification has to
be mirrrored in your class diagram.I have actually done such a thing, in a case when the whole project was about designing an API. And I am sure the developers found glitches and missing parameters, but without UML I had have a hard time to communicate my ideas to developers I never met.
>
I propose that you cannot draw an accurate class
diagram with all the methods and parameters in such a
way so as to help you with your software design. And
i havent even complained about how you get this
information on a one sized A4 sheet of paper without
using point 4 font.If a single diagram doesn't fit on an A4 sheet, paste two together. If this still isn't enough, your diagram probably contains to much for most practical purposes.
>
This approach might lead to spagheti code but on the
whole for people working on their own, it seems to
work. I cannot talk about group work but maybe
someone else can.Yepp if gigantic diagrams keep appearing this is a hint that their is either a case of misusing UML or of bad design ... UML gives you a hint and thereby helps you ... what more can you expect?
If anyone can prove me worong i'd be interested but
also try and post a class diagram which actually does
a major task- Sorry I can't provide you with an example, but I promise, I had tons of sessions with other developers or designers discussing over Class and Object diagrams and it helped a lot. Before UML became widly known we used no proper notation an missunderstandings reduced speed a lot.
I love UML and I think it is a great thing. But I agree with you: It is a tool that can be used in various ways and I seldom found the ways in reality as they are described in textbooks
regards
Spieler -
Use case export to text document
In Jdeveloper you can export generated UML use case with scenarios, to HTML format, however is it possible to generate to say .txt or .doc type files?
I am looking at a very good commercial product called Visual Use Case and wondered if JDeveloper's generated documentation has/can have similar features.
Thank youHi,
there is SDE plugin for JDeveloper ( http://www.visual-paradigm.com/product/sde/jd/ ) but it only works with older - 10.1.2 version of JDev.
Kuba -
Problems with use cases in JDeveloper 11.1.1.1.0
Use cases made with JDeveloper 11.1.1.0.2 can not be used and edited in JDeveloper 11.1.1.1.0.
Same problems with Use Case Diagrams.
And it seems to be impossible to create new use cases in JDeveloper 11.1.1.1.0.
What are the differences between 11.1.1.0.2 and 11.1.1.1.0 if you look at use cases??In JDeveloper 11.1.1.0.2 each use case has one file with the folllowing name: *.xhtml_usc.
In JDeveloper 11.1.1.1.0 each use case has two files with a names like *.xhtml_usc and *.uml_usc (after standard migration with JDeveloper). I can still edit the *.xhtml_usc files, but I have no idea what to do with the *.uml_usc files. I can only open a Property-editor, but the properties I see have no relation with the text I used in my original use cases . New use cases only have a *.uml_usc file and a Property-editor. In javadoc the new use case does not appear.
My question is: why do I have two different use case files in JDeveloper 11.1.1.0 and how can I use the Property editor?? -
Could someone tell me what a use case is? Is it some short of diagram?
No it is not a diagram. A Use Case Diagram is a diagram, but it is not a Use Case.
Read 'Writing Effective Use Cases', A. Cockburn. -
I have searched google, but was not able to find article or blogs to answer this question. The questions asked here are very old. So I think this is a very relevant question today.
We are a .NET group and we to update how we storyboard our application development. What tools does Microsoft use to mock UI interfaces, flowcharts, and use cases? Specifically for projects that are either C# .NET MVC 5 and above (looking forward to
vNext).
In the past, power point was able to do some of these things, but it seems it has been deprecated? Does Visio use these things? Also, is Visual Studio's 2013 UML diagram any good or is there another tool in Microsoft's bag of goodies that has more options?
I have read about blend, but it does not seem to be .NET MVC specific.
Again, this is asking about what tools Microsoft teams usually use to storyboard as our team would like to mimic the more contemporary processes. We are in the process of upgrading our .NET applications and feel it is time to update our workflow process
as well.
Any book recommendations on TFS 2013 and agile are welcomed as well.hlyates,
Sorry but you have posted to a forum that deals exclusively with questions/issues about Microsoft Project, a project management application.
I suggest you delete this post and start with the following: http://social.technet.microsoft.com/Forums/projectserver/en-US/home?forum=whatforum
John -
JDEV 11G TP3 [BUG]: Diagramming / Use Case & Activity / open save
I'm not able to open existing use diagram and couldn't save activity diagram after i created them. So UML is not functional in this preview release.
Is this knowns bugs ?
Is some workarounds knows ?
I need these diagrams very soon and would know if i have to create them in a another tools or it is a way to use JDeveloper for them.
Thank youYou can find more details in these threads
http://forums.oracle.com/forums/thread.jspa?threadID=622107
JDEV 11G TP3 [BUG]: Diagramming / Use Case & Activity / open save
I already sent my project files to Shay. I may sent them to you too if needed.
I suspect the problem may be due by the fact i'm using two workspaces simultanously, both managed with subversion. I already detected in the same configuration that "Select in Navigator" from pl/sql editor doesn't find an edited file (loaded from the offline database navigator) in the offline database navigator because it was searching the same project but in the wrong workspace. -
Building java applications using UML
Hi all
I want to get experience for building java applications using UML.
Pls advice what is the best text book should I purchase??
thanks
maduraI do not use UML to auto-generate codes either. Take a look at Martin Fowler's bliki on some quite good views about UML: http://www.martinfowler.com/bliki/uml.html
What I do use UML for:
1. To visualise the system being built during the analysis and design phases - both to help improve understanding and to keep the stakeholders happy.
2. To reverse-engineer existing code that's weak on both design documents and code design. Makes understanding the code easier.
3. To highlight areas in existing code that might benefit from the application of design patterns.
As for how UML converts to Java code, the main diagrams are the Class Diagram and the Interaction Diagrams - Collaboration and Sequence. These diagrams translate to code very well.
Hth. -
Linking code to Use Cases/Sequence Diagrams
How can one link Use case or sequence diagram components / to code
do they have to be in the same project or can they be in some other projects?
Is there a way to do this in JDeveloper (10.1.3) ?I think I failed to clarify this.
Can I keep my requirement docs sequense diagrams in sync wiht the
design or code or does this need to be done manually.
JBuilder's together livesource automatically keeps them in sync.
Does JDev do something similar ?
Maybe you are looking for
-
Abap wp table - there are no items to show in this view
My apologies if I posted this in the wrong section. I started the system in SAPMMC Console and The ABAP WP Table don´t show any work process list and in Process List section the disp+work.EXE (Dispatcher) IS stopped. basically the abap WP table says
-
Description My media keys used to work to play, pause, skip forward/backward, etc. in Spotify, and other applications when Spotify is running. Suddenly, my media keys have no effect. A more detailed description, using numbered steps 1. Open Spotify 2
-
Hi All, I am working on a Purchase Order Adobe Form. We have a requirement to display multiple item level texts i.e. material text, item text and delivery instructions in one of the table column. How can i add all these three item texts in one of t
-
Broadcaster setting format issue
Hi experts, I am facing an issue after upgrade to EHP1 and would like your help: when we braodcast a report (PDF format), the first page is related to filters and all value from the variables. The issue is that part of the report result stays in the
-
How can I get help with this?
Hi There I am posting this here as my fiancé is pulling her hair out over Verizon's customer service (or lack of it). I'm from the UK, my fiancé came to visit me from Florida. Originally for 3 weeks then decided to stay for 6 months. I advised her to