I'm a java developer new with uml modeling. I wanna create a complete web application (backend+db+jms+security +ui) deployable to an application server by using only UML. Despite I didn't understand what really is meta-modeling I started using Umbrello, visual paradigm and eclipse emf. I've read just a little about omg's xmi standard. So supponing to have an xmi file I didn't understand how to generate java code. Eclipse emf for example would generate "strange" java code. Do I need to write my own xmi parser?
2
There are 2 best solutions below
0
Sameh Ayoub
On
Eclipse EMF generator generates code for saving and loading your model, so there is no need to write your own parser or serializer.
EMF allows you to generate a maximum of four different plugins for a defined model:
- Model: The model contains all entities, packages and factories to create instances of the model.
- Edit: The edit plugin contains providers to display a model in a UI. For example, the providers offer a label for every model element, which can be used to display an entity showing an icon and a name.
- Editor: The editor plugin is a generated example editor to create and modify instances of a model.
- Test: The test plugin contains templates to write tests for a model.
This is a good article if you need any help with EMF: What every Eclipse developer should know about EMF. http://eclipsesource.com/blogs/tutorials/emf-tutorial/
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in UML
- steps to create a web app with backend and database and web
- How to present this example concept in UML: Using 2 LCD displays in C/C++
- In the UML diagram, in the Class diagram, what does stereotype mean <<compound>>?
- UML representation of containerized services
- uml class diagram for boxing match
- Polymorphism can be described as:
- Why am I getting a plantUML syntax error with a statechart in a package?
- System or external system as an actor in a use case?
- How to model statechart behavior inheritance using UML?
- Can we have an interface create objects of another interface in UML Class Diagrams?
- Is my relationships correct in my class diagram
- How to attach a Port shape to a class shape?
- How to correctly create a sequence diagram?
- How can I insert activity diagram image to an use case in Enterprise architect?
- Use case extends or include
Related Questions in EMF
- Acceleo M2T (Cannot access to the my matamodele attributes , references .. )
- GenerateDsl.mwe2 error if changing the Target Platform
- I'm trying to deserialize an XML and getting null for some of the attributes
- Retrieving the "match of value" in an ADD Diff computed by EMF Compare
- EMF: External Interface as Supertype in Model
- EMF resource load - SAXParser reading map twice
- Aquiring EMF Editing Domain
- How to copy a generic list with Eclipse EMF?
- How to use generated EMF model code in other Gradle subproject?
- How to refer two different meta models (like autosar422 and 446)in one project
- Can I reference java.ecore in project.ecore without relative path? but use module references instead?
- Eclipse EMF Compare for XML files
- How to customize ArrangeAll action or is it better to wright our own
- How to generate code from custom scoping through instances?
- How to save an EMF Model
Related Questions in XMI
- How to import .uml file in Eclipse Papyrus?
- use Ecore/XMI editor for instance creation from Ecore metamodel
- Why there is no something like "static" in XMI?
- How to get XMI File into pandas dataframe
- Ecore EMF PackageNotFoundException
- Replace referenced href with full tree
- How to fix XML parsing error: Reference to undeclared namespace prefix: 'Matrix'
- How to make this CardView with a circle containing a letter
- BPMN with OCL or other Constraints Language
- Read Sequence Diagram from XMI using EMF
- Jhipster-UML taking too much time to generate jdl file
- How to import any UML/XMI files to StarUML?
- Error Converting jcas object to json object (Infinite recursion)
- Import SysML Models with xml/xmi Format to a Graph database
- Override e4 rcp keybindings
Related Questions in UMBRELLO
- How to adjust the size of self-synchronous calls in Sequence Diagrams in Umbrello?
- How to draw self-call and recursive call with Umbrello?
- Umbrello doesn't show aggregation association
- Umbrello wont create relation
- Java programming with uml
- phpuml command not found
- Tool to automatically create a class diagram for Qt application
- KDE for Windows (7): non-resizable dialogs
- Automagically create class diagram from java code in umbrello?
- How to convert an activity diagram to a petrinet, synthesize it and then analyse it?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
No.