Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - LeventKent

Pages: [1]
1
General Board / Elements in the model but not in the code
« on: June 18, 2012, 04:19:49 am »
Hi everyone,

in http://www.sparxsystems.com/enterprise_architect_user_guide/software_development/cgo_synchcode.html

There is a section "Synchronize Classes on Forward Generation
", where elements in code but not in model can be reported.

What I need is the strict opposite.
Can we get a report or a dialog of newly modeled elements not existing in Java code?

Thanks in advance...

2
General Board / A basic question about EA and MDD
« on: June 04, 2012, 10:10:12 pm »
Hi everyone,

in this thread I will first be summarizing our case.

We have a large project at public sector with onshore and offshore teams. The technical designs and modeling is done onshore and the detailed implementation is being done offshore.

Technologies:
Oracle, Java,Hibernate, Spring, Richfaces

For the time being, we are using simple class diagrams with predefined uml pattern support to generate the structure of entities/components as Java code. Since we only have the corporate edition for the time being, we do not generate any behavioral code.

The project was initially not designed as a Model driven development project, so there are no predefined processes our big initial budget to book on MDD. I am integrating MDD solutions, whenever I get enough time for it. That means, we are looking for simpler solutions rather than heavy MDD designs.

I have some questions about this setting.

One problem is about forward-reverse engineering.

We first model onshore, generate the code and ship to offshore. The offshore can edit and change the code whenever necessary to get rid of some diesgn deffects or unforeseen parts.

While some technical designers are modeling the usecases (lets say usecase1), others are developing/modefiying some component (c12) for usecase2.

If that compoenent was used for the design of usecase1, the technical design of usecase1 is not fully valid anymore (because the component c1 is not aup to date.)
another case could be that the developers are modifying a component through code, where the TD's are modifying thorugh the model.

So, my question is:

How do you manage to process of forward and reverse engineering while preventing such conflicts? How do you deal with concurrent usage?

3
General Board / Re: Collections & Associations
« on: June 04, 2012, 09:52:08 pm »
I did type it case sensitive.

However, I was able to encourage the project lead to move to EA 9.2

All issues resolved :)

Thanks for the replies.

4
General Board / Re: Collections & Associations
« on: April 20, 2012, 06:07:57 pm »
Well, all the info in its won help documentation and thought the tool should behave the same way as stated in it's embedded doc.

5
General Board / Collections & Associations
« on: April 16, 2012, 10:51:44 pm »
Hello everyone,

I am working on a Java project in Germany and trying to integrate some MDD to our development process.

We are using EA 7.5 Corporate Edition

The code generation through EA works fine, but I have problems with collections.

I specified the collection type to be Collection<#Type#>.
According to the documentation, it should generate the association using the suitable type. But the tool does not replace the placeholder "#type#".

Any ideas?

Levent



6
General Board / Re: Defining base tools for classes
« on: June 04, 2012, 09:44:18 pm »
Hi again,

I found the workaround for bining expressions. You need to put the paramterized class (to which you bind your other classes) to the template diagram (not create just put a drag&drop a link to the diagram). Just referencing to it through binding expressions does not help for UML patterns.

Thanks for the replies...

7
General Board / Re: Defining base tools for classes
« on: June 01, 2012, 12:03:56 am »
Hi,

thanks for your advice. MDG looks cool, however I tried yesterday the "UML Pattern" way.

I did define some patterns, which includes the necessary classes for our components. However, I have one problem:

The binding expressions of the classes are not created when the technical designers drag & drop the UML patterns to the class diagram.

For example an interface like:
public interface IWagenRDataAccess extends IReadDataAccess<Wagen>
is modeled in EA through Binding expressions.
After I model the pattern in a class diagram and save it as a pattern, I can see through the preview of the pattern that the bindings are still there. On the otherhand, if someone tries to apply the pattern the bindings disappear.

Is this a bug of EA? Are there any work arounds?

8
General Board / Defining base tools for classes
« on: May 31, 2012, 12:34:13 am »
Hi everyone,

we just upgraded form EA7.5 to 9.2 and I am very happy with the bug fixes.

I now have one question:

We have a Java application with strict types of components with predefined interfaces.

For example every component in business layer needs to be annotated with @Service such as:

@Service
public class MyBusinessBean {}

I want to specify some class templates, which the technical designers would use (through drag&drop) to model such components.

For example they would select the element BusinessBean and drag&drop to the class diagram and the stereotype would be there automatically.

Is there a convenient&easy way to sepcify such customized tools for modeling in EA?

Thanks in advance,

Levent




9
General Board / Re: Problems with Java Code Generation
« on: April 20, 2012, 05:39:25 pm »
Thanks for the answer. I tried it yesterday. As it seems, importing the complete JRE takes a long long time... and I saw some problems at the output. Whatever... Now it works at least.

Thanks again.

10
General Board / Problems with Java Code Generation
« on: April 16, 2012, 11:05:13 pm »
Hello everyone,

I am working on a Java project in Germany and trying to integrate some MDD to our development process.

We are using EA 7.5 Corporate Edition

While doing the design of business entities in EA, I sometimes need to refer to the Java types (such as String's Integer's) of the standard Java library. But those types are not listet to me through the dropdown box.

The packages have language property Java
(Right klick to package-->Properties-->General-->Language=Java)

Do I need to configure something additional for EA to recognize such types? Or is this version of EA just a little buggy for Java development.

Levent


Pages: [1]